Fixed blog tag issue

This commit is contained in:
rehrar 2018-02-20 22:17:30 -07:00
parent 8c3def5183
commit da3d667c04
No known key found for this signature in database
GPG key ID: 9B252A4EF355CC8D

View file

@ -23,7 +23,7 @@ layout: custom
<div> <div>
{% if site.tags[tag.slug] %} {% if site.tags[tag.slug] %}
{% for post in site.tags[tag.slug] %} {% for post in site.tags[tag.slug] %}
<h3><a href="{{site.baseurl}}/{{ post.url }}">{{ post.title }}</a></h3> <h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
<p> <p>
{{ post.summary }} {{ post.summary }}
</p> </p>
@ -46,7 +46,7 @@ layout: custom
{% for post in site.posts limit:4 %} {% for post in site.posts limit:4 %}
<div class="row start-xs info-block-row"> <div class="row start-xs info-block-row">
<div class="col"> <div class="col">
<p><a href="{{site.baseurl}}/{{ post.url }}">{{ post.title }}</a></p> <p><a href="{{ post.url }}">{{ post.title }}</a></p>
</div> </div>
</div> </div>
{% endfor %} {% endfor %}
@ -60,7 +60,7 @@ layout: custom
{% for tag in site.data.tags limit:4 %} {% for tag in site.data.tags limit:4 %}
<div class="row start-xs"> <div class="row start-xs">
<div class="col"> <div class="col">
<p><a href="{{site.baseurl}}/blog/tags/{{ tag.slug }}.html">{{ tag.name }}</a></p> <p><a href="/blog/tags/{{ tag.slug }}.html">{{ tag.name }}</a></p>
</div> </div>
</div> </div>
{% endfor %} {% endfor %}