aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2023-08-25 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2023-08-25 00:00:00 +0000
commit50c63674b0d1492eee388cf5e7361e5b81e04f0aac8ce828655b58847044a72f (patch)
tree9958b97154d3d3977bd055c2a7f7175a54450eeffb823c84846cd374878cf917 /layouts/_default
parente6c35a2f628746e2f2242bdcaa06885ef232515a23a80013abb9cafc534eb9c0 (diff)
downloadhugo-theme-journal-50c63674b0d1492eee388cf5e7361e5b81e04f0aac8ce828655b58847044a72f.tar.gz
hugo-theme-journal-50c63674b0d1492eee388cf5e7361e5b81e04f0aac8ce828655b58847044a72f.zip
Remove non-breakable spaces
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/_markup/render-link.html2
-rw-r--r--layouts/_default/single.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html
index 9e7786d..7d86f7a 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:&nbsp;") "" -}}
+{{ $emoji := cond (and (not (.Page.Params.makerefs | default true)) (.Page.Params.showlinkemoji | default true)) (emojify ":link: ") "" -}}
{{ $emoji }}<a class="link" href="{{ .Destination | safeURL }}" rel="noreferrer">{{ .Text | safeHTML }}</a> \ No newline at end of file
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index ec0ccbb..7486597 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,6 +1,6 @@
{{ define "main" -}}
<nav>
- <p>{{ emojify ":link:" | safeHTML }}&nbsp;<a class="link" href="{{ .Site.Home.RelPermalink }}" rel="noreferrer">{{ i18n "returnHome" }}</a></p>
+ <p>{{ emojify ":link:" | safeHTML }} <a class="link" href="{{ .Site.Home.RelPermalink }}" rel="noreferrer">{{ i18n "returnHome" }}</a></p>
</nav>
{{- if (.Page.Params.pageinfo | default true) }}
<p>{{ partial "pageinfo.html" . }}</p>{{ end }}