Compare commits

...

2 Commits

Author SHA1 Message Date
efecc52605 Make site even smaller 2021-07-27 03:51:36 +00:00
1e4baa950f Remove category template 2021-07-26 23:27:22 +00:00
4 changed files with 7 additions and 25 deletions

View File

@ -55,11 +55,7 @@ CATEGORIES_SAVE_AS = ''
TAGS_SAVE_AS = '' TAGS_SAVE_AS = ''
INDEX_SAVE_AS = 'index.html' INDEX_SAVE_AS = 'index.html'
ARTICLE_URL = '{slug}/' ARTICLE_URL = '{date:%d}/'
ARTICLE_SAVE_AS = '{slug}/index.html' ARTICLE_SAVE_AS = '{date:%d}/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,11 +55,7 @@ CATEGORIES_SAVE_AS = ''
TAGS_SAVE_AS = '' TAGS_SAVE_AS = ''
INDEX_SAVE_AS = 'index.html' INDEX_SAVE_AS = 'index.html'
ARTICLE_URL = '{slug}/' ARTICLE_URL = '{date:%d}/'
ARTICLE_SAVE_AS = '{slug}/index.html' ARTICLE_SAVE_AS = '{date:%d}/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:;base64,="> <link rel=icon href=data:,>
{% block style %}{% endblock %}
<pre> <pre>
Tanner Collin Tanner Collin
{% block content %} {% block content %}
{% endblock %} {% endblock %}
</pre>

View File

@ -1,10 +0,0 @@
{% 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 %}