From b5504afc21e0c67ee85a5ebadd772e8bd0272897 Mon Sep 17 00:00:00 2001 From: sowgro Date: Mon, 11 Nov 2024 12:05:32 -0500 Subject: Create grid layout --- templates/directory.html.twig | 12 ++++++++++-- templates/grid.html.twig | 37 +++++++++++++++++++++++++++++++++++++ templates/partials/list.html.twig | 9 --------- 3 files changed, 47 insertions(+), 11 deletions(-) create mode 100644 templates/grid.html.twig delete mode 100644 templates/partials/list.html.twig diff --git a/templates/directory.html.twig b/templates/directory.html.twig index 6903f08..9cd1372 100644 --- a/templates/directory.html.twig +++ b/templates/directory.html.twig @@ -1,6 +1,6 @@ {% do assets.addCss('theme://css/website.css', 100) %} - + @@ -15,7 +15,15 @@
{{ page.content|raw }} - {% include 'partials/list.html.twig' %} + {% include 'partials/navigation.html.twig' %}
diff --git a/templates/grid.html.twig b/templates/grid.html.twig new file mode 100644 index 0000000..05c1122 --- /dev/null +++ b/templates/grid.html.twig @@ -0,0 +1,37 @@ + +{% do assets.addCss('theme://css/website.css', 100) %} + + + + + + + {{ assets.css()|raw }} + {{ assets.js()|raw }} + {{ header.title|e }} - {{site.title|e}} + + + {% include 'partials/header.html.twig' %} +
+
+ {{ page.content|raw }} + + {% include 'partials/navigation.html.twig' %} +
+
+ + + \ No newline at end of file diff --git a/templates/partials/list.html.twig b/templates/partials/list.html.twig deleted file mode 100644 index eb2f485..0000000 --- a/templates/partials/list.html.twig +++ /dev/null @@ -1,9 +0,0 @@ - -- cgit v1.2.3