the-internet-vagabond-dot-com/_includes/topics.html
Bill Niblock b0d333c3b9 Impmenent tagging
By creating a collection of "topics", I can suppliment a tagging system,
albeit less automated. However, in the interest of minimizing "tag
bloat", I feel having a limited number of tags (topics) is not a
problem.
2018-01-12 22:49:57 -05:00

16 lines
557 B
HTML

{% for post in site.posts %}
{% if post.topics contains page.title %}
<div id="posts">
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
<div class="" id="details">
<div class="" id="date">{{ post.pub }}</div>
<div class="" id="tags">
{% for topic in post.topics %}
<a href="/topics/{{topic}}.html">{{topic}}</a>
{% endfor %}
</div>
</div>
<div id="desc">{{ post.short_desc }}</div>
</div>
{% endif %}
{% endfor %}