diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/baseof.html | 3 | ||||
-rw-r--r-- | layouts/shortcodes/img-c.html | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 83ef4a63..f92b8b92 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -31,7 +31,8 @@ <meta name="twitter:description" content="{{ .Params.Abstract | default .Site.Params.DefaultDescription}}" > <link rel="canonical" href="{{ .Permalink }}"> - <link rel='alternate' type='application/rss+xml' title="{{ .Site.Title }} RSS" href='/index.xml'> + <link rel='alternate' type='application/rss+xml' title="Feed with all changes" href='/index.xml'> + <link rel='alternate' type='application/rss+xml' title="Feed with Emacs changes" href='/emacs/rss.xml'> <meta name="robots" content="index, follow"> {{ if isset .Params "tags" }}<meta name="keywords" content="{{ with .Params.tags }}{{ delimit . ", " }}{{ end }}">{{end}} <link rel="me" href="https://emacs.ch/@mms"> diff --git a/layouts/shortcodes/img-c.html b/layouts/shortcodes/img-c.html index 641f5bd5..3da2c5ce 100644 --- a/layouts/shortcodes/img-c.html +++ b/layouts/shortcodes/img-c.html @@ -3,11 +3,12 @@ {{- $img := resources.Get $path }} {{- $caption := .Inner }} {{- $source := .Get 1 }} +{{- $imgclass := .Get 2 }} {{- $img1x := $img.Resize "800x webp q90"}} {{- $img2x := $img.Resize "1600x webp q90"}} <figure> <img - class="center" + class="center {{ $imgclass }}" alt="{{ $caption }}" src="{{ $img1x.RelPermalink }}" srcset=" |