diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2022-12-08 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2022-12-08 00:00:00 +0000 |
commit | 86023ee91114a45c258a1368a347f38f6a8d06931d6f7588f168a2654d64a557 (patch) | |
tree | ba18b8e37dda53851e55c28525034109f77af66126c7fc1c1c57c840d6e34091 /layouts/_default | |
parent | b919a94098c79ae0e23aceaacc5b0e2974c729425a7126c76270f905a8d6c218 (diff) | |
download | hugo-theme-journal-86023ee91114a45c258a1368a347f38f6a8d06931d6f7588f168a2654d64a557.tar.gz hugo-theme-journal-86023ee91114a45c258a1368a347f38f6a8d06931d6f7588f168a2654d64a557.zip |
Replace emojis with emoji codes
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/single.gmi | 4 | ||||
-rw-r--r-- | layouts/_default/single.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi index 9e2ca9c..e47141e 100644 --- a/layouts/_default/single.gmi +++ b/layouts/_default/single.gmi @@ -1,6 +1,6 @@ {{ define "main" }} -{{ $emoji := cond (.Page.Params.showlinkemoji | default true) "🔗 " "" -}} -=> / 🔗 Return to homepage +{{ $emoji := cond (.Page.Params.showlinkemoji | default true) "{{ emojify ":link:" }} " "" -}} +=> / {{ emojify ":link:" }} Return to homepage {{ if (.Page.Params.pageinfo | default true) }}{{ partial "pageinfo" . }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 14d81f5..07333ea 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,6 +1,6 @@ {{ define "main" -}} <nav> - <p><a class="link" href="/" rel="noreferrer">🔗 Return to homepage</a></p> + <p><a class="link" href="/" rel="noreferrer">{{ emojify ":link:" }} Return to homepage</a></p> </nav> {{- if (.Page.Params.pageinfo | default true) }} <p>{{ partial "pageinfo" . }}</p>{{ end }} |