From 1f150c43cafe1074b3fe24bf1472a49b8bcf8ff583bdc6f7098e266f6e1e84c9 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Fri, 24 Feb 2023 00:00:00 +0000 Subject: Exclude link emojis from links --- layouts/_default/_markup/render-link.html | 2 +- layouts/_default/single.html | 2 +- layouts/_default/taxonomy.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'layouts/_default') diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index 0db1d0d..9e7786d 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -1,2 +1,2 @@ {{ $emoji := cond (and (not (.Page.Params.makerefs | default true)) (.Page.Params.showlinkemoji | default true)) (emojify ":link: ") "" -}} -{{ $emoji }}{{ .Text | safeHTML }} \ No newline at end of file +{{ $emoji }}{{ .Text | safeHTML }} \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 07333ea..d5e9547 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 }} diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html index 28147b9..f17a06d 100644 --- a/layouts/_default/taxonomy.html +++ b/layouts/_default/taxonomy.html @@ -3,7 +3,7 @@

All {{ .Type }}

-- cgit v1.2.3