Add subpages, and wine crate coffee table

This commit is contained in:
2022-02-14 23:01:50 +00:00
parent 25a2de77a1
commit 42cbd0e54a
17 changed files with 180 additions and 73 deletions

View File

@@ -1,6 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
import os
AUTHOR = 'Tanner Collin'
SITENAME = 'Tanner Collin'
@@ -55,7 +56,14 @@ CATEGORIES_SAVE_AS = ''
TAGS_SAVE_AS = ''
INDEX_SAVE_AS = 'index.html'
ARTICLE_URL = '{date:%d}/'
ARTICLE_SAVE_AS = '{date:%d}/index.html'
ARTICLE_URL = '{short}/'
ARTICLE_SAVE_AS = '{short}/index.html'
PAGE_URL = '{slug}'
PAGE_SAVE_AS = '{slug}/index.html'
def list_text_files():
return sorted(os.listdir('./content/text'))
JINJA_GLOBALS = {'list_text_files': list_text_files}
PROD = False