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/19 12:31:20 UTC
[36/50] [abbrv] sling-site git commit: Fix page template
Fix page template
Project: http://git-wip-us.apache.org/repos/asf/sling-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/sling-site/commit/d49ac984
Tree: http://git-wip-us.apache.org/repos/asf/sling-site/tree/d49ac984
Diff: http://git-wip-us.apache.org/repos/asf/sling-site/diff/d49ac984
Branch: refs/heads/master
Commit: d49ac98446c0bd6b08c01a17b58d54d8a29a10c1
Parents: 88e8048
Author: Bertrand Delacretaz <bd...@apache.org>
Authored: Wed Jun 14 12:12:17 2017 -0400
Committer: Bertrand Delacretaz <bd...@apache.org>
Committed: Wed Jun 14 12:12:17 2017 -0400
----------------------------------------------------------------------
templates/page.tpl | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/sling-site/blob/d49ac984/templates/page.tpl
----------------------------------------------------------------------
diff --git a/templates/page.tpl b/templates/page.tpl
index 91e9a73..3cb90cb 100644
--- a/templates/page.tpl
+++ b/templates/page.tpl
@@ -6,19 +6,11 @@ layout 'layout/main.tpl', true,
div(class:"small-12 columns"){
section(class:"wrap"){
header{
- h2("${content.title}")
- p("TODO this is the page template")
-
- time(datetime:"${content.date.format('yyyy-MM-dd')}"){
- small("${content.date.format('dd.MM.yyyy')}")
- }
- hr()
+ h1("${content.title}")
}
-
yieldUnescaped content.body
}
}
}
}
-