This is an automated email from the ASF dual-hosted git repository.

jeb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 2a726d1  minor changes for tags to consolidate design
2a726d1 is described below

commit 2a726d118297dbd46ae1c992c22e8b7f0f79ee85
Author: JE Bailey <[email protected]>
AuthorDate: Fri Feb 1 13:44:54 2019 -0500

    minor changes for tags to consolidate design
---
 src/main/jbake/assets/res/css/site.css | 3 ++-
 src/main/jbake/templates/tags.tpl      | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/main/jbake/assets/res/css/site.css 
b/src/main/jbake/assets/res/css/site.css
index f64786d..1ad1354 100644
--- a/src/main/jbake/assets/res/css/site.css
+++ b/src/main/jbake/assets/res/css/site.css
@@ -308,6 +308,7 @@ pre {
     padding-left: 3px;
     padding-right: 3px;
        margin-left: 3px;
+       display:inline-block;
 }
 
 .pagenav {
@@ -344,6 +345,6 @@ pre {
        text-decoration: none;
 }
 
-.allTagsLink {
+.tags .tag:not(:last-child)  {
     padding-right:0.5em;
 }
\ No newline at end of file
diff --git a/src/main/jbake/templates/tags.tpl 
b/src/main/jbake/templates/tags.tpl
index 9be36d8..a6c764c 100644
--- a/src/main/jbake/templates/tags.tpl
+++ b/src/main/jbake/templates/tags.tpl
@@ -17,8 +17,8 @@ layout 'layout/main.tpl', true,
                 alltags.sort().each { tag ->
                     tag = tag.trim()
                     def count = all_content.findAll { p -> p.tags && 
p.tags.contains(tag) }.size()
-                    span(class:"allTagsLink") {
-                        a(href:"${config.site_contextPath}tags/${tag.replace(' 
', '-')}.html", class:"label"){
+                    span(class:"tag") {
+                        a(href:"${config.site_contextPath}tags/${tag.replace(' 
', '-')}.html"){
                             yield "$tag"
                             span(class:"badge","${count}")
                         }

Reply via email to