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