Compare commits
No commits in common. "efecc526059542c4f34b6dce9ac58bf03121818c" and "8f5f04279445808c086fd02b5b0e8c05c6dad81f" have entirely different histories.
efecc52605
...
8f5f042794
|
@ -55,7 +55,11 @@ CATEGORIES_SAVE_AS = ''
|
|||
TAGS_SAVE_AS = ''
|
||||
|
||||
INDEX_SAVE_AS = 'index.html'
|
||||
ARTICLE_URL = '{date:%d}/'
|
||||
ARTICLE_SAVE_AS = '{date:%d}/index.html'
|
||||
ARTICLE_URL = '{slug}/'
|
||||
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
|
||||
|
|
|
@ -55,7 +55,11 @@ CATEGORIES_SAVE_AS = ''
|
|||
TAGS_SAVE_AS = ''
|
||||
|
||||
INDEX_SAVE_AS = 'index.html'
|
||||
ARTICLE_URL = '{date:%d}/'
|
||||
ARTICLE_SAVE_AS = '{date:%d}/index.html'
|
||||
ARTICLE_URL = '{slug}/'
|
||||
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
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<meta charset=UTF-8/>
|
||||
<link rel=icon href=data:,>
|
||||
{% block style %}{% endblock %}
|
||||
<meta charset="UTF-8"/>
|
||||
<link rel="icon" href="data:;base64,=">
|
||||
<pre>
|
||||
Tanner Collin
|
||||
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</pre>
|
||||
|
|
10
themes/lite/templates/category.html
Normal file
10
themes/lite/templates/category.html
Normal 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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user