diff options
author | uPagge <upagge@mail.ru> | 2021-01-06 19:58:46 +0300 |
---|---|---|
committer | uPagge <upagge@mail.ru> | 2021-01-06 19:58:46 +0300 |
commit | 3f35708561c2e7b98015df8f94aaafca581379fa (patch) | |
tree | f75dcedb6cef851e4538430c67e666c3f1636718 /layouts/partials | |
parent | c9e67ce7fd977558b13605b51f30b313110ca999 (diff) |
add split and block-media-1
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/footer.html | 2 | ||||
-rw-r--r-- | layouts/partials/plugin/image.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 73c282b..a007737 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -12,7 +12,7 @@ {{- if ne .Site.Params.footer.hugo false -}} <div class="footer-line"> {{- $hugo := printf `<a href="https://gohugo.io/" target="_blank" rel="noopener noreffer" title="Hugo %v">Hugo</a>` hugo.Version -}} - {{- $theme := .Scratch.Get "version" | printf `<a href="https://github.com/upagge/uBlogger" target="_blank" rel="noopener noreffer" title="uBlogger %v"><i class="far fa-kiss-wink-heart fa-fw"></i> uBlogger</a>` -}} + {{- $theme := .Scratch.Get "version" | printf `<a href="https://github.com/upagge/uBlogger" target="_blank" rel="noopener noreffer" title="uBlogger %v"><i class="fas fa-pencil-alt fa-fw"></i> uBlogger</a>` -}} {{- dict "Hugo" $hugo "Theme" $theme | T "poweredBySome" | safeHTML }} </div> {{- end -}} diff --git a/layouts/partials/plugin/image.html b/layouts/partials/plugin/image.html index 59f024a..60b1d67 100644 --- a/layouts/partials/plugin/image.html +++ b/layouts/partials/plugin/image.html @@ -23,7 +23,7 @@ class="lazyload{{ with .Class }} {{ . }}{{ end }}" src="{{ $loading.RelPermalink }}" data-src="{{ .Src | safeURL }}" - data-srcset="{{ $small | safeURL }}, {{ .Src | safeURL }} 1.5x, {{ $large | safeURL }} 2x" + data-srcset="{{ $small | safeURL }}, {{ .Src | safeURL }} 1.5x, {{ $large | safeURL }} 1.6x" data-sizes="auto" alt="{{ $alt }}"{{ with .Height }} height="{{ . }}"{{ end }}{{ with .Width }} width="{{ . }}"{{ end }} /> </a> @@ -32,7 +32,7 @@ class="lazyload{{ with .Class }} {{ . }}{{ end }}" src="{{ $loading.RelPermalink }}" data-src="{{ .Src | safeURL }}" - data-srcset="{{ $small | safeURL }}, {{ .Src | safeURL }} 1.5x, {{ $large | safeURL }} 2x" + data-srcset="{{ $small | safeURL }}, {{ .Src | safeURL }} 1.5x, {{ $large | safeURL }} 1.6x" data-sizes="auto" alt="{{ $alt }}" title="{{ .Title | default $alt }}"{{ with .Height }} height="{{ . }}"{{ end }}{{ with .Width }} width="{{ . }}"{{ end }} /> |