renamed "pages" to "views", removed about template
This commit is contained in:
parent
538e37f260
commit
7d58b27c0c
@ -1,6 +1,6 @@
|
|||||||
<nav>
|
<nav>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="{{ url_for('pages.home') }}">Home</a></li>
|
<li><a href="{{ url_for('views.home') }}">Home</a></li>
|
||||||
<li><a href="{{ url_for('pages.about') }}">About</a></li>
|
<li><a href="{{ url_for('views.texte') }}">Texte</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
9
the_works/templates/views/home.html
Normal file
9
the_works/templates/views/home.html
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
|
{% block title %}Home{% endblock title %}
|
||||||
|
|
||||||
|
{% block heading %}Home{% endblock heading %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<p><a href="{{ url_for('views.texte') }}">Alle Texte</a></p>
|
||||||
|
{% endblock content %}
|
||||||
Loading…
Reference in New Issue
Block a user