add abstract to blog posts

This commit is contained in:
Nico Schottelius 2019-09-25 00:36:58 +09:00
parent 3e807a47f9
commit 11ac4f2388
3 changed files with 13 additions and 1 deletions

View file

@ -4,6 +4,14 @@ pub_date: 2019-09-24
--- ---
author: Nico Schottelius author: Nico Schottelius
--- ---
twitter_handle: NicoSchottelius
---
abstract:
Let's see how easy it is [to sneak in a static
CMS](https://ungleich.ch/en-us/cms/blog/2019/09/24/sneaking-in-a-static-cms/)
into an existing
dynamic CMS.
---
body: body:
## Introduction ## Introduction

View file

@ -27,3 +27,7 @@ width = 1/4
[fields.body] [fields.body]
label = Body label = Body
type = markdown type = markdown
[fields.abstract]
label = Abstract
type = markdown

View file

@ -15,6 +15,6 @@
{% endif %} {% endif %}
on {{ post.pub_date }} on {{ post.pub_date }}
</p> </p>
{{ post.body }} {{ post.abstract }}
</div> </div>
{% endmacro %} {% endmacro %}