diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/about.html | 21 | ||||
| -rw-r--r-- | templates/base.html | 1 |
2 files changed, 22 insertions, 0 deletions
diff --git a/templates/about.html b/templates/about.html new file mode 100644 index 0000000..e7226a8 --- /dev/null +++ b/templates/about.html @@ -0,0 +1,21 @@ +{% extends "base.html" %} + +{% block nav_about %}active{% endblock %} + +{% block header %} + +<header> + <div class="panel" id="title"> + <h1>{{ locale.text("name").unwrap() }}</h1> + </div> +</header> + +{% endblock header %} + +{% block content %} + +<div class="content panel"> + {{ locale.text("about-content").unwrap()|safe }} +</div> + +{% endblock content %}
\ No newline at end of file diff --git a/templates/base.html b/templates/base.html index 36cb4c1..6761f83 100644 --- a/templates/base.html +++ b/templates/base.html @@ -47,6 +47,7 @@ <nav class="panel"> <ul id="nav"> <li><a class="{% block nav_home %}{% endblock %}" href="/">Home</a></li> + <li><a class="{% block nav_about %}{% endblock %}" style="font-family: Sligoil;" href="/about">About</a></li> <li><a class="{% block nav_contact %}{% endblock %}" style="font-family: 'Compagnon Roman';" href="/contact">Kontakt</a></li> <li><a class="{% block nav_poetry %}{% endblock %}" href="/poetry" style="font-family: Louise">Poesia</a></li> |
