Add links to recipes add to nav list and index

This commit is contained in:
Benjamin 2023-03-11 19:14:37 +01:00
parent eb560318c6
commit ed77dab3b0
2 changed files with 6 additions and 0 deletions

View file

@ -17,6 +17,9 @@
<li><a href="{% url 'new-user' %}">Create account</a></li>
{% endif %}
</ul>
<ul>
<li><a href="{% url 'recipes' %}">Recipes</a></li>
</ul>
</nav>
<main>
{% block main %}

View file

@ -2,4 +2,7 @@
{% block title %}Barn{% endblock %}
{% block main %}
<h1>Barn</h1>
<ul>
<li><h2><a href="{% url 'recipes' %}">Recipes</a></h2></li>
</ul>
{% endblock %}