Skip to content

Commit

Permalink
fix tag and category links
Browse files Browse the repository at this point in the history
  • Loading branch information
le4ker committed Dec 7, 2024
1 parent 69b58c7 commit e644c3f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ <h6 class="text-center">
.
<a
class="category"
href="/categories/{{ page.category | downcase }}.html"
href="{{site.url}}/categories/{{ page.category | downcase }}.html"
>
{{ page.category }}
</a>
.
<a href="{{ page.url }}#disqus_thread">Comments</a>
<br />
{% for tag in page.tags %}
<a class="tag" href="/tags/{{ tag }}.html">#{{ tag }}</a>
<a class="tag" href="{{site.url}}/tags/{{ tag }}.html">#{{ tag }}</a>
{% endfor %}
</small>
</h6>
Expand All @@ -34,7 +34,8 @@ <h6 class="text-center">
{{ page.content | markdownify }}
</section>

{% include share.html %} {% include comments.html %}
{% include share.html %}
{% include comments.html %}

<hr />

Expand All @@ -56,7 +57,7 @@ <h6 class="text-center">
</div>
</section>

{% include footer.html %}
{% include footer.html %}
{% include js.html %}
</body>
</html>
Expand Down

0 comments on commit e644c3f

Please sign in to comment.