2022-01-24 17:36:50 +00:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
|
|
|
|
{% block title %}
|
2022-09-14 17:33:05 +00:00
|
|
|
{{ section.title }} | {{ config.title }}
|
2022-01-24 17:36:50 +00:00
|
|
|
{% endblock title %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<section class="section">
|
2022-02-02 12:16:01 +00:00
|
|
|
<div class="container max-w-7xl mx-auto min-h-screen">
|
2022-01-24 17:36:50 +00:00
|
|
|
<div class="flex flex-col items-center flex-start space-y-2 py-8">
|
2023-05-23 15:08:08 +00:00
|
|
|
<h1 class="title leading-10 text-3xl text-aerogramme-gray">{{ section.title }}</h1>
|
2022-01-24 17:36:50 +00:00
|
|
|
<p class="italic">{{ section.description }}</p>
|
|
|
|
</div>
|
|
|
|
<div class="content">
|
|
|
|
{{ section.content | safe }}
|
|
|
|
</div>
|
2022-01-29 13:42:09 +00:00
|
|
|
<div class="px-0 md:px-8 xl:px-4 2xl:px-0">
|
2022-01-24 17:36:50 +00:00
|
|
|
<div class="space-y-20">
|
|
|
|
{% if paginator %}
|
|
|
|
{% set pages = paginator.pages %}
|
|
|
|
{% else %}
|
|
|
|
{% set pages = section.pages %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% for page in pages %}
|
2023-05-23 15:08:08 +00:00
|
|
|
<article class="border-l-4 border-aerogramme-gray pl-4 max-w-5xl">
|
|
|
|
<h2 class="text-aerogramme-gray hover:text-aerogramme-blue text-2xl pb-3">
|
2022-01-24 17:36:50 +00:00
|
|
|
<a class="w-full block" href='{{ page.permalink }}'>
|
|
|
|
{{ page.title }}
|
|
|
|
</a>
|
|
|
|
</h2>
|
|
|
|
{% if page.description %}
|
|
|
|
<p class="w-max italic text-gray-600 py-0.5 px-1.5 bg-gray-100 rounded mb-1">{{ page.description }}</p>
|
|
|
|
{% endif %}
|
2023-05-23 15:08:08 +00:00
|
|
|
<div class="flex space-x-1 text-sm py-2 bg-aerogramme-blue bg-opacity-10 w-full p-1.5 rounded">
|
2022-02-01 16:17:01 +00:00
|
|
|
<div>
|
2022-01-24 17:36:50 +00:00
|
|
|
{{ macros::page_publish_metadata(page=page) }}
|
|
|
|
</div>
|
2022-02-01 16:17:01 +00:00
|
|
|
<div>
|
2022-01-24 17:36:50 +00:00
|
|
|
{{ macros::page_content_metadata(page=page) }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="content mt-2">
|
2022-02-01 16:28:57 +00:00
|
|
|
<div class="text-gray-700 text-lg not-italic">
|
2022-09-28 13:31:22 +00:00
|
|
|
{{ page.summary | striptags | safe }}
|
2022-01-29 13:42:09 +00:00
|
|
|
</div>
|
2023-05-23 15:08:08 +00:00
|
|
|
<a class="group font-semibold p-4 flex items-center space-x-1 text-aerogramme-blue" href='{{ page.permalink }}'>
|
|
|
|
<div class="h-0.5 mt-0.5 w-4 group-hover:w-8 group-hover:bg-aerogramme-gray transition-all bg-aerogramme-blue"></div>
|
2022-01-24 17:36:50 +00:00
|
|
|
<span>Read</span>
|
2023-05-23 15:08:08 +00:00
|
|
|
<span class="text-aerogramme-blue group-hover:text-aerogramme-gray transition-all">
|
2022-01-24 17:36:50 +00:00
|
|
|
<i class="fas fa-arrow-right fa-xs"></i>
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
2022-02-01 16:17:01 +00:00
|
|
|
<div>
|
|
|
|
<div>
|
2022-01-24 17:36:50 +00:00
|
|
|
{% if page.taxonomies.categories %}
|
|
|
|
{{ macros::render_categories(categories=page.taxonomies.categories) }}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2022-02-01 16:17:01 +00:00
|
|
|
<div>
|
2022-01-24 17:36:50 +00:00
|
|
|
{% if page.taxonomies.tags %}
|
|
|
|
{{ macros::render_tags(tags=page.taxonomies.tags) }}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
{% endblock %}
|