Clean up nav html
This commit is contained in:
parent
db607ec4b1
commit
d77d8d7f39
|
@ -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 %}
|
||||
|
||||
|
|
|
@ -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 %}
|
||||
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue