From 6f6b611b792735f0873524ebcd9a216de7786ceb Mon Sep 17 00:00:00 2001 From: rra Date: Wed, 19 Jun 2019 15:45:32 +0200 Subject: [PATCH] changed manifesto from article to page, rm'd manifesto template, added manifesto to menu --- content/{ => pages}/manifesto.md | 3 +- pelicanconf.py | 1 + themes/homebrewtheme/templates/manifesto.html | 50 ------------------- 3 files changed, 2 insertions(+), 52 deletions(-) rename content/{ => pages}/manifesto.md (94%) delete mode 100644 themes/homebrewtheme/templates/manifesto.html diff --git a/content/manifesto.md b/content/pages/manifesto.md similarity index 94% rename from content/manifesto.md rename to content/pages/manifesto.md index 922ee04..faad1ab 100644 --- a/content/manifesto.md +++ b/content/pages/manifesto.md @@ -1,8 +1,7 @@ Title: manifesto Date: 2019-06-18 save_as: index.html -template: manifesto - +status: hidden - The homebrewserver.club takes the 'home' in homebrewserver.club literally and the 'self' in self-hosting figuratively. diff --git a/pelicanconf.py b/pelicanconf.py index 5ea608c..58cc0e2 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -49,6 +49,7 @@ MARKDOWN = {'extensions': } DISPLAY_CATEGORIES_ON_MENU = True +MENUITEMS = [('Manifesto', '/')] DELETE_OUTPUT_DIRECTORY = True diff --git a/themes/homebrewtheme/templates/manifesto.html b/themes/homebrewtheme/templates/manifesto.html deleted file mode 100644 index 1626dd5..0000000 --- a/themes/homebrewtheme/templates/manifesto.html +++ /dev/null @@ -1,50 +0,0 @@ -{% extends "base.html" %} -{% block head %} - {{ super() }} - {% if article.description %} - - {% endif %} - - {% if article.tags or article.category or article.keywords %} - - {% endif %} - - -{% endblock %} - -{% block content %} -
-
-
- {{ article.title }}
- {% import 'translations.html' as translations with context %} - {{ translations.translations_for(article) }} -
- - {% if article.toc %} - {{ article.toc }} - {% endif %} -
- {{ article.content }} -
-
-{% endblock %}