diff --git a/content/u/blog/how-to-sneak-in-a-static-cms/contents.lr b/content/u/blog/how-to-sneak-in-a-static-cms/contents.lr index c3448b1..ab190e2 100644 --- a/content/u/blog/how-to-sneak-in-a-static-cms/contents.lr +++ b/content/u/blog/how-to-sneak-in-a-static-cms/contents.lr @@ -4,6 +4,14 @@ pub_date: 2019-09-24 --- 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: ## Introduction diff --git a/models/blog-post.ini b/models/blog-post.ini index edccc34..45240da 100644 --- a/models/blog-post.ini +++ b/models/blog-post.ini @@ -27,3 +27,7 @@ width = 1/4 [fields.body] label = Body type = markdown + +[fields.abstract] +label = Abstract +type = markdown diff --git a/templates/macros/blog.html b/templates/macros/blog.html index d345b90..a3c5410 100644 --- a/templates/macros/blog.html +++ b/templates/macros/blog.html @@ -15,6 +15,6 @@ {% endif %} on {{ post.pub_date }}

- {{ post.body }} + {{ post.abstract }} {% endmacro %}