organicmaps-website/templates/page.html
borntojesus 9d393ff381
Preprod faq from faq test (#208)
* for faq

* preprod-faq-from-faq-test

* news update

* add UI

* f

* add UI news

* add UI news_v2

* fix bug

---------

Co-authored-by: dmitry <dmitry@antonyuk.org>
2024-02-06 23:57:16 +02:00

60 lines
1.7 KiB
HTML

{% extends 'base.html' %}
{% block content %}
{% if page.taxonomies and page.taxonomies.faq %}{# Show FAQ breadcrumbs #}
<section class="hero-sub" style="background-image: url(/faq/hero_image.png)" >
<div class="container hero-sub__container">
<nav class="bred-crum">
<ul class="bred-crum__row">
<li class="bred-crum__item">
<a class="nav-bred bred-crum__link" href="/faq">Faq</a>
</li>
<li class="bred-crum__item">
<span class="nav-bred">
>
</span>
</li>
<li class="bred-crum__item">
<a class="nav-bred bred-crum__link bred-crum--active"
href="/{{ resource.title }}">{{ resource.title }}</a>
</li>
</ul>
</nav>
<div class="hero-sub__content">
<h1 class="h1 hero-sub__title">
Faq
</h1>
</div>
</div>
</section>
<section class="search">
<div class="container search__container">
<label class="search__label" for="inpSearch">
{% include 'ui/search.html' %}
<input class="search__input" id="inpSearch" type="text" placeholder="Search">
</label>
</div>
</section>
<section class="faq-post">
<div class="container faq-page-list__row">
{% set categories = get_taxonomy(kind='faq') | get(key="items") %}
<!-- <h2 class="h2-inter faq-page-list__title">App</h2>-->
<!-- <div class="line line&#45;&#45;full"></div>-->
<h2 class="h1-inter faq-page-list__title">{{ resource.title }}</h2>
<div class="faq-page-list__buttons">
{% for item in categories %}
<a class="button button--line-min" href="{{ get_taxonomy_url(kind="faq", name=item.name) }}">{{ item.name }}</a>
{% endfor %}
</div>
{% endif %}
{{ resource.content | safe }}
</div>
</section>
{% endblock content %}