update dropdown

This commit is contained in:
2025-03-23 23:14:08 +02:00
parent 40c77b20c7
commit b4c5ce2c25
5 changed files with 126 additions and 7 deletions

View File

@@ -13,9 +13,9 @@
<div>
<div class="px-4 py-5 sm:p-6">
<div class="">
{% if section and section.content %}
{% if section is defined and section.content is defined %}
{{ section.content | safe }}
{% elif page and page.content %}
{% elif page is defined and page.content is defined %}
{{ page.content | safe }}
{% else %}
<p>This is a starter template for your Zola site with Tailwind CSS.</p>
@@ -26,8 +26,8 @@
</div>
</div>
{% if section and section.pages %}
<!-- <div class="mt-8 grid gap-6 grid-cols-1 md:grid-cols-2 lg:grid-cols-3">
{% if section is defined and section.pages is defined %}
<div class="mt-8 grid gap-6 grid-cols-1 md:grid-cols-2 lg:grid-cols-3">
{% for page in section.pages %}
<a href="{{ page.permalink }}" class="bg-white overflow-hidden shadow rounded-lg hover:shadow-lg transition-shadow duration-300">
<div class="px-4 py-5 sm:p-6">
@@ -41,6 +41,6 @@
</div>
</a>
{% endfor %}
</div> -->
</div>
{% endif %}
{% endblock %}