1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-23 18:03:22 +01:00
blog/_src/_layouts/post.html

41 lines
1.4 KiB
HTML
Raw Normal View History

2013-11-18 01:08:13 +01:00
---
layout: base
2013-11-18 01:08:13 +01:00
---
<article class="hentry format-post">
<header>
<h1 class="entry-title">{{ page.title }}</h1>
</header>
<section class="entry-content">
2013-11-18 23:54:59 +01:00
{% if page.image %}
2013-11-22 00:35:07 +01:00
<span class="teaser" data-picture data-alt="">
<span data-src="/media/320/{{ post.image }}"></span>
<span data-src="/media/640/{{ post.image }}" data-media="(min-device-pixel-ratio: 1.5)"></span>
<span data-src="/media/640/{{ post.image }}" data-media="(min-width: 500px)"></span>
<span data-src="/media/1280/{{ post.image }}" data-media="(min-width: 640px) and (min-device-pixel-ratio: 2.0)"></span>
<noscript>
<img src="/media/{{ post.image }}">
</noscript>
</span>
2013-11-18 23:54:59 +01:00
{% endif %}
{{ content }}
</section>
<footer class="entry-meta">
2013-11-19 00:47:36 +01:00
<p class="category">
{% for category in page.categories %}
<a rel="category tag" href="" title="{{ category }}">{{ category }}</a>
{% endfor %}
</p>
2013-11-19 00:47:36 +01:00
<p class="byline author vcard source-org"><span class="by">by</span> <a class="fn" rel="author" href="/about/">{{ page.author }}</a></p>
2013-11-19 23:21:19 +01:00
<div class="time">
<p>{{ page.date | date_to_string }}</p>
{% if page.moddate %}
<p class="modtime">updated: {{ page.moddate | date_to_string }}</p>
{% endif %}
</div>
</footer>
</article>