From 2263cdb0fa5664393f192d872c1d1f6196c6d684 Mon Sep 17 00:00:00 2001 From: Victoria Drake Date: Sun, 31 May 2020 14:12:41 -0400 Subject: Markdownify post titles --- layouts/partials/nav.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'layouts/partials/nav.html') diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index 9f8c722..ec6cf57 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -56,7 +56,7 @@ {{ if eq (os.Stat .File.Dir).Name "projects" }} {{ if $isHome }} - {{ .Title }} + {{ .Title | markdownify }} {{ else }} {{ $pageIsInProjects := eq $.Page.Section "project"}} {{ if not (and $pageIsInProjects (eq $.Page.Kind "section")) }} @@ -72,7 +72,7 @@ {{ else if eq (os.Stat .File.Dir).Name "blog" }} {{ if $isHome }} - {{ .Title }} + {{ .Title | markdownify }} {{ else }} {{ $pageIsInBlog := eq $.Page.Section "blog"}} {{ if not (and $pageIsInBlog (eq $.Page.Kind "section")) }} @@ -86,7 +86,7 @@ {{ end }} {{ end }} {{ else }} - {{ .Title }} + {{ .Title | markdownify }} {{ end }} {{ end }} {{ end }} @@ -94,7 +94,7 @@ {{ with .Site.GetPage "/home" }} {{ with .Resources.GetMatch "contact.md" }} - {{ .Title }} + {{ .Title | markdownify }} {{ end }} {{ end }} -- cgit v1.2.3