Initial import.

This commit is contained in:
2022-02-23 22:55:41 -08:00
commit 41a42c7a59
48 changed files with 1876 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
{% extends "base.html" %}
{% block content %}
<section id="content" class="body">
<h1>Archives for {{ SITENAME }}</h1>
<ul>
{% for article in dates %}
<li>{{ article.date|strftime('%A, %Y %B %-d') }}: <a href='{{ SITEURL }}/{{ article.url }}'>{{ article.title }}</a></li>
{% endfor %}
</ul>
</section>
{% endblock %}

View File

@@ -0,0 +1,31 @@
{% extends "base.html" %}
{% block title %}{{ super() }} : {{ article.title }}{% endblock %}
{% block content %}
<article class="h-entry">
<header>
<h1><a href="{{ SITEURL }}" id="site-title"> {#{{ SITENAME }}#} {% if SITESUBTITLE %} <strong>{{ SITESUBTITLE }}</strong>{% endif %}</a> {#:#}
<a class="u-url p-name" href="{{ SITEURL }}/{{ article.url }}" id="page-title">{{ article.title }}</a></h1>
{% if not HIDE_DATE %}<time class="dt-published" datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time>{% endif %}
</header>
<div class="e-content">
{{ article.content }}
</div>
{% if article.tags %}
<hr />
<div>
Tags:
{% for tag in article.tags %}
<span itemprop="keywords">
<a href="{{ SITEURL }}/{{ tag.url }}" rel="tag">{{ tag }}</a>{% if not loop.last %}, {% endif %}
</span>
{% endfor %}
</div>
{% endif %}
<div style="display:none" class="h-card">
<img class="u-photo" src="/files/images/me.jpg" alt="A photo of the author." />
<p class="p-name">Kyle Isom</p>
</div>
<p class
</article>
{% endblock %}

View File

@@ -0,0 +1,2 @@
{% extends "index.html" %}
{% block title %}{{ SITENAME }} - {{ author }}{% endblock %}

View File

View File

@@ -0,0 +1,425 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>{% block title %}{{ SITENAME }}{%endblock%}</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link href="{{ SITEURL }}/{{ FEED_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
<link href="{{ SITEURL }}/{{ FEED_RSS }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
<style>
body {
margin: 0;
padding: 20px 0;
text-align: center;
font-family: Monospace;
color: #222;
}
a,a:visited {
text-decoration: none;
color: #222;
font-weight: 700;
}
a:hover {
color: #fff;
background-color: #111;
}
h1 {
text-transform: uppercase;
line-height: 1.2;
padding: 0 0 15px;
margin: 0 0 15px;
}
#wrap {
margin: 0 auto;
text-align: left;
font-size: 13px;
line-height: 1.4;
}
#container {
max-width: 1000px;
}
#sidebar {
overflow: hidden;
text-align: right;
height: auto;
padding: 0 5px 0 0;
border-right: 1px dotted #c8c8c8;
}
#sidebar h1 {
border-bottom: 1px dotted #c8c8c8;
}
#sidebar .description {
display: block;
width: 100%;
height: auto;
margin: 0 0 10px;
}
.entry {
font-size: 14px;
line-height: 20px;
width: 700px;
}
.entry img {
display: block;
border: 1px solid #bdbdbd!important;
max-width: 600;
}
.entry a img:hover {
background-color: transparent;
border: 1px solid #e5e5e5!important;
}
#footer {
text-align: center;
clear: both;
}
#footer div {
margin: 30px 0 0;
padding: 30px 0 0;
border-top: 1px dotted #c8c8c8;
}
#page-title {
position: relative;
top: 8px;
}
.highlight code,
.highlight pre {
color: #fdce93;
background-color: #3f3f3f;
padding: 10px;
}
.highlight .hll {
background-color: #222
}
.highlight .c {
color: #7f9f7f
}
.highlight .err {
color: #e37170;
background-color: #3d3535
}
.highlight .g {
color: #7f9f7f
}
.highlight .k {
color: #f0dfaf
}
.highlight .l {
color: #ccc
}
.highlight .n {
color: #dcdccc
}
.highlight .o {
color: #f0efd0
}
.highlight .x {
color: #ccc
}
.highlight .p {
color: #41706f
}
.highlight .cm {
color: #7f9f7f
}
.highlight .cp {
color: #7f9f7f
}
.highlight .c1 {
color: #7f9f7f
}
.highlight .cs {
color: #cd0000;
font-weight: bold
}
.highlight .gd {
color: #cd0000
}
.highlight .ge {
color: #ccc;
font-style: italic
}
.highlight .gr {
color: red
}
.highlight .gh {
color: #dcdccc;
font-weight: bold
}
.highlight .gi {
color: #00cd00
}
.highlight .go {
color: gray
}
.highlight .gp {
color: #dcdccc;
font-weight: bold
}
.highlight .gs {
color: #ccc;
font-weight: bold
}
.highlight .gu {
color: purple;
font-weight: bold
}
.highlight .gt {
color: #0040D0
}
.highlight .kc {
color: #dca3a3
}
.highlight .kd {
color: #ffff86
}
.highlight .kn {
color: #dfaf8f;
font-weight: bold
}
.highlight .kp {
color: #cdcf99
}
.highlight .kr {
color: #cdcd00
}
.highlight .kt {
color: #00cd00
}
.highlight .ld {
color: #cc9393
}
.highlight .m {
color: #8cd0d3
}
.highlight .s {
color: #cc9393
}
.highlight .na {
color: #9ac39f
}
.highlight .nb {
color: #efef8f
}
.highlight .nc {
color: #efef8f
}
.highlight .no {
color: #ccc
}
.highlight .nd {
color: #ccc
}
.highlight .ni {
color: #c28182
}
.highlight .ne {
color: #c3bf9f;
font-weight: bold
}
.highlight .nf {
color: #efef8f
}
.highlight .nl {
color: #ccc
}
.highlight .nn {
color: #8fbede
}
.highlight .nx {
color: #ccc
}
.highlight .py {
color: #ccc
}
.highlight .nt {
color: #9ac39f
}
.highlight .nv {
color: #dcdccc
}
.highlight .ow {
color: #f0efd0
}
.highlight .w {
color: #ccc
}
.highlight .mf {
color: #8cd0d3
}
.highlight .mh {
color: #8cd0d3
}
.highlight .mi {
color: #8cd0d3
}
.highlight .mo {
color: #8cd0d3
}
.highlight .sb {
color: #cc9393
}
.highlight .sc {
color: #cc9393
}
.highlight .sd {
color: #cc9393
}
.highlight .s2 {
color: #cc9393
}
.highlight .se {
color: #cc9393
}
.highlight .sh {
color: #cc9393
}
.highlight .si {
color: #cc9393
}
.highlight .sx {
color: #cc9393
}
.highlight .sr {
color: #cc9393
}
.highlight .s1 {
color: #cc9393
}
.highlight .ss {
color: #cc9393
}
.highlight .bp {
color: #efef8f
}
.highlight .vc {
color: #efef8f
}
.highlight .vg {
color: #dcdccc
}
.highlight .vi {
color: #ffffc7
}
.highlight .il {
color: #8cd0d3
}
</style>
</head>
<body>
<div id="wrap" style="width:900px">
<div id="container" style="width:600px">
<div id="sidebar">
<h1><a href="{{ SITEURL }} " title="title">{{ SITENAME }}</a></h1>
<span class="description">{{ DESCRIPTION }} </span>
<a href="/">Home</a> |
<a href="/about.html">About</a> |
<a href="/specs/">Specs</a>|
<a href="/archives.html">Archives</a> |
<a href="/tags.html">Tags</a> |
<a href="/ls.html">Pages</a> |
<span class="feed">Feeds: <a href="/index.rss">RSS</a> | <a href="/index.atom">Atom</a></span>
</div>
<hr /><br />
<div class="entry">
{% block content %}
{% endblock %}
</div>
</div>
<div id="footer">
<div id="credits">
<span>Adapted from <a href="http://wordpress.org/themes/monospace">Monospace</a> || Created with <a href="">Pelican</a></span>
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,8 @@
{% extends "base.html" %}
{% block content %}
<ul>
{% for category, articles in categories %}
<li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li>
{% endfor %}
</ul>
{% endblock %}

View File

@@ -0,0 +1,10 @@
{% extends "base.html" %}
{% block title %}{{ SITENAME }} - {{ category }}{% endblock %}
{% block content %}
<h1>{{ category }}</h1>
<ul>
{% for article in articles %}
<li><a href="{{ SITEURL }}"/{{ article.url }}">{{ article.title }}</a></li>
{% endfor %}
</ul>
{% endblock %}

View File

@@ -0,0 +1,33 @@
{% extends "base.html" %}
{% block content_title %}{% endblock %}
{% block content %}
<h3>wntrmute :: exocortex</h3>
<p>This is a project to build an exocortex. It is a dump from my current
system into a format suitable for public sharing.</p>
{% if articles %}
<h3>Recent posts</h3>
<ul>
{% for article in dates|filter_journal %}
<li>{{ article.date|strftime('%Y-%m-%d') }}: <a href='{{ SITEURL }}/{{ article.url }}'>{{ article.title }}</a></li>
{% endfor %}
</ul>
<h3>Recent journal entries</h3>
<p>Journal entries are writeups of stuff that happened over the course
of a day; the current day's entry might be updated over the course of
the day.</p>
<ul>
{% for article in dates|select_journal(limit=3) %}
<li>{{ article.date|strftime('%Y-%m-%d') }}: <a href='{{ SITEURL }}/{{ article.url }}'>{{ article.title }}</a></li>
{% endfor %}
</ul>
{% endif %}
<h3>Select pages</h3>
<ul>
<li><a href="/specs/functional.html">Functional spec</a></li>
</ul>
{% endblock content %}

View File

@@ -0,0 +1,11 @@
{% extends "base.html" %}
{% block title %}{{ page.title }}{% endblock %}
{% block content %}
<header>
<h1><a href="{{ SITEURL }}" id="site-title">{# {{ SITENAME }} #} {% if SITESUBTITLE %} <strong>{{ SITESUBTITLE }}</strong>{% endif %}</a> {#:#}
<a href="{{ SITEURL }}/{{ page.url }}" id="page-title">{{ page.title }}</a></h1>
</header>
<article>
{{ page.content }}
</article>
{% endblock %}

View File

@@ -0,0 +1,15 @@
{% if DEFAULT_PAGINATION %}
<p class="paginator">
{% if articles_page.has_previous() %}
{% if articles_page.previous_page_number() == 1 %}
<a href="{{ SITEURL }}/{{ page_name }}.html">&laquo;</a>
{% else %}
<a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.previous_page_number() }}.html">&laquo;</a>
{% endif %}
{% endif %}
Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
{% if articles_page.has_next() %}
<a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html">&raquo;</a>
{% endif %}
</p>
{% endif %}

View File

@@ -0,0 +1,10 @@
{% extends "index.html" %}
<!-- tag.html -->
{% block title %}{{ SITENAME }} - {{ tag }}{% endblock %}
{% block content %}
<ul>
{% for article in articles %}
<li><a href = "{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></li>
{% endfor %}
</ul>
{% endblock %}

View File

@@ -0,0 +1,3 @@
<!-- taglist.html -->
{% if article.tags %}<p>tags: {% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% endfor %}</p>{% endif %}
{% if PDF_PROCESSOR %}<p><a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">get the pdf</a></p>{% endif %}

View File

@@ -0,0 +1,9 @@
{% extends "base.html" %}
{% block content %}
<!-- tags.html -->
<ul>
{% for tag, articles in tags|sort %}
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li>
{% endfor %}
</ul>
{% endblock %}

View File

@@ -0,0 +1,6 @@
{% if article.translations %}
Translations:
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
{% endif %}