You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2017/10/05 05:18:52 UTC
sling-site git commit: Shorten commit info and move to center of page
Repository: sling-site
Updated Branches:
refs/heads/master 58368bb94 -> bdc316941
Shorten commit info and move to center of page
Project: http://git-wip-us.apache.org/repos/asf/sling-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/sling-site/commit/bdc31694
Tree: http://git-wip-us.apache.org/repos/asf/sling-site/tree/bdc31694
Diff: http://git-wip-us.apache.org/repos/asf/sling-site/diff/bdc31694
Branch: refs/heads/master
Commit: bdc316941ba68632b001334a3da3c106f61e8a04
Parents: 58368bb
Author: Carsten Ziegeler <cz...@adobe.com>
Authored: Thu Oct 5 07:18:48 2017 +0200
Committer: Carsten Ziegeler <cz...@adobe.com>
Committed: Thu Oct 5 07:18:48 2017 +0200
----------------------------------------------------------------------
src/main/jbake/assets/res/css/site.css | 2 +-
src/main/jbake/templates/page.tpl | 6 +-----
2 files changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/sling-site/blob/bdc31694/src/main/jbake/assets/res/css/site.css
----------------------------------------------------------------------
diff --git a/src/main/jbake/assets/res/css/site.css b/src/main/jbake/assets/res/css/site.css
index 85f1c62..fe2b007 100644
--- a/src/main/jbake/assets/res/css/site.css
+++ b/src/main/jbake/assets/res/css/site.css
@@ -317,7 +317,7 @@ pre {
}
.revisionInfo {
- text-align:right;
+ text-align:center;
font-size:80%;
font-style:italic;
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/sling-site/blob/bdc31694/src/main/jbake/templates/page.tpl
----------------------------------------------------------------------
diff --git a/src/main/jbake/templates/page.tpl b/src/main/jbake/templates/page.tpl
index 5093121..bffb6d6 100644
--- a/src/main/jbake/templates/page.tpl
+++ b/src/main/jbake/templates/page.tpl
@@ -117,10 +117,6 @@ layout 'layout/main.tpl', true,
yield "Last modified by "
span(class:"author") { yield info.author }
yield " on "
- a(href:"${config.sling_lastCommitBaseUrl}${info.lastCommit}") {
- yield info.date
- }
- yield " : "
- span(class:"comment") { yield info.comment }
+ span(class:"comment") { yield info.date }
}
}
\ No newline at end of file