Trim down lite version even more

master
Tanner Collin 3 years ago
parent 600cc9e51f
commit 8f5f042794
  1. 32
      content/pages/projects.md
  2. 8
      content/pages/resume.md
  3. 2
      publishconf_lite.py
  4. 58
      themes/lite/templates/article.html
  5. 23
      themes/lite/templates/base.html
  6. 43
      themes/lite/templates/index.html
  7. 6
      themes/lite/templates/page.html

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

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

@ -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}/'

@ -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 %}
<h2>{{ article.title }}</h2>
<header>
<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>
<h1>{{ article.title }}</h1>
{{ article.summary }}
{{ article.locale_date }}
<hr />
{{ article.content }}
{% endblock %}

@ -1,21 +1,8 @@
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="data:;base64,=">
<style>
body {font: 1.1rem/1.5 serif; overflow-y: scroll;}
h1, h2 {font-family: sans-serif;}
a {text-decoration: none; color: #000; border-bottom: 1px solid #000;}
{% block style %}
<pre>
Tanner Collin
{% block content %}
{% endblock %}
</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>
</pre>

@ -1,7 +1,42 @@
{% 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>
Hi, I'm Tanner! I do firmware and web development in Calgary.
Contact Info
============
Email: <a href="mailto:site2@tannercollin.com">site2@tannercollin.com</a>
Telegram: <a href="https://t.me/tannercollin">@tannercollin</a>
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
========
<a href="https://news.t0.vc/">QotNews</a>
<a href="https://notica.us">Notica</a>
<a href="https://my.protospace.ca">Spaceport</a>
<a href="https://txt.t0.vc">t0txt</a>
<a href="https://github.com/tannercollin/standardnotes-fs">standardnotes-fs</a>
Creations
=========
{% for article in articles_page.object_list if article.category.name == 'Creations' %}
<a href="{{ article.url }}">{{ article.title }}</a>
{% endfor %}
Writing
=======
{% for article in articles_page.object_list if article.category.name == 'Writing' %}
<a href="{{ article.url }}">{{ article.title }}</a>
{% endfor %}
{% endblock %}

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