From e525bc32a766881fe869d7ac90c8ba1c18d42318 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Mon, 24 Dec 2018 13:58:32 -0500 Subject: [PATCH] Use language-specific dash in post titles This closes #1 --- templates/collection-post.tmpl | 6 +++--- templates/post.tmpl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/collection-post.tmpl b/templates/collection-post.tmpl index 818ec98..fe4cee8 100644 --- a/templates/collection-post.tmpl +++ b/templates/collection-post.tmpl @@ -3,14 +3,14 @@ - {{.PlainDisplayTitle}} — {{.Collection.DisplayTitle}} + {{.PlainDisplayTitle}} {{localhtml "title dash" .Language.String}} {{.Collection.DisplayTitle}} - + {{if gt .Views 1}} {{end}} @@ -19,7 +19,7 @@ - + {{if gt (len .Images) 0}}{{else}}{{end}} diff --git a/templates/post.tmpl b/templates/post.tmpl index faecc1b..86b51b9 100644 --- a/templates/post.tmpl +++ b/templates/post.tmpl @@ -3,7 +3,7 @@ - {{if .Title}}{{.Title}}{{else}}{{.GenTitle}}{{end}} — {{.SiteName}} + {{if .Title}}{{.Title}}{{else}}{{.GenTitle}}{{end}} {{localhtml "title dash" .Language}} {{.SiteName}} {{if .IsCode}}