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/27 13:29:08 UTC
[7/7] sling-site git commit: Re-add missing page title
Re-add missing page title
Project: http://git-wip-us.apache.org/repos/asf/sling-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/sling-site/commit/7d36f88d
Tree: http://git-wip-us.apache.org/repos/asf/sling-site/tree/7d36f88d
Diff: http://git-wip-us.apache.org/repos/asf/sling-site/diff/7d36f88d
Branch: refs/heads/master
Commit: 7d36f88d615e308ba05223be78575dab446a92af
Parents: 9d83c2b
Author: Bertrand Delacretaz <bd...@apache.org>
Authored: Tue Jun 27 15:28:49 2017 +0200
Committer: Bertrand Delacretaz <bd...@apache.org>
Committed: Tue Jun 27 15:28:49 2017 +0200
----------------------------------------------------------------------
templates/layout/main.tpl | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/sling-site/blob/7d36f88d/templates/layout/main.tpl
----------------------------------------------------------------------
diff --git a/templates/layout/main.tpl b/templates/layout/main.tpl
index cefdfb2..15df161 100644
--- a/templates/layout/main.tpl
+++ b/templates/layout/main.tpl
@@ -8,6 +8,9 @@ html(lang:'en'){
include template: 'menu.tpl'
div(class:"main") {
+ h1 {
+ yield content.title
+ }
bodyContents()
newLine()