Skip to content

Commit d9f9874

Browse files
committed
Omnibus commit of misc stuff that I changed over the last ~4 yrs!
1 parent 216d3cf commit d9f9874

34 files changed

+43
-19
lines changed

LICENSE.txt

100644100755
File mode changed.

readme.md

100644100755
File mode changed.

screenshot.png

100644100755
File mode changed.

static/css/fontello-config.json

100644100755
File mode changed.

static/css/fontello.css

100644100755
File mode changed.

static/css/main.css

100644100755
+9-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ body {
66
}
77
p {
88
margin: 0.8em 0;
9-
text-align: justify;
109
font-size: 1.15em;
1110

1211
-webkit-hyphens: auto;
@@ -196,6 +195,7 @@ h1 {
196195
.article { padding-bottom:15px; padding-right: 40px; }
197196
.content-title { margin: 0.2em 0 0.2em 0; padding-right: 0.2em; }
198197

198+
/* Article Sidebar */
199199
.article-sidebar {
200200
text-align: left;
201201
color: #888;
@@ -246,6 +246,12 @@ h1 {
246246
color: #bbb;
247247
}
248248

249+
.article-sidebar h4 {
250+
color: #888;
251+
}
252+
253+
254+
/* Article Blockquotes */
249255
.content blockquote {
250256
border-left: 5px solid #dedede;
251257
}
@@ -255,6 +261,7 @@ h1 {
255261
font-style: italic;
256262
}
257263

264+
258265
/* Styles for article footnotes */
259266
.content table.footnote {
260267
font-size: 95%;
@@ -429,7 +436,7 @@ h1 {
429436
.highlight {
430437
border-radius: 5px;
431438
}
432-
.wrap .highlight pre {
439+
.wrap .highlight pre {
433440
white-space: normal;
434441
word-break: break-word;
435442
overflow-wrap: break-word;

static/css/print.css

100644100755
File mode changed.

static/css/pygments-monokai.css

100644100755
File mode changed.

static/font/fontello.eot

100644100755
File mode changed.

static/font/fontello.svg

100644100755
File mode changed.

static/font/fontello.ttf

100644100755
File mode changed.

static/font/fontello.woff

100644100755
File mode changed.

static/js/html5.js

100644100755
File mode changed.

templates/analytics.html

100644100755
File mode changed.

templates/archives.html

100644100755
File mode changed.

templates/article-sidebar-multipart.html

100644100755
File mode changed.

templates/article-sidebar-toc.html

100644100755
+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{% if article.toc %}
22
<div class="row-fluid">
3+
<h4>Contents:</h4>
34
<nav>
45
{{ article.toc }}
56
</nav>
67
</div>
7-
{% endif %}
8+
{% endif %}

templates/article-sidebar.html

100644100755
+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</div>
1919

2020
<div class="span10">
21-
<p class="tag_heading">Tags:</p>
21+
<h4 class="tag_heading">Tags:</h4>
2222
<ul class="tag-list">
2323
{% for tag in article.tags|sort %}
2424
<li class="tag"><i class="icon-tags muted"></i><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li>
@@ -37,4 +37,4 @@
3737
{% include "googleplus.html" %}
3838
</div>
3939
{% endif %}
40-
</div>
40+
</div>

templates/article.html

100644100755
+18
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,23 @@
66

77
{% block title %}{{ article.title|striptags }} &middot; {{ SITENAME }}{% endblock %}
88
{% block description %}{{ article.meta_description|d(article.summary|striptags|striptags|striptags) }}{% endblock %}
9+
10+
{% if DUBLIN_CORE_METADATA %}
11+
{% block dublin_core_metadata %}
12+
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" />
13+
<link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" />
14+
15+
<meta name="DC.title" lang="en" content="{{ article.title|striptags }}" />
16+
<meta name="DC.creator" content="{{ article.author }}" />
17+
<meta name="DCTERMS.issued" scheme="DCTERMS.W3CDTF" content="{{ article.date.isoformat() }}" />
18+
{% if article.last_modified_date %}<meta name="DCTERMS.modified" content="{{ article.last_modified_date.isoformat() }}" />{% endif %}
19+
<meta name="DC.identifier" scheme="DCTERMS.URI" content="{{ SITEURL }}/{{ article.url }}" />
20+
<meta name="DCTERMS.abstract" content="{{ article.meta_description|d(article.summary|striptags|striptags|striptags) }}" />
21+
<meta name="DC.format" scheme="DCTERMS.IMT" content="text/html" />
22+
<meta name="DC.type" scheme="DCTERMS.DCMIType" content="Text" />
23+
{% endblock %}
24+
{% endif %}
25+
926
{% if TWITTER_CARD %}
1027
{% block twittercard %}
1128
{% if article.thumbnail %}
@@ -22,6 +39,7 @@
2239
<meta name="twitter:domain" content="{{ SITE_DOMAIN }}">
2340
{% endblock %}
2441
{% endif %}
42+
2543
{% if OPEN_GRAPH_METADATA %}
2644
{% block opengraph %}
2745
{% if article.thumbnail %}

templates/author.html

100644100755
File mode changed.

templates/base.html

100644100755
+12-3
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,32 @@
55
xmlns:fb="https://www.facebook.com/2008/fbml"{% endif %}>
66
<head>
77
<meta charset="utf-8">
8+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
9+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
10+
811
<link href="//fonts.googleapis.com" rel="dns-prefetch">
912
<link href="//themes.googleusercontent.com" rel="dns-prefetch">
1013
<link href="//fonts.gstatic.com" rel="dns-prefetch">
1114
<link href="//netdna.bootstrapcdn.com" rel="dns-prefetch">
1215
<link href="//ajax.googleapis.com" rel="dns-prefetch">
1316
<link href="//google-analytics.com" rel="dns-prefetch">
1417
<link href="//www.google-analytics.com" rel="dns-prefetch">
18+
1519
<title>{% block title %}{{ SITE_TITLE }} &middot; {{ SITENAME }}{% endblock %}</title>
20+
1621
{# Favicons #}
1722
<meta itemprop="image" content="{% block metaimage %}/images/favicon-128x128.png{% endblock %}">
1823
<link rel="shortcut icon" href="/favicon.ico">
1924
<link rel="apple-touch-icon-precomposed" href="/images/apple-touch-icon.png">
25+
{# /Favicons #}
2026

21-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
2227
<meta name="description" itemprop="description" content="{% block description %}{{ SITE_DESCRIPTION }}{% endblock %}" />
2328

24-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
25-
2629
<meta name="copyright" content="Copyright (c) {{ COPYRIGHT_FROM }}-{{ COPYRIGHT_UNTIL }} {{ AUTHOR }}" />
2730
<meta name="author" content="{{ AUTHOR }}" />
31+
{% if article %}
32+
<meta name="date" content="{{ article.date.isoformat() }}" />
33+
{% endif %}
2834

2935
<script type="application/ld+json">
3036
{
@@ -41,6 +47,9 @@
4147
}
4248
</script>
4349

50+
{% if DUBLIN_CORE_METADATA %}
51+
{% block dublin_core_metadata %} {% endblock %}
52+
{% endif %}
4453

4554
{% if FEED_RSS %}
4655
<link rel='alternate' type='application/rss+xml' title='RSS Feed (full content)' href='/{{ FEED_RSS }}' />

templates/categories.html

100644100755
File mode changed.

templates/category.html

100644100755
File mode changed.

templates/colophon.html

100644100755
File mode changed.

templates/disqus.html

100644100755
File mode changed.

templates/footer.html

100644100755
File mode changed.

templates/googleplus.html

-11
This file was deleted.

templates/index.html

100644100755
File mode changed.

templates/page.html

100644100755
File mode changed.

templates/pagination.html

100644100755
File mode changed.

templates/period_archives.html

100644100755
File mode changed.

templates/tag.html

100644100755
File mode changed.

templates/tags.html

100644100755
File mode changed.

templates/twitter.html

100644100755
File mode changed.

0 commit comments

Comments
 (0)