Rename Projects category to Creations

This commit is contained in:
Tanner Collin 2021-07-25 22:40:04 +00:00
parent a966b59b66
commit 65b3ad7fbf
16 changed files with 273 additions and 7 deletions

View File

@ -1,6 +1,6 @@
Title: Hand of Ozymandias Title: Hand of Ozymandias
Date: 2012-03-23 Date: 2012-03-23
Category: Projects Category: Creations
Summary: A withered hand I welded out of scrap metal. 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 I was visiting my cousins in Radium, BC and decided to learn stick welding at

View File

@ -1,6 +1,6 @@
Title: LED Dress Title: LED Dress
Date: 2016-03-18 Date: 2016-03-18
Category: Projects Category: Creations
Summary: A dress made out of LEDs that twinkle like stars. Summary: A dress made out of LEDs that twinkle like stars.
A friend of mine was attending a stars and constellations themed ball. She A friend of mine was attending a stars and constellations themed ball. She

View File

@ -1,6 +1,6 @@
Title: Remote Control Light Switch Title: Remote Control Light Switch
Date: 2014-10-09 Date: 2014-10-09
Category: Projects Category: Creations
Summary: A device to toggle my lights remotely. Summary: A device to toggle my lights remotely.
I wanted the ability to toggle my bedroom light remotely for convenience. I I wanted the ability to toggle my bedroom light remotely for convenience. I

32
content/pages/projects.md Normal file
View File

@ -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.
### <a href="https://news.t0.vc/">QotNews</a>
<a href="https://git.tannercollin.com/tanner/qotnews">*source code*</a>
Hacker News, Reddit, Lobsters, and Tildes articles pre-rendered in reader mode. Optimized for speed and distraction-free reading.
### <a href="https://notica.us">Notica</a>
<a href="https://github.com/tannercollin/Notica">*source code*</a>
Send browser notifications from your terminal. No installation. No registration.
### <a href="https://my.protospace.ca">Spaceport</a>
<a href="https://github.com/Protospace/spaceport">*source code*</a>
Makerspace members' portal for Calgary Protospace. It tracks membership, courses, training, access cards, and more.
### <a href="https://txt.t0.vc">t0txt</a>
<a href="https://github.com/tannercollin/t0txt">*source code*</a>
Minimal command line pastebin. Allows you to upload text notes from a bash pipe or web browser.
### <a href="https://github.com/tannercollin/standardnotes-fs">standardnotes-fs</a>
A filesystem that mounts your Standard Notes account as a directory of text files that you can edit.

8
content/pages/resume.md Normal file
View File

@ -0,0 +1,8 @@
Title: Resume
- Firmware Engineer at Cabana Blockchain, 2018
- Lead Hardware Engineer at Critical Control, 20162018
- Electrical Engineer at Opener Aero, 20162016
- Electrical Engineer Intern at Pason Systems, 20142015
- BSc. Electrical Engineering from University of Calgary

View File

@ -1,6 +1,6 @@
Title: Mans Reach Exceeds His Grasp Title: Mans Reach Exceeds His Grasp
Date: 2012-04-11 Date: 2012-04-11
Category: Projects Category: Creations
Summary: My first attempt at painting with acrylic. Summary: My first attempt at painting with acrylic.
The painting is called “Mans Reach Exceeds His Grasp”. I've always wanted to The painting is called “Mans Reach Exceeds His Grasp”. I've always wanted to

View File

@ -1,6 +1,6 @@
Title: Automatic Plant Waterer Title: Automatic Plant Waterer
Date: 2014-06-05 Date: 2014-06-05
Category: Projects Category: Creations
Summary: A device that automatically waters plants. Summary: A device that automatically waters plants.
One day I decided watering my one plant was too much work, so I automated it. One day I decided watering my one plant was too much work, so I automated it.

View File

@ -1,6 +1,6 @@
Title: Solar Car Title: Solar Car
Date: 2013-04-27 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. 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 I joined the University of Calgary Solar Car Team in my first semester for a

65
pelicanconf_lite.py Normal file
View File

@ -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

63
publishconf_lite.py Normal file
View File

@ -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

View File

@ -0,0 +1,62 @@
{% extends "base.html" %}
{% block title %}{{ SITENAME }} - {{ article.title|striptags }}{% endblock %}
{% block head %}
{{ super() }}
{% if article.date %}
<meta name="date" content="{{article.date}}" />
{% endif %}
{% if article.summary %}
<meta name="description" content="{{article.summary|striptags}}" />
<meta name="summary" content="{{article.summary|striptags}}" />
{% endif %}
{% if article.category %}
<meta name="category" content="{{article.category}}" />
{% endif %}
{% for tag in article.tags %}
<meta name="tags" content="{{tag}}" />
{% endfor %}
{% endblock %}
{% block info %}
Tanner Collin
<p class="contact-icons">
<a href="mailto:site2@tannercollin.com" rel="noreferrer noopener"><img alt="email" src="/theme/mail.svg" width="20" height="20" /></a>
<a href="https://t.me/tannercollin" target="_blank" rel="noreferrer noopener"><img alt="telegram" src="/theme/telegram.svg" width="20" height="20" /></a>
<a href="https://github.com/tannercollin" target="_blank" rel="noreferrer noopener"><img alt="github" src="/theme/github.svg" width="20" height="20" /></a>
</p>
{% endblock %}
{% block content %}
{% if article.wide %}
<div class="content content-wide">
{% else %}
<div class="content">
{% endif %}
<p><a href="/">← Return to Home</a></p>
<header>
<h1>{{ article.title }}</h1>
<div class="summary">
{{ article.summary }}
</div>
<p class="metadata">
{{ article.locale_date }}
{% if article.modified %}
— updated {{ article.locale_modified }}
{% endif %}
</p>
</header>
<hr />
<article>
{{ article.content }}
</article>
</div>
{% endblock %}

View File

@ -0,0 +1,17 @@
<meta charset="UTF-8"/>
<style>
body {background: #eee; font: 1.1rem/1.5 serif;}
h1, h2 {margin-left: -24; font-family: sans-serif;}
a {text-decoration: none; color: #000; border-bottom: 1px solid #000;}
</style>
<div style="max-width: 600; margin: auto">
<h1>Tanner Collin</h1>
<p> Hi, I'm Tanner! I do firmware and web development in Calgary.</p>
<a href="/">Contact</a> |
<a href="/resume">Resume</a> |
<a href="/projects">Projects</a> |
<a href="/creations">Creations</a> |
<a href="/writing">Writing</a>
{% block content %}
{% endblock %}
</div>

View File

@ -0,0 +1,6 @@
{% extends "base.html" %}
{% block content %}
<h2>{{ category.title }}</h2>
{% endblock %}

View File

@ -0,0 +1,7 @@
{% extends "base.html" %}
{% block content %}
<h2>Contact Info</h2>
<p>Email: <a href="mailto:site2@tannercollin.com">site2@tannercollin.com</a></p>
<p>Telegram: <a href="https://t.me/tannercollin">@tannercollin</a></p>
{% endblock %}

View File

@ -0,0 +1,6 @@
{% extends "base.html" %}
{% block content %}
<h2>{{ page.title }}</h2>
{{ page.content }}
{% endblock %}

View File

@ -97,7 +97,7 @@
<p>Sometimes I create art or interactive tech.</p> <p>Sometimes I create art or interactive tech.</p>
{% for article in articles_page.object_list if article.category.name == 'Projects' %} {% for article in articles_page.object_list if article.category.name == 'Creations' %}
<h3><a href="{{ article.url }}">{{ article.title }}</a></h3> <h3><a href="{{ article.url }}">{{ article.title }}</a></h3>
<div class="summary"> <div class="summary">
{{ article.summary }} {{ article.summary }}