From b15e11ddad9b48d97ce9e28ffb33e9dda3edf762 Mon Sep 17 00:00:00 2001 From: Justin Tallant Date: Mon, 17 Jun 2024 23:48:24 -0600 Subject: [PATCH] provide articles template --- config/skimpy.php | 2 +- site/templates/articles.twig | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 site/templates/articles.twig diff --git a/config/skimpy.php b/config/skimpy.php index 4e620ac..84379cb 100644 --- a/config/skimpy.php +++ b/config/skimpy.php @@ -37,7 +37,7 @@ 'seotitle' => 'Home', ], 'articles' => [ - 'template' => 'index', + 'template' => 'articles', 'limit' => null, 'seotitle' => 'Articles', ] diff --git a/site/templates/articles.twig b/site/templates/articles.twig new file mode 100644 index 0000000..f35a75a --- /dev/null +++ b/site/templates/articles.twig @@ -0,0 +1,11 @@ +{% extends 'layouts/master' %} + +{% block content %} +

Articles

+ + {% for item in entries %} +
+

{{ item.title }}

+
+ {% endfor %} +{% endblock content %} \ No newline at end of file