From dccf1b85b3e0e9117fa96019e9046a4915bd38f7 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 20 Jul 2022 18:00:00 +0100 Subject: [PATCH] chore(post): show the post excerpt Show the post excerpt at the top of the post. --- website/source/_layouts/post.html.twig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/source/_layouts/post.html.twig b/website/source/_layouts/post.html.twig index 764e0f5f..8e7a3de7 100644 --- a/website/source/_layouts/post.html.twig +++ b/website/source/_layouts/post.html.twig @@ -16,6 +16,8 @@
+ {{ page.excerpt }} + {% include "post/table-of-contents" with { toc: page.toc } only %} {{ parent() }}