2024-08-18 23:29:54 +00:00
|
|
|
use{% block content %}
|
2024-05-03 20:15:09 +00:00
|
|
|
|
2024-08-18 23:29:54 +00:00
|
|
|
<div class="text-center main-title px-0 lg:w-2/3 mx-8 pt-6 lg:mx-12">
|
|
|
|
<h2
|
|
|
|
class="tracking-tight text-left text-2xl lg:text-3xl fw-500 leading-snug font-semibold mb-10"
|
2024-05-03 20:15:09 +00:00
|
|
|
>
|
|
|
|
{% set path_array = current_path | split(pat="/") %}
|
|
|
|
{% set taxonomy = path_array[1] %}
|
|
|
|
{% set category = path_array[2] %}
|
2024-08-18 23:29:54 +00:00
|
|
|
TF9 Stories and Project Updates
|
2024-05-03 20:15:09 +00:00
|
|
|
{% if taxonomy == "categories" %} -
|
|
|
|
{{category | replace(from='-', to=' ' ) | title}}
|
|
|
|
{% endif %}
|
2024-08-18 23:29:54 +00:00
|
|
|
</h2>
|
2024-05-03 20:15:09 +00:00
|
|
|
<div>
|
2024-08-18 23:29:54 +00:00
|
|
|
<div class="mt-3 grid gap-5 max-w-lg mx-auto md:grid-cols-2 lg:grid-cols-3 lg:max-w-none">
|
2024-05-03 20:15:09 +00:00
|
|
|
{%- for post in paginator.pages %}
|
|
|
|
{% if not post.extra.hidden %}
|
|
|
|
{% include "partials/postCard.html" %}
|
|
|
|
{%endif%} {%- endfor %}
|
|
|
|
</div>
|
2024-08-18 23:29:54 +00:00
|
|
|
<hr class="my-10" />
|
2024-05-03 20:15:09 +00:00
|
|
|
<p class="text-center text-sm mt-2 mb-16">
|
|
|
|
{% if paginator.previous %}
|
|
|
|
<a
|
|
|
|
class="border-transparent"
|
|
|
|
aria-label="First page"
|
|
|
|
href="{{ paginator.first }}"
|
|
|
|
>{% include "partials/icons/svgPrevPageIcon.html" %}{% include
|
|
|
|
"partials/icons/svgPrevPageIcon.html" %}</a
|
|
|
|
>
|
|
|
|
|
|
|
|
<a
|
|
|
|
class="border-transparent"
|
|
|
|
aria-label="Previous page"
|
|
|
|
href="{{ paginator.previous }}"
|
|
|
|
>{% include "partials/icons/svgPrevPageIcon.html" %}</a
|
|
|
|
>
|
|
|
|
|
|
|
|
{% else %} {%
|
|
|
|
include "partials/icons/svgFirstPageIcon.html" %}{% include
|
|
|
|
"partials/icons/svgFirstPageIcon.html" %}
|
|
|
|
{% include
|
|
|
|
"partials/icons/svgFirstPageIcon.html" %}
|
|
|
|
|
|
|
|
{% endif %} {% if
|
|
|
|
paginator.next %}
|
|
|
|
<a
|
|
|
|
class="border-transparent"
|
|
|
|
aria-label="Next page"
|
|
|
|
href="{{ paginator.next }}"
|
|
|
|
>{% include "partials/icons/svgNextPageIcon.html" %}</a
|
|
|
|
>
|
|
|
|
|
|
|
|
<a
|
|
|
|
class="border-transparent"
|
|
|
|
aria-label="Last page"
|
|
|
|
href="{{ paginator.last }}"
|
|
|
|
>{% include "partials/icons/svgNextPageIcon.html" %}{% include
|
|
|
|
"partials/icons/svgNextPageIcon.html" %}</a
|
|
|
|
>
|
|
|
|
{% else %} {% include "partials/icons/svgLastPageIcon.html" %}
|
|
|
|
{% include
|
|
|
|
"partials/icons/svgLastPageIcon.html" %}{% include
|
|
|
|
"partials/icons/svgLastPageIcon.html" %} {% endif %}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2024-08-18 23:29:54 +00:00
|
|
|
{% endblock content %}
|