Stopped being an idiot and put .html in the right place

This commit is contained in:
Diego Salazar 2019-03-29 05:50:09 +01:00
parent 174a925b6c
commit 339898fc66

View File

@ -7,7 +7,7 @@ layout: default
{% for post in paginator.posts %}
<li class="post">
<h2><a href="{% if site.baseurl == "/" %}{{ post.url }}{% else %}{{ post.url | prepend: site.baseurl }}{% endif %}">{{ post.title }}.html</a></h2>
<h2><a href="{% if site.baseurl == "/" %}{{ post.url }}{% else %}{{ post.url | prepend: site.baseurl }}{% endif %}.html">{{ post.title }}</a></h2>
<time datetime="{{ post.date | date_to_xmlschema }}" class="by-line">{{ post.date | date_to_string }}</time>
<p>{{ post.excerpt }}</p>
</li>