diff options
author | Peter Fraenkel <pnf@podsnap.com> | 2014-08-21 12:53:41 -0400 |
---|---|---|
committer | Peter Fraenkel <pnf@podsnap.com> | 2014-08-21 12:53:41 -0400 |
commit | cfa5f40283668540cda45794200809640f251acd (patch) | |
tree | cf2bd8ffbea3ed4c01b5690ffd8ae2702976b583 /aboutwilson/templates/index.html | |
parent | 1cd742a84a81f135234be021cf4fe7b8ff2c13ff (diff) | |
parent | a928687830876af8c919606bae47195af65bc82d (diff) | |
download | pelican-themes-cfa5f40283668540cda45794200809640f251acd.tar.gz |
Merge remote-tracking branch 'upstream/master'
Keep the latex and tag-specific feeds in bootstrap3
Conflicts:
pelican-bootstrap3/templates/base.html
Diffstat (limited to 'aboutwilson/templates/index.html')
-rw-r--r-- | aboutwilson/templates/index.html | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/aboutwilson/templates/index.html b/aboutwilson/templates/index.html new file mode 100644 index 0000000..6087d5f --- /dev/null +++ b/aboutwilson/templates/index.html @@ -0,0 +1,36 @@ +{% extends "base.html" %} +{% block content_title %}{% endblock %} +{% block content %} +{% if articles %} +{% for article in articles_page.object_list %} +<div class="article" itemscope itemtype="http://schema.org/BlogPosting"> + <a href="{{ SITEURL }}/{{ article.url }}"> + <h2 itemprop="name headline">{{ article.title }}</h2> + </a> + <time datetime="{{ article.date.isoformat() }}" itemprop="datePublished">{{ article.locale_date }}</time> + — + <span itemprop="author" itemscope="" itemtype="http://schema.org/Person"> + <span itemprop="name">{{article.author or "Wilson Freitas"}}</span> + </span> + <div class="summary">{{ article.summary }}</div> + {% if article.category %} + Category: + <span itemprop="articleSection"> + <a href="{{ SITEURL }}/{{ article.category.url }}" rel="category">{{ article.category }}</a> + </span> + {% endif %} + Tags: + {% if article.tags %} + {% for tag in article.tags %} + <span itemprop="keywords"> + <a href="{{ SITEURL }}/{{ tag.url }}" rel="tag">{{ tag }}</a> + </span> + {% endfor %} + {% endif %} +</div> +<hr> +{% endfor %} {# For article #} +{% include 'pagination.html' %} +{% endif %} {# If articles #} +{% endblock content %} + |