summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-03-09 20:56:11 +0100
committermms <michal@sapka.me>2024-03-09 20:59:15 +0100
commit6fbc82b77e5de58d60d13ce6e5f0aef433caf9a4 (patch)
tree6247698f41450afa4a2deca80d274af566ac8a37 /layouts/_default
parent26103a8b78ec7f8e882bbf435571e640b6da26db (diff)
feat: remove relative images from shortcode images
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html11
1 files changed, 6 insertions, 5 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index fb77bf2..d7d6af6 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -33,6 +33,7 @@
<link rel="canonical" href="{{ .Permalink }}">
<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'>
+ <link rel='alternate' type='application/rss+xml' title="Feed with BSD changes" href='/bsd/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">
@@ -63,19 +64,19 @@
<div class="logo">
{{ if in .Page.Params.categories "bsd" }}
{{ $logo := resources.Get "logos/logo-beastie-white.svg"}}
- <img src="{{$logo.RelPermalink}}" class="beastie">
+ <img src="{{$logo.Permalink}}" class="beastie">
{{ else if in .Page.Params.categories "star-trek" }}
{{ $logo := resources.Get "logos/logo-startrek-white.svg" }}
- <img src="{{$logo.RelPermalink}}" class="stbadge">
+ <img src="{{$logo.Permalink}}" class="stbadge">
{{ else if in .Page.Params.categories "blog" }}
{{ $logo := resources.Get "logos/logo-blog-white.svg" }}
- <img src="{{$logo.RelPermalink}}" class="blogicon">
+ <img src="{{$logo.Permalink}}" class="blogicon">
{{ else if in .Page.Params.categories "article" }}
{{ $logo := resources.Get "logos/logo-article-white.svg" }}
- <img src="{{$logo.RelPermalink}}" class="files">
+ <img src="{{$logo.Permalink}}" class="files">
{{ else if in .Page.Params.Categories "emacs" }}
{{ $logo := resources.Get "logos/logo-emacs-white.svg" }}
- <img src="{{$logo.RelPermalink}}" class="emacslogo">
+ <img src="{{$logo.Permalink}}" class="emacslogo">
{{ end }}
</div>