[COMPONENTS][Search] Polished search template for a clearer header hierarchy

This commit is contained in:
2022-01-27 02:17:41 +00:00
parent ab6dabf4f7
commit 64a698d255
4 changed files with 111 additions and 103 deletions

View File

@@ -19,11 +19,13 @@
{% if page_title is defined %}
{% if current_path starts with 'feed_' %}
<h1 class="section-title">{{ page_title | trans }}</h1>
{% else %}
<span class="section-title">{{ page_title | trans }}</span>
{% endif %}
{% else %}
<span class="section-title">{{ 'Notes' | trans }}</span>
{% if current_path starts with 'search' %}
<h3 class="heading-no-margin">{{ 'Notes found' | trans }}</h3>
{% else %}
<span class="section-title">{{ 'Notes' | trans }}</span>
{% endif %}
{% endif %}
<nav class="feed-actions">
<details class="feed-actions-details">