From efecc526059542c4f34b6dce9ac58bf03121818c Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Tue, 27 Jul 2021 03:51:36 +0000 Subject: [PATCH] Make site even smaller --- pelicanconf_lite.py | 8 ++------ publishconf_lite.py | 8 ++------ themes/lite/templates/base.html | 6 +++--- 3 files changed, 7 insertions(+), 15 deletions(-) diff --git a/pelicanconf_lite.py b/pelicanconf_lite.py index 35fa18a..78e0f23 100644 --- a/pelicanconf_lite.py +++ b/pelicanconf_lite.py @@ -55,11 +55,7 @@ CATEGORIES_SAVE_AS = '' TAGS_SAVE_AS = '' INDEX_SAVE_AS = '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' +ARTICLE_URL = '{date:%d}/' +ARTICLE_SAVE_AS = '{date:%d}/index.html' PROD = False diff --git a/publishconf_lite.py b/publishconf_lite.py index f10fa77..c8c502e 100644 --- a/publishconf_lite.py +++ b/publishconf_lite.py @@ -55,11 +55,7 @@ CATEGORIES_SAVE_AS = '' TAGS_SAVE_AS = '' INDEX_SAVE_AS = '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' +ARTICLE_URL = '{date:%d}/' +ARTICLE_SAVE_AS = '{date:%d}/index.html' PROD = True diff --git a/themes/lite/templates/base.html b/themes/lite/templates/base.html index 1a2c839..35d215b 100644 --- a/themes/lite/templates/base.html +++ b/themes/lite/templates/base.html @@ -1,8 +1,8 @@ - - + + +{% block style %}{% endblock %}
 Tanner Collin
 
 {% block content %}
 {% endblock %}
-