1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-23 01:30:01 +01:00

generic page layout, closes #6

This commit is contained in:
Matthias Kretschmann 2013-12-04 23:09:15 +01:00
parent 00b9bdfc86
commit d6e6d31501

22
_src/_layouts/page.html Normal file
View File

@ -0,0 +1,22 @@
---
layout: base
---
<section role="main" id="main" class="page-single row">
<article class="hentry format-page">
<header>
<h1 class="entry-title">{{ page.title | titlecase }}</h1>
</header>
<section class="entry-content">
{% if page.image %}
{% picture {{ page.image }} class="teaser" %}
{% endif %}
{{ content | condense_spaces }}
</section>
</article>
</section>