1
0
mirror of https://github.com/kremalicious/blog.git synced 2025-02-14 21:10:25 +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, .byline,
time, time,
.categories .tags
@extend .textcenter @extend .textcenter
.byline, .byline,
@ -99,9 +99,19 @@ time
display: block display: block
color: $text-color-dimmed color: $text-color-dimmed
.categories .tags
margin-top: $line-height-computed margin-top: $line-height-computed
.tag
color: $text-color-dimmed
margin-right: 5px
&:before
content: '#'
color: darken($page-bg, 15%)
margin-right: 2px
.avatar .avatar
width: 80px width: 80px
height: 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> <time is="time-ago" class="updated" datetime="{{ page.updated | date_to_xmlschema }}">Updated {{ page.updated | date_to_string }}</time>
{% endif %} {% endif %}
<p class="tags">
{% for tag in page.tags %}
<a class="tag" href="/tag/{{ tag }}">{{ tag }}</a>
{% endfor %}
</p>
</footer> </footer>