Browse Source

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

pull/1/head
rra 5 years ago
parent
commit
6f6b611b79
  1. 3
      content/pages/manifesto.md
  2. 1
      pelicanconf.py
  3. 50
      themes/homebrewtheme/templates/manifesto.html

3
content/manifesto.md → 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.

1
pelicanconf.py

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

50
themes/homebrewtheme/templates/manifesto.html

@ -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 %}
Loading…
Cancel
Save