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 | ec831d721ed6560322b6c86c4c0393a73c8d7961327bea2a27d6f19da81f4499 (patch) | |
tree | ace27eeb682782b1918ed4e98029617746ffb008b3f737aa0cb384ee328c8004 /layouts/_default/_markup | |
parent | 89889841de646ef690e8cc2c530fa808868cafb6cbbe52ccc1cd618d7abbc972 (diff) | |
download | hugo-theme-journal-ec831d721ed6560322b6c86c4c0393a73c8d7961327bea2a27d6f19da81f4499.tar.gz hugo-theme-journal-ec831d721ed6560322b6c86c4c0393a73c8d7961327bea2a27d6f19da81f4499.zip |
Clarify page variable
Diffstat (limited to 'layouts/_default/_markup')
-rw-r--r-- | layouts/_default/_markup/render-link.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index b62e944..8a0192e 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -1,2 +1,2 @@ -{{ $emoji := cond (.Page.Params.nolinkemoji | default false) "" (emojify ":link: ") -}} +{{ $emoji := cond (.Page.Params.showlinkemoji | default true) (emojify ":link: ") "" -}} <a class="link" href="{{ .Destination | safeURL }}" rel="noreferrer">{{ $emoji }}{{ .Text | safeHTML }}</a> |