From e7f4a2a58147f7ac194fef408893d388343be479 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 2 May 2015 18:52:27 +0200 Subject: Make favicon and footer image relative --- src/templates/entry.html | 2 +- src/templates/layout-journal.html | 54 +++++++++++++++++++++++++++++++++++++++ src/templates/layout.html | 8 +++--- src/templates/nav-journal.html | 8 ++++++ src/templates/nav-journal.htmlvi | 8 ++++++ src/templates/nav.html | 6 ++--- 6 files changed, 78 insertions(+), 8 deletions(-) create mode 100644 src/templates/layout-journal.html create mode 100644 src/templates/nav-journal.html create mode 100644 src/templates/nav-journal.htmlvi diff --git a/src/templates/entry.html b/src/templates/entry.html index 50454eb..2355310 100644 --- a/src/templates/entry.html +++ b/src/templates/entry.html @@ -1,4 +1,4 @@ -{% extends 'layout.html' %} +{% extends 'layout-journal.html' %} {% block head %} diff --git a/src/templates/layout-journal.html b/src/templates/layout-journal.html new file mode 100644 index 0000000..83765bd --- /dev/null +++ b/src/templates/layout-journal.html @@ -0,0 +1,54 @@ + + + + + {{ title }} + + + + + + +{% block head %}{% endblock %} + + +
+{% include 'nav-journal.html' %} +

{{ header }}

+
+ +{% block content %}{% endblock %} + + + + + diff --git a/src/templates/layout.html b/src/templates/layout.html index 35ea3f3..85b3c0b 100644 --- a/src/templates/layout.html +++ b/src/templates/layout.html @@ -3,13 +3,13 @@ {{ title }} - - + + + title="Johannes Löthberg "> {% block head %}{% endblock %} @@ -37,7 +37,7 @@ - hacker emblem + hacker emblem diff --git a/src/templates/nav-journal.html b/src/templates/nav-journal.html new file mode 100644 index 0000000..ef4f627 --- /dev/null +++ b/src/templates/nav-journal.html @@ -0,0 +1,8 @@ + diff --git a/src/templates/nav-journal.htmlvi b/src/templates/nav-journal.htmlvi new file mode 100644 index 0000000..a5c5717 --- /dev/null +++ b/src/templates/nav-journal.htmlvi @@ -0,0 +1,8 @@ + diff --git a/src/templates/nav.html b/src/templates/nav.html index a5c5717..2830a12 100644 --- a/src/templates/nav.html +++ b/src/templates/nav.html @@ -1,8 +1,8 @@ -- cgit v1.2.3-70-g09d2