Tags are now functional again
This commit is contained in:
parent
a4690553b8
commit
ae9c35dfe6
4 changed files with 17 additions and 4 deletions
|
@ -35,3 +35,6 @@ html, body {
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.link-muted {
|
||||||
|
color: #6c757d;
|
||||||
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<p class="text-muted">
|
<p class="text-muted">
|
||||||
Tags:
|
Tags:
|
||||||
{% for tag in post.tags %}
|
{% for tag in post.tags %}
|
||||||
{{tag.name}}{% if not forloop.last %}, {% endif %}
|
<a class="link-muted" href="{{tag.uri}}">{{tag.name}}</a>{% if not forloop.last %}, {% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
<div id="posts-by-tag">
|
||||||
|
<div id="page-header">
|
||||||
|
<h1>Posts Tagged "{{name}}"</h1>
|
||||||
|
</div>
|
||||||
|
<ul>
|
||||||
|
{% for post in posts %}
|
||||||
|
<li>
|
||||||
|
<a href="{{post.uri}}">{{post.title}}</a>
|
||||||
|
</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</div>
|
|
@ -1,7 +1,5 @@
|
||||||
{% extends "/html/page-three-column.html" %}
|
{% extends "/html/page-three-column.html" %}
|
||||||
|
|
||||||
{% block center %}
|
{% block center %}
|
||||||
{% with tags=posts %}
|
{% include "/html/includes/tagged-posts.inc" %}
|
||||||
{% include "/html/includes/post-tags.inc" %}
|
|
||||||
{% endwith %}
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue