docs: fix headline breaking the layout

This commit is contained in:
Oscar 2019-11-18 21:36:10 +01:00
parent f9d7c96b03
commit 0a2d6bf288
3 changed files with 10 additions and 2 deletions

View File

@ -8,6 +8,11 @@
<p>A modern dictionary about us.<br>We define our words, but they don't define us.</p>
</div>
<main class="page">
{%- if parent -%}
<div>
<a href={{ parent.href }}>{{ parent.title }}</a>
</div>
{% endif %}
<h1 class="title__thicc" >{{ title }}</h1>
{{ content | safe }}
</main>

View File

@ -1,5 +1,8 @@
---
title: Front Matter Documentation
title: Front Matter
parent:
title: Documentation
href: '/documentation'
---
We use Front Matter for a range of things. Of course, we provide basic information through it. But also more advanced stuff (technical term) such as sub terms for items in the table of content or further reading links for the definition.

View File

@ -1,5 +1,5 @@
---
title: Documentation
title: Docs
---
As always, documentation is a work in progress. However, this is what we have so far: