From 50c63674b0d1492eee388cf5e7361e5b81e04f0aac8ce828655b58847044a72f Mon Sep 17 00:00:00 2001
From: Nicholas Johnson
Date: Fri, 25 Aug 2023 00:00:00 +0000
Subject: Remove non-breakable spaces
---
layouts/_default/_markup/render-link.html | 2 +-
layouts/_default/single.html | 2 +-
layouts/index.html | 2 +-
layouts/partials/metadata.html | 2 +-
layouts/partials/pageinfo.html | 2 +-
layouts/taxonomy/taxonomy.html | 6 +++---
layouts/term/term.html | 4 ++--
7 files changed, 10 insertions(+), 10 deletions(-)
(limited to 'layouts')
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: ") "" -}}
+{{ $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
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" -}}
{{- if (.Page.Params.pageinfo | default true) }}
{{ partial "pageinfo.html" . }}
{{ end }}
diff --git a/layouts/index.html b/layouts/index.html
index 3161c49..870c22b 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -10,7 +10,7 @@
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 @@
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 }} {{ .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 }}{{ $val }}{{ 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 }}{{ $val }}{{ end }}
diff --git a/layouts/taxonomy/taxonomy.html b/layouts/taxonomy/taxonomy.html
index f1b5460..68b4fb5 100644
--- a/layouts/taxonomy/taxonomy.html
+++ b/layouts/taxonomy/taxonomy.html
@@ -1,15 +1,15 @@
{{ define "main" -}}
{{ .Type | humanize }}
{{ i18n "feeds" }}
- {{ emojify ":link:" | safeHTML }} {{ i18n "atomFeed" }}
+ {{ emojify ":link:" | safeHTML }} {{ i18n "atomFeed" }}
{{ i18n "list" }}
diff --git a/layouts/term/term.html b/layouts/term/term.html
index 4841673..f4ff365 100644
--- a/layouts/term/term.html
+++ b/layouts/term/term.html
@@ -1,11 +1,11 @@
{{ define "main" -}}
{{ .Type | singularize | humanize }} "{{ .Title }}"
{{ i18n "feeds" }}
- {{ emojify ":link:" | safeHTML }} {{ i18n "atomFeed" }}
+ {{ emojify ":link:" | safeHTML }} {{ i18n "atomFeed" }}
{{ i18n "journalEntries" }}
{{- range .Data.Pages.ByPublishDate.Reverse }}
{{ partial "metadata.html" . -}}
--
cgit v1.2.3