diff --git a/content/pages/projects.md b/content/pages/projects.md deleted file mode 100644 index 538eb56..0000000 --- a/content/pages/projects.md +++ /dev/null @@ -1,32 +0,0 @@ -Title: Projects - -My main hobby is working on software projects. I typically design websites or build tools that make my life easier. - -### QotNews - -*source code* - -Hacker News, Reddit, Lobsters, and Tildes articles pre-rendered in reader mode. Optimized for speed and distraction-free reading. - -### Notica - -*source code* - -Send browser notifications from your terminal. No installation. No registration. - -### Spaceport - -*source code* - -Makerspace members' portal for Calgary Protospace. It tracks membership, courses, training, access cards, and more. - -### t0txt - -*source code* - -Minimal command line pastebin. Allows you to upload text notes from a bash pipe or web browser. - -### standardnotes-fs - -A filesystem that mounts your Standard Notes account as a directory of text files that you can edit. - diff --git a/content/pages/resume.md b/content/pages/resume.md deleted file mode 100644 index 2ee448d..0000000 --- a/content/pages/resume.md +++ /dev/null @@ -1,8 +0,0 @@ -Title: Resume - -- Firmware Engineer at Cabana Blockchain, 2018– -- Lead Hardware Engineer at Critical Control, 2016–2018 -- Electrical Engineer at Opener Aero, 2016–2016 -- Electrical Engineer Intern at Pason Systems, 2014–2015 -- BSc. Electrical Engineering from University of Calgary - diff --git a/publishconf_lite.py b/publishconf_lite.py index 913e535..f10fa77 100644 --- a/publishconf_lite.py +++ b/publishconf_lite.py @@ -56,7 +56,7 @@ TAGS_SAVE_AS = '' INDEX_SAVE_AS = 'index.html' ARTICLE_URL = '{slug}/' -ARTICLE_SAVE_AS = '{category}/{slug}/index.html' +ARTICLE_SAVE_AS = '{slug}/index.html' PAGE_URL = '{slug}/' PAGE_SAVE_AS = '{slug}/index.html' CATEGORY_URL = '{slug}/' diff --git a/themes/lite/templates/article.html b/themes/lite/templates/article.html index c3994ff..a980609 100644 --- a/themes/lite/templates/article.html +++ b/themes/lite/templates/article.html @@ -1,56 +1,8 @@ {% extends "base.html" %} - -{% block style %} -.summary { - font-style: italic; -} -.metadata { - color: #555; -} -pre { - font-size: 0.9rem; - line-height: 1.2; - padding: 1rem; - overflow-x: auto; - background-color: #ddd; -} -:not(pre)>code { - padding: 0 2px; - font-size: 0.8rem; - background-color: #ddd; -} -.aside { - display: inline; - float: left; - position: relative; - width: 8rem; - margin-left: -9rem; - font-size: 0.9rem; -} -img { - width: 100%; - height: auto; -} -{% endblock %} - {% block content %} -

{{ article.title }}

- -
-
- {{ article.summary }} -
-

- {{ article.locale_date }} - {% if article.modified %} - — updated {{ article.locale_modified }} - {% endif %} -

-
- -
- -
- {{ article.content }} -
+

{{ article.title }}

+{{ article.summary }} +{{ article.locale_date }} +
+{{ article.content }} {% endblock %} diff --git a/themes/lite/templates/base.html b/themes/lite/templates/base.html index 0cff80d..1a2c839 100644 --- a/themes/lite/templates/base.html +++ b/themes/lite/templates/base.html @@ -1,21 +1,8 @@ - - -
-

Tanner Collin

-

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

- Contact | - Resume | - Projects | - Creations | - Writing - {% block content %} - {% endblock %} -
+ diff --git a/themes/lite/templates/index.html b/themes/lite/templates/index.html index 9bcd490..33b734b 100644 --- a/themes/lite/templates/index.html +++ b/themes/lite/templates/index.html @@ -1,7 +1,42 @@ {% extends "base.html" %} - {% block content %} -

Contact Info

-

Email: site2@tannercollin.com

-

Telegram: @tannercollin

+Hi, I'm Tanner! I do firmware and web development in Calgary. + +Contact Info +============ + +Email: site2@tannercollin.com +Telegram: @tannercollin + +Resume +====== + +- Firmware Engineer at Cabana Blockchain, 2018– +- Lead Hardware Engineer at Critical Control, 2016–2018 +- Electrical Engineer at Opener Aero, 2016–2016 +- Electrical Engineer Intern at Pason Systems, 2014–2015 +- BSc. Electrical Engineering from University of Calgary + +Projects +======== + +QotNews +Notica +Spaceport +t0txt +standardnotes-fs + +Creations +========= + +{% for article in articles_page.object_list if article.category.name == 'Creations' %} +{{ article.title }} +{% endfor %} + +Writing +======= + +{% for article in articles_page.object_list if article.category.name == 'Writing' %} +{{ article.title }} +{% endfor %} {% endblock %} diff --git a/themes/lite/templates/page.html b/themes/lite/templates/page.html deleted file mode 100644 index 98f292e..0000000 --- a/themes/lite/templates/page.html +++ /dev/null @@ -1,6 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -

{{ page.title }}

- {{ page.content }} -{% endblock %}