mirror of
https://github.com/maikka39/Personal-Website.git
synced 2026-10-02 14:46:25 +00:00
Convert all images to webp when possible
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user