Adapt template to pelican

This commit is contained in:
gilsondev
2014-12-10 15:17:48 -02:00
parent 0a744c749a
commit 669d407f5f
32 changed files with 19983 additions and 0 deletions

28
templates/archives.html Executable file
View File

@ -0,0 +1,28 @@
{% extends "base.html" %}
{% block title %}{{ SITENAME }} - Archives{% endblock %}
{% block header %}
<!-- Page Header -->
<header class="intro-header" style="background-image: url('{{ HEADER_COVER|default('static/images/home-bg.jpg') }}')">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="post-heading">
<h1>Archives for {{ SITENAME }}</h1>
</div>
</div>
</div>
</div>
</header>
{% endblock header %}
{% block content %}
<dl>
{% for article in dates %}
<dt>{{ article.locale_date }}</dt>
<dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
{% endfor %}
<hr>
</dl>
{% endblock content %}