diff options
author | Justin Mayer <entroP@gmail.com> | 2013-04-30 18:18:09 -0700 |
---|---|---|
committer | Justin Mayer <entroP@gmail.com> | 2013-04-30 18:18:09 -0700 |
commit | 47a2c60918f4cb384c9c3e8eb6897161264d3f19 (patch) | |
tree | 9075287f1419b0ee5671da42ad231cd23f986c37 | |
parent | f24a4d1d5fe5440b912deee3e700e0698c1088eb (diff) | |
download | pelican-themes-47a2c60918f4cb384c9c3e8eb6897161264d3f19.tar.gz |
Correct article loop on martyalchin index.html
-rw-r--r-- | martyalchin/templates/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/martyalchin/templates/index.html b/martyalchin/templates/index.html index 6286ef6..6e2e789 100644 --- a/martyalchin/templates/index.html +++ b/martyalchin/templates/index.html @@ -1,9 +1,9 @@ {% extends "base.html" %} {% block content %} - <h1><a href="{{ SITEURL }}">{{ SITENAME }}</a></h1> + <h1><a href="{{ SITEURL }}/">{{ SITENAME }}</a></h1> {% if SITESUBTITLE %} <div class="info">{{ SITESUBTITLE }}</div> {% endif %} - {% for article in articles %} - <h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2> + {% for article in articles_page.object_list %} + <h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2> <p class="published">{{ article.locale_date }}</p> {{ article.summary }} {% endfor %} |