We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8e4ec3 commit 3124b63Copy full SHA for 3124b63
1 file changed
_layouts/post.html
@@ -16,12 +16,11 @@ <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}
16
{%- if page.author -%}
17
• <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ page.author }} </span></span>
18
{%- endif -%}
19
- {% for category in site.categories %}
+ {% for category in page.categories %}
20
{% if forloop.first %}
21
•
22
{% endif %}
23
- {% assign topic_name = category[0] %}
24
- <a href="/blog/topic/{{ topic_name }}">{{ site.data.strings.topics[topic_name] }}</a>
+ <a href="/blog/topic/{{ category }}">{{ site.data.strings.topics[category] }}</a>
25
{% if forloop.last == false %}
26
|
27
0 commit comments