pelican-alchemy/alchemy/templates/page.html
Raymond Wanyoike 23ef8ca9cc Simplify jinja2 base templates, update theme options
- New realfavicongenerator.net packages (https://realfavicongenerator.net/blog/new-favicon-package-less-is-more/)
- Support all possible Pelican feed links
- Add recommended HEAD elements (https://github.com/joshbuchea/HEAD)
- Use minified css assets
- Link to boostrap, clean-blog and font-awesome stylesheets
- Add theme options, better options names

Template consistency, update structure on base.html

Fix missing article summary on index.html

Show the article.summary for teasers
2016-11-06 22:32:20 +03:00

24 lines
424 B
HTML

{% extends "base.html" %}
{% block head %}
{{ super() }}
{% if page.summary %}
<meta name="description" content="{{ page.summary|striptags }}">
{% endif %}
{% endblock %}
{% block title %}
{{ page.title|striptags }} {{ super() }}
{% endblock %}
{% block page_header %}
{{ page.title }}
{% endblock %}
{% block content %}
<div class="page">
<div class="page-main">
{{ page.content }}
</div>
</div>
{% endblock %}