From 86023ee91114a45c258a1368a347f38f6a8d06931d6f7588f168a2654d64a557 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Thu, 8 Dec 2022 00:00:00 +0000 Subject: Replace emojis with emoji codes --- layouts/_default/single.gmi | 4 ++-- 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" -}} {{- if (.Page.Params.pageinfo | default true) }}

{{ partial "pageinfo" . }}

{{ end }} -- cgit v1.2.3