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:
parent
144c9f8ced
commit
fc0d5c23c9
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user