Browse Source

using home.html as first page

master
manetta 4 years ago
parent
commit
7c8e025514
  1. 2
      pelicanconf.py
  2. 10
      themes/default/templates/home.html

2
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

10
themes/default/templates/home.html

@ -0,0 +1,10 @@
{% extends "base.html" %}
{% block content %}
{% block content_title %}
{% endblock %}
:)
{% endblock content %}
Loading…
Cancel
Save