From 6ac2fc6523a8038c2b7acd268d047c3e33f5939578c1ff2e7fbdd526ba422335 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Thu, 6 Feb 2025 00:00:00 +0000 Subject: Add non-breaking spaces to improve text flow The spaces directly following emojis must be non-breaking because having emojis alone on their own line is ugly and visually confusing. The spaces within pageinfo "segments" must be non-breaking because splitting dates and read times across multiple lines is ugly and visually confusing. --- layouts/term/term.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts/term/term.html') diff --git a/layouts/term/term.html b/layouts/term/term.html index 33d5347..78e5542 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:" }} {{ i18n "atomFeed" }}

+

{{ emojify ":link:" }} {{ i18n "atomFeed" }}

{{ i18n "journalEntries" }}

{{- range .Data.Pages.ByPublishDate.Reverse }} {{ partial "metadata.html" . -}} -- cgit v1.2.3