diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/404.html | 7 | ||||
-rw-r--r-- | templates/index.html | 4 | ||||
-rw-r--r-- | templates/page.html | 2 |
3 files changed, 8 insertions, 5 deletions
diff --git a/templates/404.html b/templates/404.html index 02d0a66..6eadf4d 100644 --- a/templates/404.html +++ b/templates/404.html @@ -1,8 +1,11 @@ -{% extends "index.html" %} +{% extends "page.html" %} + +{% block title %}404 · {{ config.title }}{% endblock title %} {% block content %} <article> - <center><h1>404</h1></center> + <center><h1 style="font-size:10rem; margin-bottom: 0;">404</h1></center> <center><p>Page not found, dude.</p></center> + <center><p>Click <a href="/">here</a> to return to the front page.</p></center> </article> {% endblock content %} diff --git a/templates/index.html b/templates/index.html index 222ea74..b7dd98b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -21,7 +21,7 @@ {% block header %} <header> - <a href="/"><img id="logo" src="{{ config.extra.logo }}" /></a> + <a href="/"><img id="logo" src="{{ config.extra.logo | safe }}" /></a> <h1>{{ config.extra.title }}</h1> </header> {% endblock header %} @@ -38,7 +38,7 @@ {%- for post in posts %} <article class="list-item"> - <a href="{{ post.permalink | safe }}" class="list-item-link">{{ post.title }}</a> + <a href="{{ post.path | safe }}" class="list-item-link">{{ post.title }}</a> <span class="list-item-date">{{ post.date | date(format="%B %e, %Y") }}</span> </article> {%- endfor %} diff --git a/templates/page.html b/templates/page.html index 6a83bc0..7405a3f 100644 --- a/templates/page.html +++ b/templates/page.html @@ -4,7 +4,7 @@ {% block header %} <header> - <a href="/"><img id="logofloat" src="{{ config.extra.logo }}" /></a> + <a href="/"><img id="logofloat" src="{{ config.extra.logo | safe }}" /></a> </header> {% endblock header %} |