sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject sling-site git commit: Shorten commit info and move to center of page
Date Thu, 05 Oct 2017 05:18:52 GMT
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 <cziegele@adobe.com>
Authored: Thu Oct 5 07:18:48 2017 +0200
Committer: Carsten Ziegeler <cziegele@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


Mime
View raw message