Clean up nav html

This commit is contained in:
MatthiasSaihttam 2021-10-22 00:59:14 -04:00
parent db607ec4b1
commit d77d8d7f39
5 changed files with 17 additions and 11 deletions

View File

@ -3,9 +3,9 @@
{% block title %}About{% endblock %}
{% block navigation %}
<a href="/" class="text" style="border: none">Thoughts</a>
<h1 class="text">About</h1>{% if authenticated %}
<a href="/post" class="text" style="border: none">Post</a>
<a class="text" href="/">Thoughts</a>
<h1 class="text" aria-current="page">About</h1>{% if authenticated %}
<a class="text" href="/post">Post</a>
{% endif %}
{% endblock %}

View File

@ -5,8 +5,8 @@
{% block navigation %}
<h1 class="text" aria-current="page">Thoughts</h1>
<a href="/about" class="text">About</a>{% if authenticated %}
<a href="/post" class="text" style="border: none">Post</a>
<a class="text" href="/about">About</a>{% if authenticated %}
<a class="text" href="/post">Post</a>
{% endif %}
{% endblock %}

View File

@ -8,8 +8,9 @@
{% endblock %}
{% block navigation %}
<a href="/" class="text" style="border: none">Thoughts</a>
<h1 class="text">Login</h1>
<a class="text" href="/">Thoughts</a>
<a class="text" href="/about">About</a>
<h1 class="text" aria-current="page">Login</h1>
{% endblock %}
{% block main %}

View File

@ -8,9 +8,9 @@
{% endblock %}
{% block navigation %}
<a href="/" class="text" style="border: none">Thoughts</a>
<a href="/about" class="text" style="border: none">About</a>
<h1 class="text">Post</h1>
<a class="text" href="/">Thoughts</a>
<a class="text" href="/about">About</a>
<h1 class="text" aria-current="page">Post</h1>
{% endblock %}
{% block main %}

View File

@ -1,6 +1,11 @@
{% extends "whispermaphone/page.html" %}
{% block navigation %} nav here pls {% endblock %}
{% block navigation %}
<a class="text" href="/">Thoughts</a>
<a class="text" href="/about">About</a>{% if authenticated %}
<a class="text" href="/post">Post</a>{% endif %}
<h1 class="text" aria-current="page">Search</h1>
{% endblock %}
{% block main %}
<form method="get" action="search">