{{ article.title }}
++
diff --git a/content/hand-of-ozymandias.md b/content/hand-of-ozymandias.md index d7bf0b7..6d27746 100644 --- a/content/hand-of-ozymandias.md +++ b/content/hand-of-ozymandias.md @@ -1,6 +1,6 @@ Title: Hand of Ozymandias Date: 2012-03-23 -Category: Projects +Category: Creations Summary: A withered hand I welded out of scrap metal. I was visiting my cousins in Radium, BC and decided to learn stick welding at diff --git a/content/led-dress.md b/content/led-dress.md index 2d08240..81bd31c 100644 --- a/content/led-dress.md +++ b/content/led-dress.md @@ -1,6 +1,6 @@ Title: LED Dress Date: 2016-03-18 -Category: Projects +Category: Creations Summary: A dress made out of LEDs that twinkle like stars. A friend of mine was attending a stars and constellations themed ball. She diff --git a/content/light-switch.md b/content/light-switch.md index f5dccc0..63cf66c 100644 --- a/content/light-switch.md +++ b/content/light-switch.md @@ -1,6 +1,6 @@ Title: Remote Control Light Switch Date: 2014-10-09 -Category: Projects +Category: Creations Summary: A device to toggle my lights remotely. I wanted the ability to toggle my bedroom light remotely for convenience. I diff --git a/content/pages/projects.md b/content/pages/projects.md new file mode 100644 index 0000000..538eb56 --- /dev/null +++ b/content/pages/projects.md @@ -0,0 +1,32 @@ +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 new file mode 100644 index 0000000..2ee448d --- /dev/null +++ b/content/pages/resume.md @@ -0,0 +1,8 @@ +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/content/painting.md b/content/painting.md index 03642c2..605fc37 100644 --- a/content/painting.md +++ b/content/painting.md @@ -1,6 +1,6 @@ Title: Man’s Reach Exceeds His Grasp Date: 2012-04-11 -Category: Projects +Category: Creations Summary: My first attempt at painting with acrylic. The painting is called “Man’s Reach Exceeds His Grasp”. I've always wanted to diff --git a/content/plant-waterer.md b/content/plant-waterer.md index 56e36e6..ad065cd 100644 --- a/content/plant-waterer.md +++ b/content/plant-waterer.md @@ -1,6 +1,6 @@ Title: Automatic Plant Waterer Date: 2014-06-05 -Category: Projects +Category: Creations Summary: A device that automatically waters plants. One day I decided watering my one plant was too much work, so I automated it. diff --git a/content/solar-car.md b/content/solar-car.md index 8fa1412..641c63e 100644 --- a/content/solar-car.md +++ b/content/solar-car.md @@ -1,6 +1,6 @@ Title: Solar Car Date: 2013-04-27 -Category: Projects +Category: Creations Summary: About my time volunteering with the University of Calgary Solar Car Team, where I designed a maximum power point tracker. I joined the University of Calgary Solar Car Team in my first semester for a diff --git a/pelicanconf_lite.py b/pelicanconf_lite.py new file mode 100644 index 0000000..13e24c5 --- /dev/null +++ b/pelicanconf_lite.py @@ -0,0 +1,65 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- # +from __future__ import unicode_literals + +AUTHOR = 'Tanner Collin' +SITENAME = 'Tanner Collin' +SITEURL = '' + +PATH = 'content' + +TIMEZONE = 'Canada/Mountain' + +DEFAULT_LANG = 'en' + +# Feed generation is usually not desired when developing +FEED_ALL_ATOM = None +CATEGORY_FEED_ATOM = None +TRANSLATION_FEED_ATOM = None +AUTHOR_FEED_ATOM = None +AUTHOR_FEED_RSS = None + +DEFAULT_PAGINATION = False + +MARKDOWN = { + 'extension_configs': { + 'markdown.extensions.codehilite': {'css_class': 'highlight'}, + 'markdown.extensions.extra': {}, + 'markdown.extensions.meta': {}, + #'markdown.extensions.toc': { + # 'toc_depth': '2-3', + # 'anchorlink': True, + #}, + }, + 'output_format': 'html5', +} + +STATIC_PATHS = ['images', 'extra'] + +EXTRA_PATH_METADATA = { + #'extra/favicon.svg': {'path': 'favicon.svg'}, +} + +# Uncomment following line if you want document-relative URLs when developing +#RELATIVE_URLS = True + +THEME = 'themes/lite' + +# turn off useless outputs +TAG_SAVE_AS = '' +CATEGORY_SAVE_AS = '' +AUTHOR_SAVE_AS = '' +ARCHIVES_SAVE_AS = '' +AUTHORS_SAVE_AS = '' +CATEGORIES_SAVE_AS = '' +TAGS_SAVE_AS = '' + +INDEX_SAVE_AS = 'index.html' +ARTICLE_URL = '{slug}/' +ARTICLE_SAVE_AS = '{slug}/index.html' +PAGE_URL = '{slug}/' +PAGE_SAVE_AS = '{slug}/index.html' +CATEGORY_URL = '{slug}/' +CATEGORY_SAVE_AS = '{slug}/index.html' + +PROD = False diff --git a/publishconf_lite.py b/publishconf_lite.py new file mode 100644 index 0000000..cd64335 --- /dev/null +++ b/publishconf_lite.py @@ -0,0 +1,63 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- # +from __future__ import unicode_literals + +AUTHOR = 'Tanner Collin' +SITENAME = 'Tanner Collin' +SITEURL = '' + +PATH = 'content' + +TIMEZONE = 'Canada/Mountain' + +DEFAULT_LANG = 'en' + +# Feed generation is usually not desired when developing +FEED_ALL_ATOM = None +CATEGORY_FEED_ATOM = None +TRANSLATION_FEED_ATOM = None +AUTHOR_FEED_ATOM = None +AUTHOR_FEED_RSS = None + +DEFAULT_PAGINATION = False + +MARKDOWN = { + 'extension_configs': { + 'markdown.extensions.codehilite': {'css_class': 'highlight'}, + 'markdown.extensions.extra': {}, + 'markdown.extensions.meta': {}, + #'markdown.extensions.toc': { + # 'toc_depth': '2-3', + # 'anchorlink': True, + #}, + }, + 'output_format': 'html5', +} + +STATIC_PATHS = ['images', 'extra'] + +EXTRA_PATH_METADATA = { + #'extra/favicon.svg': {'path': 'favicon.svg'}, +} + +# Uncomment following line if you want document-relative URLs when developing +#RELATIVE_URLS = True + +THEME = 'themes/lite' + +# turn off useless outputs +TAG_SAVE_AS = '' +CATEGORY_SAVE_AS = '' +AUTHOR_SAVE_AS = '' +ARCHIVES_SAVE_AS = '' +AUTHORS_SAVE_AS = '' +CATEGORIES_SAVE_AS = '' +TAGS_SAVE_AS = '' + +INDEX_SAVE_AS = 'index.html' +ARTICLE_URL = '{slug}/' +ARTICLE_SAVE_AS = '{slug}/index.html' +PAGE_URL = '{slug}/' +PAGE_SAVE_AS = '{slug}/index.html' + +PROD = True diff --git a/themes/lite/templates/article.html b/themes/lite/templates/article.html new file mode 100644 index 0000000..5a44cd8 --- /dev/null +++ b/themes/lite/templates/article.html @@ -0,0 +1,62 @@ +{% 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 info %} + Tanner Collin +
+{% endblock %} + +{% block content %} + + {% if article.wide %} +Hi, I'm Tanner! I do firmware and web development in Calgary.
+ Contact | + Resume | + Projects | + Creations | + Writing + {% block content %} + {% endblock %} +Email: site2@tannercollin.com
+Telegram: @tannercollin
+{% endblock %} diff --git a/themes/lite/templates/page.html b/themes/lite/templates/page.html new file mode 100644 index 0000000..98f292e --- /dev/null +++ b/themes/lite/templates/page.html @@ -0,0 +1,6 @@ +{% extends "base.html" %} + +{% block content %} +Sometimes I create art or interactive tech.
- {% for article in articles_page.object_list if article.category.name == 'Projects' %} + {% for article in articles_page.object_list if article.category.name == 'Creations' %}