diff options
author | Yann Herklotz <git@yannherklotz.com> | 2023-05-12 15:26:18 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2023-05-12 15:26:18 +0100 |
commit | 91c696fc52ffb1eeb894328c722ba4473c8027c1 (patch) | |
tree | acad0a25bbbfc198aab3f0f7a7068471d26c7756 /layouts/shortcodes/transclude-1.html | |
parent | fbca1f08c0de7413519931e134ee0ef48f408ade (diff) | |
download | zk-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.html | 2 |
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> |