summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.toml2
-rw-r--r--static/humans.txt15
-rw-r--r--templates/404.html7
-rw-r--r--templates/index.html4
-rw-r--r--templates/page.html2
5 files changed, 9 insertions, 21 deletions
diff --git a/config.toml b/config.toml
index ada343d..ed8eee3 100644
--- a/config.toml
+++ b/config.toml
@@ -7,6 +7,6 @@ title = "dnns.no"
author = "Dennis Eriksen"
intro = "This site contains articles of various quality, and is sort of a private-but-public documentation of various things. Maybe there'll be some \"normal\" blog-posts at some point as well. Who knows."
-logo = "https://dnns.no/img/giraffe.svg"
+logo = ""
copyright = '<a href="/~dennis/">Dennis Eriksen</a> © 2017-2023'
diff --git a/static/humans.txt b/static/humans.txt
deleted file mode 100644
index 8d2330f..0000000
--- a/static/humans.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-# humanstxt.org/
-# The humans responsible & technology colophon
-
-# TEAM
-
- <name> -- <role> -- <twitter>
-
-# THANKS
-
- <name>
-
-# TECHNOLOGY COLOPHON
-
- CSS3, HTML5
- Apache Server Configs, jQuery, Modernizr, Normalize.css
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 &middot; {{ 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 %}