summaryrefslogtreecommitdiffstats
path: root/layouts/shortcodes/transclude-1.html
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2023-05-12 15:26:18 +0100
committerYann Herklotz <git@yannherklotz.com>2023-05-12 15:26:18 +0100
commit91c696fc52ffb1eeb894328c722ba4473c8027c1 (patch)
treeacad0a25bbbfc198aab3f0f7a7068471d26c7756 /layouts/shortcodes/transclude-1.html
parentfbca1f08c0de7413519931e134ee0ef48f408ade (diff)
downloadzk-web-91c696fc52ffb1eeb894328c722ba4473c8027c1.tar.gz
zk-web-91c696fc52ffb1eeb894328c722ba4473c8027c1.zip
Update themes and add content
Diffstat (limited to 'layouts/shortcodes/transclude-1.html')
-rw-r--r--layouts/shortcodes/transclude-1.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/transclude-1.html b/layouts/shortcodes/transclude-1.html
index 80a24da..cfc6a86 100644
--- a/layouts/shortcodes/transclude-1.html
+++ b/layouts/shortcodes/transclude-1.html
@@ -1,4 +1,4 @@
<div class="transclude-1">
- <h2><a class="transclude-link" href="/zettel/{{ .Get "zettel" }}">{{ .Get "zettel" }}: {{ with ($.Site.GetPage (printf "/zettel/%s" (.Get "zettel"))) }}{{ .Title | markdownify }}{{ end }}</a></h2>
+ {{ with ($.Site.GetPage (printf "/zettel/%s" (.Get "zettel"))) }}<h2>{{ .Title | markdownify }}<a class="transclude-link" href="{{ .RelPermalink }}"> [#{{ .Params.zettelid }}]</a></h2>{{ end }}
{{ .Inner | markdownify }}
</div>