Compare commits

..

No commits in common. "efecc526059542c4f34b6dce9ac58bf03121818c" and "8f5f04279445808c086fd02b5b0e8c05c6dad81f" have entirely different histories.

4 changed files with 25 additions and 7 deletions

View File

@ -55,7 +55,11 @@ CATEGORIES_SAVE_AS = ''
TAGS_SAVE_AS = '' TAGS_SAVE_AS = ''
INDEX_SAVE_AS = 'index.html' INDEX_SAVE_AS = 'index.html'
ARTICLE_URL = '{date:%d}/' ARTICLE_URL = '{slug}/'
ARTICLE_SAVE_AS = '{date:%d}/index.html' 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 PROD = False

View File

@ -55,7 +55,11 @@ CATEGORIES_SAVE_AS = ''
TAGS_SAVE_AS = '' TAGS_SAVE_AS = ''
INDEX_SAVE_AS = 'index.html' INDEX_SAVE_AS = 'index.html'
ARTICLE_URL = '{date:%d}/' ARTICLE_URL = '{slug}/'
ARTICLE_SAVE_AS = '{date:%d}/index.html' 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 = True PROD = True

View File

@ -1,8 +1,8 @@
<meta charset=UTF-8/> <meta charset="UTF-8"/>
<link rel=icon href=data:,> <link rel="icon" href="data:;base64,=">
{% block style %}{% endblock %}
<pre> <pre>
Tanner Collin Tanner Collin
{% block content %} {% block content %}
{% endblock %} {% endblock %}
</pre>

View File

@ -0,0 +1,10 @@
{% extends "base.html" %}
{% block content %}
<h2>{{ category }}</h2>
{% for article in articles_page.object_list if article.category == category %}
<h3><a href="{{ article.url }}">{{ article.title }}</a></h3>
{{ article.summary }}
{% endfor %}
{% endblock %}