Merge pull request #618 from leonklingele/fix-baseurl-posturl

Fix links by removing slash between site.baseurl and post.url
This commit is contained in:
luigi1111 2018-03-05 13:55:19 -05:00 committed by GitHub
commit 62bfe04669
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -114,7 +114,7 @@
{% for post in site.posts limit:2 %}
<div class="row start-xs">
<div class="col">
<p><a href="{{site.baseurl}}/{{ post.url }}">{{ post.title }}</a></p>
<p><a href="{{site.baseurl}}{{ post.url }}">{{ post.title }}</a></p>
</div>
</div>
{% endfor %}

View file

@ -119,7 +119,7 @@
{% for post in site.posts limit:2 %}
<div class="row start-xs">
<div class="col">
<p><a href="{{site.baseurl}}/{{ post.url }}">{{ post.title }}</a></p>
<p><a href="{{site.baseurl}}{{ post.url }}">{{ post.title }}</a></p>
</div>
</div>
{% endfor %}