Merge pull request #352 from mouse-reeve/header-heirarchy

Makes sure pages have h1 header hierarchy
This commit is contained in:
Mouse Reeve 2020-11-18 12:33:01 -08:00 committed by GitHub
commit dfc9262876
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 2 deletions

View file

@ -58,6 +58,7 @@
</div> </div>
<div class="column is-two-thirds" id="feed"> <div class="column is-two-thirds" id="feed">
<h1 class="title">{{ tab | title }} Timeline</h1>
<div class="tabs"> <div class="tabs">
<ul> <ul>
<li class="{% if tab == 'home' %}is-active{% endif %}"> <li class="{% if tab == 'home' %}is-active{% endif %}">

View file

@ -4,7 +4,7 @@
<div class="columns"> <div class="columns">
<div class="column"> <div class="column">
<div class="box"> <div class="box">
<h2 class="title">Log in</h2> <h1 class="title">Log in</h1>
{% if login_form.non_field_errors %} {% if login_form.non_field_errors %}
<p class="notification is-danger">{{ login_form.non_field_errors }}</p> <p class="notification is-danger">{{ login_form.non_field_errors }}</p>
{% endif %} {% endif %}

View file

@ -1,6 +1,10 @@
{% extends 'layout.html' %} {% extends 'layout.html' %}
{% block content %} {% block content %}
{% with book_results|first as local_results %} {% with book_results|first as local_results %}
<div class="block">
<h1 class="title">Search Results for "{{ query }}"</h1>
</div>
<div class="block columns"> <div class="block columns">
<div class="column"> <div class="column">
<h2 class="title">Matching Books</h2> <h2 class="title">Matching Books</h2>

View file

@ -1,4 +1,4 @@
<h2 class="title">About {{ site_settings.name }}</h2> <h1 class="title">About {{ site_settings.name }}</h1>
<div class="block"> <div class="block">
<img src="/static/images/logo.png" alt="BookWyrm"> <img src="/static/images/logo.png" alt="BookWyrm">
</div> </div>