Skip to content

Commit

Permalink
add tags to post layout
Browse files Browse the repository at this point in the history
  • Loading branch information
travisdowns committed Sep 4, 2021
1 parent d0c7400 commit d6b1b8a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,16 @@ <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}
<span class="p-author h-card" itemprop="name">{{ author }}</span></span>
{%- if forloop.last == false %}, {% endif -%}
{% endfor %}
{%- endif -%}</p>
<!-- travis override -->
{%- endif -%}
{%- if page.tags -%}
<span>
{% for tag in page.tags %}<span class="tag-link"><a href="{{ tag | prepend: 'tags/' | relative_url }}.html">{{ tag }}</a></span>{% endfor %}
</span>
{%- endif -%}
</p>
<!-- end override -->
</header>

<div class="post-content e-content" itemprop="articleBody">
Expand Down

0 comments on commit d6b1b8a

Please sign in to comment.