From 7c8e025514acfc7cb0757d84a1df2549acca0ae9 Mon Sep 17 00:00:00 2001 From: manetta Date: Fri, 4 Sep 2020 18:20:59 +0200 Subject: [PATCH] using home.html as first page --- pelicanconf.py | 2 ++ themes/default/templates/home.html | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 themes/default/templates/home.html diff --git a/pelicanconf.py b/pelicanconf.py index 581cb62..b4870d7 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -28,6 +28,8 @@ USE_FOLDER_AS_CATEGORY = True DEFAULT_PAGINATION = False +TEMPLATE_PAGES = {'home.html': 'index.html',} + # Uncomment following line if you want document-relative URLs when developing #RELATIVE_URLS = True diff --git a/themes/default/templates/home.html b/themes/default/templates/home.html new file mode 100644 index 0000000..d5c71ee --- /dev/null +++ b/themes/default/templates/home.html @@ -0,0 +1,10 @@ +{% extends "base.html" %} + +{% block content %} + +{% block content_title %} +{% endblock %} + +:) + +{% endblock content %}