initial commit to seperate repo
This commit is contained in:
commit
8630e4db13
23669 changed files with 1067407 additions and 0 deletions
33
themes/ipython/templates/index.tmpl
Normal file
33
themes/ipython/templates/index.tmpl
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{# -*- coding: utf-8 -*- #}
|
||||
{% import 'index_helper.tmpl' as helper with context %}
|
||||
{% import 'comments_helper.tmpl' as comments with context %}
|
||||
{% extends 'base.tmpl' %}
|
||||
|
||||
{% block content %}
|
||||
<div class="postindex">
|
||||
{% for post in posts %}
|
||||
<article class="h-entry post-{{ post.meta('type') }}">
|
||||
<header>
|
||||
<h1 class="p-name entry-title"><a href="{{ post.permalink() }}" class="u-url">{{ post.title() }}</h1></a>
|
||||
<div class="metadata">
|
||||
<p class="byline author vcard"><span class="byline-name fn">{{ post.author() }}</span></p>
|
||||
<p class="dateline"><a href="{{ post.permalink() }}" rel="bookmark"><time class="published dt-published" datetime="{{ post.date.isoformat() }}" itemprop="datePublished" title="{{ messages("Publication date") }}">{{ post.formatted_date(date_format) }}</time></a></p>
|
||||
{% if not post.meta('nocomments') and site_has_comments %}
|
||||
<p class="commentline">{{ comments.comment_link(post.permalink(), post._base_path) }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</header>
|
||||
{% if index_teasers %}
|
||||
<div class="p-summary entry-summary">
|
||||
{{ post.text(teaser_only=True) }}
|
||||
{% else %}
|
||||
<div class="e-content entry-content">
|
||||
{{ post.text(teaser_only=False) }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</article>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{{ helper.html_pager() }}
|
||||
{{ comments.comment_link_script() }}
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue