Skip to content

Commit

Permalink
Fix category links for blog related posts.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-p-randall committed Jul 1, 2024
1 parent c754c93 commit f3bff3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/related-single-categories.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h3><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h3>
{% for category in post.categories %}
<li style="font-size: .9em;">-->
<p>Category:
<a href="{{ category | slugify | prepend: path_type | prepend: site.tag_archive.path | relative_url }}" class="page__taxonomy-item p-category" rel="category">{{ category }}</a><!-- {% unless forloop.last %}<span class="sep">, </span>{% endunless %}-->
<a href="{{ category | slugify | prepend: path_type | prepend: site.category_archive.path | relative_url }}" class="page__taxonomy-item p-category" rel="category">{{ category }}</a><!-- {% unless forloop.last %}<span class="sep">, </span>{% endunless %}-->

</p>
<!--</li>
Expand Down

0 comments on commit f3bff3f

Please sign in to comment.