diff --git a/source/_partials/pages/blog/read-more.html.twig b/source/_partials/pages/blog/read-more.html.twig deleted file mode 100644 index c8f917d0..00000000 --- a/source/_partials/pages/blog/read-more.html.twig +++ /dev/null @@ -1,4 +0,0 @@ - - Read more - about {{ post.title }} - diff --git a/source/_partials/pages/blog/teaser.html.twig b/source/_partials/pages/blog/teaser.html.twig deleted file mode 100644 index 3945c66b..00000000 --- a/source/_partials/pages/blog/teaser.html.twig +++ /dev/null @@ -1,9 +0,0 @@ -{% if post.summary %} - {{ post.summary|markdown }} - {% include 'pages/blog/read-more' %} -{% elseif post.blocks.excerpt is defined %} - {{ post.blocks.excerpt|markdown }} - {% include 'pages/blog/read-more' %} -{% else %} - {{ post.blocks.content|markdown }} -{% endif %} diff --git a/source/blog.html b/source/blog.html index 0156ae01..5970ce3c 100644 --- a/source/blog.html +++ b/source/blog.html @@ -1,27 +1,28 @@ --- layout: default title: Blog -generator: pagination -pagination: - max_per_page: 10 use: [posts] --- {% block content %} - - {% include 'post-pager' %} {% endblock %} {% block scripts %}