1
Fork 0
blog/_layouts/post.html
Jan-Erik Rediger 27c7600eff Prepend baseurl everywhere.
This allows for easy re-deployment in sub folders
2014-10-20 23:32:23 +02:00

19 lines
398 B
HTML

---
layout: default
---
<div class="post">
<h2 class="heading">
<a href="{{site.baseurl}}{{page.url | replace_first: '/'}}">{{page.title}}</a>
</h2>
{% if page.date %}
<p class="date">
<time pubdate class=published datetime="{{page.date}}">
{{page.date | date: "%-d %B %Y %H:%M"}}
</time>
(by <span rel=author>Jan-Erik</span>)
</p>
{% endif %}
{{content}}
</div>