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
+1 -1
View File
@@ -2,7 +2,7 @@
style="text-decoration: none;">
<div class="logo">
{{- if .Site.Params.Logo.path }}
<img src="{{ .Site.Params.Logo.path }}" alt="{{ .Site.Params.Logo.alt }}" />
{{- partial "image.html" (dict "path" .Site.Params.Logo.path "alt" .Site.Params.Logo.alt) }}
{{- else }}
<span class="logo__mark">></span>
<span class="logo__text">{{- with .Site.Params.Logo.logoText }}{{ . }}{{ else }}$ cd /home/{{ end }}<span