feat(11ty): add page layout

This commit is contained in:
Oscar
2019-11-17 22:25:36 +01:00
parent fdc49636e3
commit b615a4c11e
3 changed files with 35 additions and 2 deletions

View File

@ -0,0 +1,14 @@
{% extends 'layouts/base.njk' %}
{% set pageType = 'Page' %}
{% block content %}
<div class="small-left-grid">
<div id="title">
<a href="/">Self-Defined</a>
<p>A modern dictionary about us.<br>We define our words, but they don't define us.</p>
</div>
<main class="page">
<h1 class="title__thicc" >{{ title }}</h1>
{{ content | safe }}
</main>
{% endblock %}