-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f1a17fa
commit 5954d8a
Showing
16 changed files
with
172 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,7 @@ __pycache__/ | |
.DS_Store | ||
|
||
# node and js nonsense | ||
node_modules/ | ||
node_modules/ | ||
|
||
|
||
.TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# About this theme | ||
|
||
Not really a theme, just web design really. | ||
|
||
``` | ||
├── static | ||
│ ├── css | ||
│ └── images | ||
└── templates | ||
├── archives.html // to display archives | ||
├── article.html // processed for each article | ||
├── author.html // processed for each author | ||
├── authors.html // must list all the authors | ||
├── categories.html // must list all the categories | ||
├── category.html // processed for each category | ||
├── index.html // the index (list all the articles) | ||
├── page.html // processed for each page | ||
├── period_archives.html // to display time-period archives | ||
├── tag.html // processed for each tag | ||
└── tags.html // must list all the tags. Can be a tag cloud. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{% if ANALYTICS %} | ||
{{ ANALYTICS }} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block title %}{{ SITENAME|striptags }} - Archives{% endblock %} | ||
|
||
{% block content %} | ||
<h2>Archives for {{ SITENAME }}</h2> | ||
|
||
<dl> | ||
{% for article in dates %} | ||
<dt>{{ article.locale_date }}</dt> | ||
<dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd> | ||
{% endfor %} | ||
</dl> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{% extends "base.html" %} | ||
{% block content %} | ||
{% block content_title %} | ||
<h2>All articles</h2> | ||
{% endblock %} | ||
|
||
|
||
{% for article in articles_page.object_list %} | ||
<article> | ||
<header> | ||
<h3><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ | ||
article.title }}</a></h3> | ||
</header> | ||
<section>{{ article.summary }}</section> | ||
<footer> | ||
<p>Published: <time datetime="{{ article.date.isoformat() }}"> {{ article.locale_date }} </time></p> | ||
<address>By | ||
{% for author in article.authors %} | ||
<a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a> | ||
{% endfor %} | ||
</address> | ||
</footer> | ||
</article> | ||
{% endfor %} | ||
|
||
{% if articles_page.has_other_pages() %} | ||
{% include 'pagination.html' %} | ||
{% endif %} | ||
|
||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{% if FEED_ALL_ATOM %} | ||
<link | ||
href="{{ FEED_DOMAIN }}/{% if FEED_ALL_ATOM_URL %}{{ FEED_ALL_ATOM_URL }}{% else %}{{ FEED_ALL_ATOM }}{% endif %}" | ||
type="application/atom+xml" rel="alternate" title="{{ SITENAME|striptags }} Full Atom Feed" /> | ||
{% endif %} | ||
{% if FEED_ALL_RSS %} | ||
<link href="{{ FEED_DOMAIN }}/{% if FEED_ALL_RSS_URL %}{{ FEED_ALL_RSS_URL }}{% else %}{{ FEED_ALL_RSS }}{% endif %}" | ||
type="application/rss+xml" rel="alternate" title="{{ SITENAME|striptags }} Full RSS Feed" /> | ||
{% endif %} | ||
{% if FEED_ATOM %} | ||
<link href="{{ FEED_DOMAIN }}/{%if FEED_ATOM_URL %}{{ FEED_ATOM_URL }}{% else %}{{ FEED_ATOM }}{% endif %}" | ||
type="application/atom+xml" rel="alternate" title="{{ SITENAME|striptags }} Atom Feed" /> | ||
{% endif %} | ||
{% if FEED_RSS %} | ||
<link href="{{ FEED_DOMAIN }}/{% if FEED_RSS_URL %}{{ FEED_RSS_URL }}{% else %}{{ FEED_RSS }}{% endif %}" | ||
type="application/rss+xml" rel="alternate" title="{{ SITENAME|striptags }} RSS Feed" /> | ||
{% endif %} | ||
{% if CATEGORY_FEED_ATOM and category %} | ||
<link | ||
href="{{ FEED_DOMAIN }}/{% if CATEGORY_FEED_ATOM_URL %}{{ CATEGORY_FEED_ATOM_URL.format(slug=category.slug) }}{% else %}{{ CATEGORY_FEED_ATOM.format(slug=category.slug) }}{% endif %}" | ||
type="application/atom+xml" rel="alternate" title="{{ SITENAME|striptags }} Categories Atom Feed" /> | ||
{% endif %} | ||
{% if CATEGORY_FEED_RSS and category %} | ||
<link | ||
href="{{ FEED_DOMAIN }}/{% if CATEGORY_FEED_RSS_URL %}{{ CATEGORY_FEED_RSS_URL.format(slug=category.slug) }}{% else %}{{ CATEGORY_FEED_RSS.format(slug=category.slug) }}{% endif %}" | ||
type="application/rss+xml" rel="alternate" title="{{ SITENAME|striptags }} Categories RSS Feed" /> | ||
{% endif %} | ||
{% if TAG_FEED_ATOM and tag %} | ||
<link | ||
href="{{ FEED_DOMAIN }}/{% if TAG_FEED_ATOM_URL %}{{ TAG_FEED_ATOM_URL.format(slug=tag.slug) }}{% else %}{{ TAG_FEED_ATOM.format(slug=tag.slug) }}{% endif %}" | ||
type="application/atom+xml" rel="alternate" title="{{ SITENAME|striptags }} Tags Atom Feed" /> | ||
{% endif %} | ||
{% if TAG_FEED_RSS and tag %} | ||
<link | ||
href="{{ FEED_DOMAIN }}/{% if TAG_FEED_RSS_URL %}{{ TAG_FEED_RSS_URL.format(slug=tag.slug) }}{% else %}{{ TAG_FEED_RSS.format(slug=tag.slug) }}{% endif %}" | ||
type="application/rss+xml" rel="alternate" title="{{ SITENAME|striptags }} Tags RSS Feed" /> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters