diff --git a/pelicanconf.py b/pelicanconf.py index 340230a..f891e14 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- # from __future__ import unicode_literals -AUTHOR = 'Tanner' +AUTHOR = 'Tanner Collin' SITENAME = 'Tanner Collin' SITEURL = '' diff --git a/themes/theme/static/enable-darkmode.js b/themes/theme/static/enable-darkmode.js new file mode 100644 index 0000000..0757490 --- /dev/null +++ b/themes/theme/static/enable-darkmode.js @@ -0,0 +1,8 @@ +const options = { + bottom: '16px', + right: '16px', + buttonColorDark: '#666', + buttonColorLight: '#aaa', + label: '🌙', +}; +new Darkmode(options).showWidget(); diff --git a/themes/theme/templates/article.html b/themes/theme/templates/article.html index 60cf311..b96822e 100644 --- a/themes/theme/templates/article.html +++ b/themes/theme/templates/article.html @@ -1,5 +1,29 @@ {% extends "base.html" %} +{% block title %}{{ SITENAME }} - {{ article.title|striptags }}{% endblock %} + +{% block head %} + {{ super() }} + + {% if article.date %} + + {% endif %} + + {% if article.summary %} + + + {% endif %} + + {% if article.category %} + + {% endif %} + + {% for tag in article.tags %} + + {% endfor %} + +{% endblock %} + {% block content %}
Hi, I'm Tanner! I do firmware and web development in Calgary.