From 710a65265bc31cb279ffb72f844f60332111fc18 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Tue, 22 Mar 2022 21:18:35 +0000 Subject: [PATCH] Markdownify titles and other single-line content --- layouts/_default/li.html | 4 ++-- layouts/_default/single.html | 6 +++--- layouts/index.html | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/layouts/_default/li.html b/layouts/_default/li.html index 19e0690..b5af0d3 100644 --- a/layouts/_default/li.html +++ b/layouts/_default/li.html @@ -1,5 +1,5 @@
-

{{ .Title }}

-

{{ .Description }}

+

{{ .Title | markdownify }}

+

{{ .Description | markdownify }}

{{ .Date.Format "January 2006" }}

diff --git a/layouts/_default/single.html b/layouts/_default/single.html index fbb00b7..2775b0c 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,11 +1,11 @@ {{ define "main" }}
-

{{ .Title }}

+

{{ .Title | markdownify }}

- {{ .Description }} + {{ .Description | markdownify }}
diff --git a/layouts/index.html b/layouts/index.html index 553d5cf..69c4675 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,5 +1,5 @@ {{ define "main" }} -

{{ .Site.Title }}

+

{{ .Site.Title | markdownify }}

{{ range .Paginator.Pages }} {{ .Render "li" }}