summaryrefslogtreecommitdiff
path: root/layouts/partials
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/partials
parente6c35a2f628746e2f2242bdcaa06885ef232515a23a80013abb9cafc534eb9c0 (diff)
downloadhugo-theme-journal-50c63674b0d1492eee388cf5e7361e5b81e04f0aac8ce828655b58847044a72f.tar.gz
hugo-theme-journal-50c63674b0d1492eee388cf5e7361e5b81e04f0aac8ce828655b58847044a72f.zip
Remove non-breakable spaces
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/metadata.html2
-rw-r--r--layouts/partials/pageinfo.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html
index a05ff17..ea9712a 100644
--- a/layouts/partials/metadata.html
+++ b/layouts/partials/metadata.html
@@ -1,6 +1,6 @@
<article>
<header>
<p>{{ partial "pageinfo.html" . }}<br>
- {{ emojify ":link:" }}&nbsp;<a class="link" href="{{ .RelPermalink }}" rel="noreferrer">{{ .Title }}</a></p>
+ {{ emojify ":link:" }} <a class="link" href="{{ .RelPermalink }}" rel="noreferrer">{{ .Title }}</a></p>
</header>
</article>
diff --git a/layouts/partials/pageinfo.html b/layouts/partials/pageinfo.html
index ef64ef1..a65136a 100644
--- a/layouts/partials/pageinfo.html
+++ b/layouts/partials/pageinfo.html
@@ -1,2 +1,2 @@
{{ $dateFormat := .Site.Params.dateFormat | default ":date_long" -}}
-{{ emojify ":calendar:" | safeHTML }}&nbsp;{{ .Page.PublishDate | time.Format $dateFormat | safeHTML }} | {{ emojify ":stopwatch:" | safeHTML }}&nbsp;{{ i18n "readingTime" .ReadingTime | safeHTML }}{{ if (.Param (lower (i18n "tags"))) }} | {{ emojify ":label:" | safeHTML }}&nbsp;{{ end }}{{ range $key, $val := (.Param (lower (i18n "tags"))) }}{{ if $key }}, {{ end }}<a class="link" href='{{ relLangURL (lower (i18n "tags")) }}/{{ . | urlize }}' rel="noreferrer">{{ $val }}</a>{{ end }}
+{{ emojify ":calendar:" | safeHTML }} {{ .Page.PublishDate | time.Format $dateFormat | safeHTML }} | {{ emojify ":stopwatch:" | safeHTML }} {{ i18n "readingTime" .ReadingTime | safeHTML }}{{ if (.Param (lower (i18n "tags"))) }} | {{ emojify ":label:" | safeHTML }} {{ end }}{{ range $key, $val := (.Param (lower (i18n "tags"))) }}{{ if $key }}, {{ end }}<a class="link" href='{{ relLangURL (lower (i18n "tags")) }}/{{ . | urlize }}' rel="noreferrer">{{ $val }}</a>{{ end }}