summaryrefslogtreecommitdiff
path: root/templates/grid.html.twig
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2024-11-11 12:31:12 -0500
committersowgro <tpoke.ferrari@gmail.com>2024-11-11 12:31:12 -0500
commit74a20e3b409ed625e74a838d418890fc5f6d0533 (patch)
tree0913fb9ece104088e654dcbcfc984eda8b790eeb /templates/grid.html.twig
parentedbe7404cbc33f36816aab77cecaafd30b96c2e2 (diff)
downloadgrav-sowtheme-74a20e3b409ed625e74a838d418890fc5f6d0533.tar.gz
grav-sowtheme-74a20e3b409ed625e74a838d418890fc5f6d0533.tar.bz2
grav-sowtheme-74a20e3b409ed625e74a838d418890fc5f6d0533.zip
update grid
Diffstat (limited to '')
-rw-r--r--templates/grid.html.twig12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/grid.html.twig b/templates/grid.html.twig
index 9ead8f6..8f279b8 100644
--- a/templates/grid.html.twig
+++ b/templates/grid.html.twig
@@ -17,14 +17,14 @@
{{ page.content|raw }}
<div class="grid">
{% for current_page in page.children %}
- <div>
- <a href="{{ current_page.url|e }}">
- <div>
+ <a href="{{ current_page.url|e }}">
+ <div>
+ <div class="proj-thumb">
{{ current_page.media.images|first|raw }}
- {{ current_page.title|e }}
</div>
- </a>
- </div>
+ {{ current_page.title|e }}
+ </div>
+ </a>
{% endfor %}
</div>
{% include 'partials/navigation.html.twig' %}