From 085bd484099d1c580739c55d3d67c7044752bdd0 Mon Sep 17 00:00:00 2001 From: Aaron Traas Date: Sat, 27 Apr 2024 11:06:44 -0400 Subject: [PATCH] Modularizing index --- _includes/site_index.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 _includes/site_index.html diff --git a/_includes/site_index.html b/_includes/site_index.html new file mode 100644 index 0000000..d991b63 --- /dev/null +++ b/_includes/site_index.html @@ -0,0 +1,18 @@ +{% assign sections = 'Recipes,Adult Beverages,Tobacco' | split: ',' %} +{% for section_name in sections %} + {% assign section_dir = section_name | replace: ' ', '%20' %} +

{{section_name}}

+ +{% endfor %}