Convert all images to webp when possible

This commit is contained in:
2021-11-08 17:15:15 +01:00
parent 16f049dd09
commit 99c0d62efe
77 changed files with 33 additions and 56 deletions
@@ -23,9 +23,9 @@
<hr />
{{- end }}
{{ with .Params.Cover }}
<img src="/{{ . }}" class="post-cover" />
{{ end }}
{{- with .Params.Cover }}
{{- partial "image.html" (dict "path" . "alt" "" "class" "post-cover") }}
{{- end }}
<div class="post-content">
{{ .Content }}