1
0
mirror of https://github.com/kremalicious/blog.git synced 2025-01-09 05:05:52 +01:00

show tags under posts

This commit is contained in:
Matthias Kretschmann 2015-06-07 22:53:01 +02:00
parent 144c9f8ced
commit fc0d5c23c9
2 changed files with 18 additions and 2 deletions

View File

@ -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

View File

@ -15,4 +15,10 @@
<time is="time-ago" class="updated" datetime="{{ page.updated | date_to_xmlschema }}">Updated {{ page.updated | date_to_string }}</time>
{% endif %}
<p class="tags">
{% for tag in page.tags %}
<a class="tag" href="/tag/{{ tag }}">{{ tag }}</a>
{% endfor %}
</p>
</footer>