From fc0d5c23c970e933bbdfef23172821b2356441cd Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sun, 7 Jun 2015 22:53:01 +0200 Subject: [PATCH] show tags under posts --- _src/_assets/styl/content.styl | 14 ++++++++++++-- _src/_includes/entry_meta.html | 6 ++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/_src/_assets/styl/content.styl b/_src/_assets/styl/content.styl index 097bab2f..2f1d1861 100644 --- a/_src/_assets/styl/content.styl +++ b/_src/_assets/styl/content.styl @@ -81,7 +81,7 @@ .byline, time, -.categories +.tags @extend .textcenter .byline, @@ -99,9 +99,19 @@ time display: block color: $text-color-dimmed -.categories +.tags margin-top: $line-height-computed +.tag + color: $text-color-dimmed + margin-right: 5px + + &:before + content: '#' + color: darken($page-bg, 15%) + margin-right: 2px + + .avatar width: 80px height: 80px diff --git a/_src/_includes/entry_meta.html b/_src/_includes/entry_meta.html index 477293be..f80e577a 100644 --- a/_src/_includes/entry_meta.html +++ b/_src/_includes/entry_meta.html @@ -15,4 +15,10 @@ {% endif %} +

+ {% for tag in page.tags %} + {{ tag }} + {% endfor %} +

+