zola update

This commit is contained in:
timurgordon
2023-02-03 10:14:41 +03:00
parent d32614a01e
commit 9f0a7895ff
96 changed files with 584 additions and 164 deletions

View File

@@ -8,7 +8,7 @@ and a side nav for category and featured post navigation
{% block content %}
<main>
<main class="pt-12">
<!--sets global featured variable as the most recent post with the isFeatured tag-->
{%- set section = get_section(path="blog/_index.md") %}
@@ -17,11 +17,14 @@ and a side nav for category and featured post navigation
{%- set_global featured = page %}
{% break %}
{% endif %}
{% if not featured %}
{%- set_global featured = section.pages[0] %}
{% endif %}
{% endfor %}
{% include "partials/featuredBlog.html" %}
<div class="flex flex-col md:flex-row">
<div class="flex flex-col md:flex-row container mx-auto">
{% include "partials/blogPosts.html" %}
{% include "partials/blogSidebar.html" %}
</div>