Skip to content
Snippets Groups Projects
Commit 3af4f66e authored by jan.bednarik's avatar jan.bednarik
Browse files

uniweb: Fix titles

parent 88d4d90d
No related branches found
No related tags found
2 merge requests!190uniweb: Fix titles,!189uniweb: Fix titles
Pipeline #2450 passed
{% if first %} {% if first %}
<h1 class="head-alt-md md:head-alt-lg max-w-5xl px-4 pt-4 pb-2 {{ css_class|join:" " }}">{{ block.value.title }}</h1> <h1 class="head-alt-md md:head-alt-lg px-4 pt-4 pb-2 {{ css_class|join:" " }}">{{ block.value.title }}</h1>
{% else %} {% else %}
<h1 class="head-alt-md md:head-alt-lg max-w-5xl px-4 pt-4 pb-2 lg:mt-16 {{ css_class|join:" " }}">{{ block.value.title }}</h1> <h1 class="head-alt-md md:head-alt-lg px-4 pt-4 pb-2 lg:mt-16 {{ css_class|join:" " }}">{{ block.value.title }}</h1>
{% endif %} {% endif %}
{% if first %} {% if first %}
<h1 class="head-alt-md md:head-alt-lg max-w-5xl mb-4 px-4">{{ block.value }}</h1> <h1 class="head-alt-md md:head-alt-lg mb-4 px-4">{{ block.value }}</h1>
{% else %} {% else %}
<h1 class="head-alt-md md:head-alt-lg max-w-5xl px-4 pt-4 pb-2 lg:mt-16">{{ block.value }}</h1> <h1 class="head-alt-md md:head-alt-lg px-4 pt-4 pb-2 lg:mt-16">{{ block.value }}</h1>
{% endif %} {% endif %}
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<meta itemprop="datePublished" content="{{ page.first_published_at }}"> <meta itemprop="datePublished" content="{{ page.first_published_at }}">
<meta itemprop="dateModified" content="{{ page.last_published_at }}"> <meta itemprop="dateModified" content="{{ page.last_published_at }}">
<h1 itemprop="headline" class="head-alt-md md:head-alt-lg max-w-5xl mb-4">{{ page.title }}</h1> <h1 itemprop="headline" class="head-alt-md md:head-alt-lg mb-4">{{ page.title }}</h1>
<div class="flex flex-col md:flex-row md:items-center"> <div class="flex flex-col md:flex-row md:items-center">
<div class="inline-flex divide-x flex-grow my-4"> <div class="inline-flex divide-x flex-grow my-4">
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
{% block content %} {% block content %}
<section> <section>
<h1 class="head-alt-md md:head-alt-lg max-w-5xl mb-4">{{ page.title }}</h1> <h1 class="head-alt-md md:head-alt-lg mb-4">{{ page.title }}</h1>
{% if tags %} {% if tags %}
<nav> <nav>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment