diff --git a/themes/theme/templates/article.html b/themes/theme/templates/article.html index 9bb8097..36641ef 100644 --- a/themes/theme/templates/article.html +++ b/themes/theme/templates/article.html @@ -32,21 +32,33 @@ {% endblock %} {% block content %} -

← Return to Home

-
-

{{ article.title }}

-
- {{ article.summary }} + + {% if article.wide %} +
+ {% else %} +
+ {% endif %} + +
+ {{ info() }} +
+ +

← Return to Home

+
+

{{ article.title }}

+
+ {{ article.summary }} +
+ +
+
+
+ {{ article.content }} +
- -
-
-
- {{ article.content }} -
{% endblock %} diff --git a/themes/theme/templates/base.html b/themes/theme/templates/base.html index da9f6c0..aeeb818 100644 --- a/themes/theme/templates/base.html +++ b/themes/theme/templates/base.html @@ -44,27 +44,23 @@ -{% if PROD %} - -{% else %} - -{% endif %} + {% if PROD %} + + {% else %} + + {% endif %} -{%- macro info() -%} - {% block info %}{% endblock %} -{%- endmacro -%} + {%- macro info() -%} + {% block info %}{% endblock %} + {%- endmacro -%}
-
-
- {{ info() }} -
- {% block content %} - {% endblock %} -
+ + {% block content %} + {% endblock %}

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

+
-

Contact Info

+
+ {{ info() }} +
-

- Email: site2@tannercollin.com
- Telegram: @tannercollin -

+

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

-

Resume

+

Contact Info

- +

+ Email: site2@tannercollin.com
+ Telegram: @tannercollin +

-

Projects

+

Resume

-

- My main hobby is working on technical projects. I typically design websites or - build tools that make my life easier. Sometimes art. -

+ -

- You can find my code on GitHub. -

+

Projects

-{% for article in articles_page.object_list if article.category.name == 'Projects' %} -

{{ article.title }}

-
- {{ article.summary }} -
-{% endfor %} +

+ My main hobby is working on technical projects. I typically design websites or + build tools that make my life easier. Sometimes art. +

+ +

+ You can find my code on GitHub. +

+ + {% for article in articles_page.object_list if article.category.name == 'Projects' %} +

{{ article.title }}

+
+ {{ article.summary }} +
+ {% endfor %} {% endblock %} diff --git a/themes/theme/templates/style.css b/themes/theme/templates/style.css index 868d004..1dc9889 100644 --- a/themes/theme/templates/style.css +++ b/themes/theme/templates/style.css @@ -135,6 +135,10 @@ pre { max-width: 36rem; } +.content-wide { + max-width: none; +} + .content p { font: 1.2rem/1.5 Apparatus SIL,serif; }