Repository: sling-site Updated Branches: refs/heads/master dfb1cbc16 -> 2c4483ade
Remove unused templates Project: http://git-wip-us.apache.org/repos/asf/sling-site/repo Commit: http://git-wip-us.apache.org/repos/asf/sling-site/commit/2c4483ad Tree: http://git-wip-us.apache.org/repos/asf/sling-site/tree/2c4483ad Diff: http://git-wip-us.apache.org/repos/asf/sling-site/diff/2c4483ad Branch: refs/heads/master Commit: 2c4483adeade5e4d98a9aa3497e50679b29053c8 Parents: dfb1cbc Author: Bertrand Delacretaz <[email protected]> Authored: Mon Oct 2 14:54:59 2017 +0200 Committer: Bertrand Delacretaz <[email protected]> Committed: Mon Oct 2 14:54:59 2017 +0200 ---------------------------------------------------------------------- src/main/jbake/templates/date-brick.tpl | 7 ------- src/main/jbake/templates/post-brick.tpl | 30 ---------------------------- src/main/jbake/templates/post.tpl | 7 ------- src/main/jbake/templates/tags-brick.tpl | 10 ---------- src/main/jbake/templates/toc.tpl | 0 5 files changed, 54 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/sling-site/blob/2c4483ad/src/main/jbake/templates/date-brick.tpl ---------------------------------------------------------------------- diff --git a/src/main/jbake/templates/date-brick.tpl b/src/main/jbake/templates/date-brick.tpl deleted file mode 100644 index eca6a07..0000000 --- a/src/main/jbake/templates/date-brick.tpl +++ /dev/null @@ -1,7 +0,0 @@ -div(class:"termin"){ - div(class:"month","${post.date?.format("MMM")}") - newLine() - div(class:"date","${post.date?.format("dd")}") - newLine() - div(class:"year","${post.date?.format("yyyy")}") -} http://git-wip-us.apache.org/repos/asf/sling-site/blob/2c4483ad/src/main/jbake/templates/post-brick.tpl ---------------------------------------------------------------------- diff --git a/src/main/jbake/templates/post-brick.tpl b/src/main/jbake/templates/post-brick.tpl deleted file mode 100644 index 38d537e..0000000 --- a/src/main/jbake/templates/post-brick.tpl +++ /dev/null @@ -1,30 +0,0 @@ -div(class:"row"){ - div(class:"small-12 middle-12 large-12 columns"){ - article(class:"wrap"){ - header{ - div(class:"row"){ - div(class:"small-3 medium-1 large-1 columns"){ - include template: 'date-brick.tpl' - } - - div(class:"small-9 medium-11 large-11 columns"){ - - div{ - h2{ - a(href:"${config.site_contextPath}${post.uri}","${post.title}") - } - include template: 'tags-brick.tpl' - hr() - } - } - } - } - - div(class:"row"){ - div(class:"small-9 small-offset-3 medium-11 medium-offset-1 large-11 large-offset-1 columns"){ - yieldUnescaped post.body - } - } - } - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/sling-site/blob/2c4483ad/src/main/jbake/templates/post.tpl ---------------------------------------------------------------------- diff --git a/src/main/jbake/templates/post.tpl b/src/main/jbake/templates/post.tpl deleted file mode 100644 index c4b8d09..0000000 --- a/src/main/jbake/templates/post.tpl +++ /dev/null @@ -1,7 +0,0 @@ -model.put("projects",projects) -layout 'layout/main.tpl', true, - bodyContents: contents { - p("TODO this is the post template") - model.put('post', content) - include template: 'post-brick.tpl' - } http://git-wip-us.apache.org/repos/asf/sling-site/blob/2c4483ad/src/main/jbake/templates/tags-brick.tpl ---------------------------------------------------------------------- diff --git a/src/main/jbake/templates/tags-brick.tpl b/src/main/jbake/templates/tags-brick.tpl deleted file mode 100644 index e9bba23..0000000 --- a/src/main/jbake/templates/tags-brick.tpl +++ /dev/null @@ -1,10 +0,0 @@ -p { - def contextPath = "${config.site_contextPath}" - post.tags.each { tag -> - tag = tag.trim() - - span{ - a(href:"${contextPath}tags/${tag.replace(' ','-')}.html", class:"label","${tag}") - } - } -} http://git-wip-us.apache.org/repos/asf/sling-site/blob/2c4483ad/src/main/jbake/templates/toc.tpl ---------------------------------------------------------------------- diff --git a/src/main/jbake/templates/toc.tpl b/src/main/jbake/templates/toc.tpl deleted file mode 100644 index e69de29..0000000
