You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2017/06/26 13:56:33 UTC

sling-site git commit: Fix page titles

Repository: sling-site
Updated Branches:
  refs/heads/master acf7a37ae -> 9ce77ea37


Fix page titles


Project: http://git-wip-us.apache.org/repos/asf/sling-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/sling-site/commit/9ce77ea3
Tree: http://git-wip-us.apache.org/repos/asf/sling-site/tree/9ce77ea3
Diff: http://git-wip-us.apache.org/repos/asf/sling-site/diff/9ce77ea3

Branch: refs/heads/master
Commit: 9ce77ea379e64f3ac3df01afef08e75d6304423f
Parents: acf7a37
Author: Bertrand Delacretaz <bd...@apache.org>
Authored: Mon Jun 26 15:56:21 2017 +0200
Committer: Bertrand Delacretaz <bd...@apache.org>
Committed: Mon Jun 26 15:56:21 2017 +0200

----------------------------------------------------------------------
 jbake.properties     | 2 +-
 templates/header.tpl | 2 +-
 templates/page.tpl   | 3 ---
 3 files changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sling-site/blob/9ce77ea3/jbake.properties
----------------------------------------------------------------------
diff --git a/jbake.properties b/jbake.properties
index 35ac780..465018b 100644
--- a/jbake.properties
+++ b/jbake.properties
@@ -2,7 +2,7 @@ feed.id=localhost
 site.host=http://localhost
 site.contextPath=/
 foundation.version=5.5.1
-blog.title=Apache Sling on JBake
+blog.title=Apache Sling
 blog.subtitle=Work in progress...
 render.tags=true
 render.sitemap=true

http://git-wip-us.apache.org/repos/asf/sling-site/blob/9ce77ea3/templates/header.tpl
----------------------------------------------------------------------
diff --git a/templates/header.tpl b/templates/header.tpl
index ef83ffb..dc1dec2 100644
--- a/templates/header.tpl
+++ b/templates/header.tpl
@@ -1,6 +1,6 @@
 head {
 	meta("http-equiv":"Content-Type", content:"text/html;charset=UTF-8") newLine()
-	title("${config.blog_title}") newLine()
+	title("${config.blog_title} :: ${content.title}") 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()

http://git-wip-us.apache.org/repos/asf/sling-site/blob/9ce77ea3/templates/page.tpl
----------------------------------------------------------------------
diff --git a/templates/page.tpl b/templates/page.tpl
index 3cb90cb..838db2f 100644
--- a/templates/page.tpl
+++ b/templates/page.tpl
@@ -5,9 +5,6 @@ layout 'layout/main.tpl', true,
             div(class:"row"){
                 div(class:"small-12 columns"){
                     section(class:"wrap"){
-                        header{
-                            h1("${content.title}")
-                        }
                         yieldUnescaped content.body
                     }
                 }