mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-22 01:46:51 +01:00
generic page layout, closes #6
This commit is contained in:
parent
00b9bdfc86
commit
d6e6d31501
22
_src/_layouts/page.html
Normal file
22
_src/_layouts/page.html
Normal 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>
|
Loading…
Reference in New Issue
Block a user