You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by je...@apache.org on 2019/07/24 18:26:03 UTC

[sling-site] branch SLING-8588 updated: SLING-8588 fixed issue with null in title on tag pages

This is an automated email from the ASF dual-hosted git repository.

jeb pushed a commit to branch SLING-8588
in repository https://gitbox.apache.org/repos/asf/sling-site.git


The following commit(s) were added to refs/heads/SLING-8588 by this push:
     new d6272a3  SLING-8588 fixed issue with null in title on tag pages
d6272a3 is described below

commit d6272a37b12035507e3b1dd86542c68a034842df
Author: Jason E Bailey <je...@apache.org>
AuthorDate: Wed Jul 24 14:25:54 2019 -0400

    SLING-8588 fixed issue with null in title on tag pages
---
 src/main/jbake/templates/header.tpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/jbake/templates/header.tpl b/src/main/jbake/templates/header.tpl
index a2bc00f..a876bc2 100644
--- a/src/main/jbake/templates/header.tpl
+++ b/src/main/jbake/templates/header.tpl
@@ -1,6 +1,6 @@
 head {
 	meta("http-equiv":"Content-Type", content:"text/html;charset=UTF-8") newLine()
-	title("${config.blog_title} :: ${content.title}") newLine()
+	title("${config.blog_title} :: ${content.title?:tag}") newLine()
 
 	// For now, try to reproduce the layout of the current website, to be able to compare pages
 	link(rel:"icon", href:"${config.site_contextPath}res/favicon.ico") newLine()