@ -1,6 +1,10 @@
// Copyright (c) 2018 Tildes contributors <code@tildes.net>
// SPDX-License-Identifier: AGPL-3.0-or-later
.text-formatted {
@extend %text-container;
}
.text-small {
font-size: 0.6rem;
line-height: 0.9rem;
@ -80,7 +80,7 @@
</header>
<main data-js-hide-sidebar-if-open>
<main class="{% block main_classes %}{% endblock %}" data-js-hide-sidebar-if-open>
{# Only output the <h1> tag if the main_heading block has some content #}
{% set main_heading %}{% block main_heading %}{% endblock %}{% endset %}
@ -11,6 +11,8 @@
<a class="site-header-context" href="/~{{ page.group.path }}">~{{ page.group.path }}</a>
{% endblock %}
{% block main_classes %}text-formatted{% endblock %}
{% block main_heading %}{{ page.page_name }}{% endblock %}
{% block content %}