mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
- 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
36 lines
1.1 KiB
HTML
36 lines
1.1 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block head %}
|
|
{{ super() }}
|
|
<meta name="description" content="{{ SITE_DESCRIPTION|striptags }}">
|
|
{% endblock %}
|
|
|
|
{% block title %}
|
|
{{ SITENAME }} — {{ SITE_TAGLINE }}
|
|
{% endblock %}
|
|
|
|
{% block page_header %}
|
|
All Articles
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% for article in articles_page.object_list %}
|
|
<div class="teaser">
|
|
<div class="row">
|
|
<div class="col-sm-4 hidden-xs teaser-header">
|
|
<div class="text-muted teaser-date" title="{{ article.date.isoformat() }}">{{ article.locale_date }}</div>
|
|
<div><a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></div>
|
|
{% if article.author and SHOW_ARTICLE_AUTHOR %}
|
|
<div>By <a href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a></div>
|
|
{% endif %}
|
|
</div>
|
|
<div class="col-sm-8 teaser-main">
|
|
<h2><a href="/{{ article.url }}" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
|
|
<p>{{ article.summary }}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
{% endfor %}
|
|
{% include 'include/pagination.html' %}
|
|
{% endblock %}
|