Rename Projects category to Creations
This commit is contained in:
parent
a966b59b66
commit
65b3ad7fbf
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
32
content/pages/projects.md
Normal file
32
content/pages/projects.md
Normal 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
8
content/pages/resume.md
Normal file
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
65
pelicanconf_lite.py
Normal file
65
pelicanconf_lite.py
Normal 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
63
publishconf_lite.py
Normal 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
|
62
themes/lite/templates/article.html
Normal file
62
themes/lite/templates/article.html
Normal 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 %}
|
17
themes/lite/templates/base.html
Normal file
17
themes/lite/templates/base.html
Normal 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>
|
6
themes/lite/templates/category.html
Normal file
6
themes/lite/templates/category.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h2>{{ category.title }}</h2>
|
||||
{% endblock %}
|
||||
|
7
themes/lite/templates/index.html
Normal file
7
themes/lite/templates/index.html
Normal 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 %}
|
6
themes/lite/templates/page.html
Normal file
6
themes/lite/templates/page.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h2>{{ page.title }}</h2>
|
||||
{{ page.content }}
|
||||
{% endblock %}
|
|
@ -97,7 +97,7 @@
|
|||
|
||||
<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>
|
||||
<div class="summary">
|
||||
{{ article.summary }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user