From be19efb887e8dd632737e1e0f9cedfcc67d0269f Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Fri, 9 Apr 2021 00:36:39 +0000 Subject: [PATCH] Make the article pages minimal --- themes/theme/templates/article.html | 7 ++++++ themes/theme/templates/base.html | 33 ++++++----------------------- themes/theme/templates/index.html | 15 +++++++++++++ 3 files changed, 29 insertions(+), 26 deletions(-) diff --git a/themes/theme/templates/article.html b/themes/theme/templates/article.html index b96822e..9bb8097 100644 --- a/themes/theme/templates/article.html +++ b/themes/theme/templates/article.html @@ -24,6 +24,13 @@ {% endblock %} +{% block info %} + Tanner Collin +

+ Light / Dark +

+{% endblock %} + {% block content %}

← Return to Home

diff --git a/themes/theme/templates/base.html b/themes/theme/templates/base.html index 4420920..99e43f8 100644 --- a/themes/theme/templates/base.html +++ b/themes/theme/templates/base.html @@ -49,37 +49,18 @@ {% else %} {% endif %} + +{%- macro info() -%} + {% block info %}{% endblock %} +{%- endmacro -%} +
- A picture of me smiling -
- Tanner Collin -

- email icon - telegram logo - github logo -

-

- Light / Dark -

-
+ {{ info() }}
{% block content %} {% endblock %} diff --git a/themes/theme/templates/index.html b/themes/theme/templates/index.html index d16a384..7d9f873 100644 --- a/themes/theme/templates/index.html +++ b/themes/theme/templates/index.html @@ -7,6 +7,21 @@ {% endblock %} +{% block info %} + A picture of me smiling +
+ Tanner Collin +

+ email icon + telegram logo + github logo +

+

+ Light / Dark +

+
+{% endblock %} + {% block content %}

Hi, I'm Tanner! I do firmware and web development in Calgary.