update newsroom

This commit is contained in:
2024-03-04 10:32:19 +02:00
parent b5cbbadd46
commit 0b27fe1b81
766 changed files with 1944 additions and 43 deletions

View File

@@ -30,9 +30,9 @@
</div>
<div class="-mx-4 relative lg:mt-0 max-w-full">
<div class="mx-4 relative lg:mt-0 max-w-full">
{% if featured.extra.imgPath %}
<img class="relative mx-auto w-7/12 md:w-auto md:max-w-full max-h-80" src={{featured.permalink}}{{featured.extra.imgPath}} alt="" />
<img class="relative mx-auto md:w-auto md:max-w-full max-h-80" src={{featured.permalink}}{{featured.extra.imgPath}} alt="" />
{% endif %}
</div>
</div>

View File

@@ -1,8 +1,8 @@
{% block content %}
<div class="text-center main-title px-0 md:w-full md:w-2/3 lg:w-2/3 mx-8 md:mx-12">
<div class="text-center main-title px-0 md:w-2/3 lg:w-2/3 mx-8 md:mx-12">
<h1
class="tracking-tight text-5xl text-left text-2xl sm:text-3xl md:text-4xl lg:text-5xl fw-500 leading-snug font-normal mb-10"
class="tracking-tight text-left text-2xl md:text-4xl lg:text-5xl fw-500 leading-snug font-normal mb-10"
>
{% set path_array = current_path | split(pat="/") %}
{% set taxonomy = path_array[1] %}

View File

@@ -2,7 +2,7 @@
<div class="mx-8 md:mx-4 flex flex-col">
<div class="flex flex-col mb-12 mr-8 lg:mr-24">
<h4 class="text-base not-italic font-medium leading-6 text-gray-600 mb-6"> FILTER NEWS BY</h4>
<a id="all" class="mb-3 text-black font-normal" href="/news">All</a>
<a id="all" class="mb-3 text-black font-normal" href="/newsroom">All</a>
{% set taxonomy = get_taxonomy(kind="news-category") %}
{% set categories = taxonomy.items %}
{% for category in categories %}
@@ -12,7 +12,7 @@
{% endfor %}
</div>
{% set section = get_section(path="news/_index.md")%}
{% set section = get_section(path="newsroom/_index.md")%}
<div class="lg:pt-6 flex flex-col mb-12 w-64 mr-8 lg:mr-24">
<h4 class="text-base not-italic font-medium leading-6 text-gray-600 mb-6"> FEATURED NEWS</h4>