changed manifesto from article to page, rm'd manifesto template, added manifesto to menu

This commit is contained in:
rra 2019-06-19 15:45:32 +02:00
parent ba66c70fc2
commit 6f6b611b79
3 changed files with 2 additions and 52 deletions

View File

@ -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.

View File

@ -49,6 +49,7 @@ MARKDOWN = {'extensions':
}
DISPLAY_CATEGORIES_ON_MENU = True
MENUITEMS = [('Manifesto', '/')]
DELETE_OUTPUT_DIRECTORY = True

View File

@ -1,50 +0,0 @@
{% extends "base.html" %}
{% block head %}
{{ super() }}
{% if article.description %}
<meta name="description" content="{{article.description}}" />
{% endif %}
{% if article.tags or article.category or article.keywords %}
<meta name="keywords" content="{{ [article.tags|join(', '), article.category, article.keywords]|join(', ') }}" />
{% endif %}
{% endblock %}
{% block content %}
<section id="content" class="body">
<header>
<div class="entry-title">
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></div>
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(article) }}
</header>
<!--<div class="post-info">
<div class='summary'>{{ article.summary }}</div>
<time class="published" datetime="{{ article.date.isoformat() }}">
{{ article.locale_date }}
</time>
{% if article.modified %}
<time class="modified" datetime="{{ article.modified.isoformat() }}">
{{ article.locale_modified }}
</time>
{% endif %}
{% if article.authors %}
<address class="vcard author">
By {% for author in article.authors %}
<a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
{% endfor %}
</address>
{% endif %}
</div> -->
{% if article.toc %}
{{ article.toc }}
{% endif %}
<div class="entry-content">
{{ article.content }}
</div><!-- /.entry-content -->
</section>
{% endblock %}