Merge pull request #289 from bbinet/fix_index_template

Fix index.html template
This commit is contained in:
Alexis Metaireau 2012-03-31 18:08:30 -07:00
commit af2b588ea6
28 changed files with 177 additions and 102 deletions

View file

@ -19,7 +19,7 @@
<section id="content" class="body"> <section id="content" class="body">
<h1>Other articles</h1> <h1>Other articles</h1>
<hr /> <hr />
<ol id="posts-list" class="hfeed"> <ol id="posts-list" class="hfeed">
{% endif %} {% endif %}
{# other items #} {# other items #}
{% else %} {% else %}
@ -44,17 +44,17 @@
or not articles_page.has_previous() and loop.length > 1) %} or not articles_page.has_previous() and loop.length > 1) %}
{% include 'pagination.html' %} {% include 'pagination.html' %}
{% endif %} {% endif %}
{% endfor %} {% if loop.last %}
{% if loop.length > 1 or articles_page.has_previous() %} </ol><!-- /#posts-list -->
</ol><!-- /#posts-list --> </section><!-- /#content -->
</section><!-- /#content --> {% endif %}
{% endif %} {% endfor %}
{% else %} {% else %}
<section id="content" class="body"> <section id="content" class="body">
<h2>Pages</h2> <h2>Pages</h2>
{% for page in PAGES %} {% for page in PAGES %}
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li> <li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
{% endfor %} {% endfor %}
</section> </section>
{% endif %} {% endif %}
{% endblock content %} {% endblock content %}

View file

@ -83,7 +83,8 @@ YEAH !</p>
<section id="content" class="body"> <section id="content" class="body">
<h1>Other articles</h1> <h1>Other articles</h1>
<hr /> <hr />
<ol id="posts-list" class="hfeed"> <ol id="posts-list" class="hfeed">
@ -125,9 +126,9 @@ as well as <strong>inline markup</strong>.
</ol><!-- /#posts-list -->
</section><!-- /#content -->
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -72,7 +72,8 @@
<section id="content" class="body"> <section id="content" class="body">
<h1>Other articles</h1> <h1>Other articles</h1>
<hr /> <hr />
<ol id="posts-list" class="hfeed"> <ol id="posts-list" class="hfeed">
@ -116,6 +117,7 @@
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href=".././article-2.html" rel="bookmark" title="Permalink to Article 2">Article 2</a></h1> <h1><a href=".././article-2.html" rel="bookmark" title="Permalink to Article 2">Article 2</a></h1>
@ -150,6 +152,7 @@
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href=".././article-3.html" rel="bookmark" title="Permalink to Article 3">Article 3</a></h1> <h1><a href=".././article-3.html" rel="bookmark" title="Permalink to Article 3">Article 3</a></h1>
@ -184,6 +187,7 @@
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href=".././second-article.html" rel="bookmark" title="Permalink to Second article">Second article</a></h1> <h1><a href=".././second-article.html" rel="bookmark" title="Permalink to Second article">Second article</a></h1>
@ -223,6 +227,7 @@ Translations:
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href=".././unbelievable.html" rel="bookmark" title="Permalink to Unbelievable !">Unbelievable !</a></h1> <h1><a href=".././unbelievable.html" rel="bookmark" title="Permalink to Unbelievable !">Unbelievable !</a></h1>
@ -255,9 +260,9 @@ Translations:
</ol><!-- /#posts-list -->
</section><!-- /#content -->
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -86,6 +86,9 @@ YEAH !</p>
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -72,7 +72,8 @@
<section id="content" class="body"> <section id="content" class="body">
<h1>Other articles</h1> <h1>Other articles</h1>
<hr /> <hr />
<ol id="posts-list" class="hfeed"> <ol id="posts-list" class="hfeed">
@ -116,6 +117,7 @@
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href=".././article-2.html" rel="bookmark" title="Permalink to Article 2">Article 2</a></h1> <h1><a href=".././article-2.html" rel="bookmark" title="Permalink to Article 2">Article 2</a></h1>
@ -150,6 +152,7 @@
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href=".././article-3.html" rel="bookmark" title="Permalink to Article 3">Article 3</a></h1> <h1><a href=".././article-3.html" rel="bookmark" title="Permalink to Article 3">Article 3</a></h1>
@ -182,9 +185,9 @@
</ol><!-- /#posts-list -->
</section><!-- /#content -->
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -78,7 +78,8 @@ Translations:
<section id="content" class="body"> <section id="content" class="body">
<h1>Other articles</h1> <h1>Other articles</h1>
<hr /> <hr />
<ol id="posts-list" class="hfeed"> <ol id="posts-list" class="hfeed">
@ -120,9 +121,9 @@ Translations:
</ol><!-- /#posts-list -->
</section><!-- /#content -->
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -87,6 +87,9 @@
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -78,7 +78,8 @@ Translations:
<section id="content" class="body"> <section id="content" class="body">
<h1>Other articles</h1> <h1>Other articles</h1>
<hr /> <hr />
<ol id="posts-list" class="hfeed"> <ol id="posts-list" class="hfeed">
@ -121,6 +122,7 @@ Translations:
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href="./article-1.html" rel="bookmark" title="Permalink to Article 1">Article 1</a></h1> <h1><a href="./article-1.html" rel="bookmark" title="Permalink to Article 1">Article 1</a></h1>
@ -155,6 +157,7 @@ Translations:
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href="./article-2.html" rel="bookmark" title="Permalink to Article 2">Article 2</a></h1> <h1><a href="./article-2.html" rel="bookmark" title="Permalink to Article 2">Article 2</a></h1>
@ -189,6 +192,7 @@ Translations:
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href="./article-3.html" rel="bookmark" title="Permalink to Article 3">Article 3</a></h1> <h1><a href="./article-3.html" rel="bookmark" title="Permalink to Article 3">Article 3</a></h1>
@ -223,6 +227,7 @@ Translations:
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href="./this-is-a-super-article.html" rel="bookmark" title="Permalink to This is a super article !">This is a super article !</a></h1> <h1><a href="./this-is-a-super-article.html" rel="bookmark" title="Permalink to This is a super article !">This is a super article !</a></h1>
@ -257,6 +262,7 @@ as well as <strong>inline markup</strong>.
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href="./oh-yeah.html" rel="bookmark" title="Permalink to Oh yeah !">Oh yeah !</a></h1> <h1><a href="./oh-yeah.html" rel="bookmark" title="Permalink to Oh yeah !">Oh yeah !</a></h1>
@ -301,6 +307,7 @@ YEAH !</p>
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href="./unbelievable.html" rel="bookmark" title="Permalink to Unbelievable !">Unbelievable !</a></h1> <h1><a href="./unbelievable.html" rel="bookmark" title="Permalink to Unbelievable !">Unbelievable !</a></h1>
@ -333,9 +340,9 @@ YEAH !</p>
</ol><!-- /#posts-list -->
</section><!-- /#content -->
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -78,7 +78,8 @@ Translations:
<section id="content" class="body"> <section id="content" class="body">
<h1>Other articles</h1> <h1>Other articles</h1>
<hr /> <hr />
<ol id="posts-list" class="hfeed"> <ol id="posts-list" class="hfeed">
@ -127,6 +128,7 @@ Translations:
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href=".././this-is-a-super-article.html" rel="bookmark" title="Permalink to This is a super article !">This is a super article !</a></h1> <h1><a href=".././this-is-a-super-article.html" rel="bookmark" title="Permalink to This is a super article !">This is a super article !</a></h1>
@ -161,6 +163,7 @@ as well as <strong>inline markup</strong>.
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href=".././oh-yeah.html" rel="bookmark" title="Permalink to Oh yeah !">Oh yeah !</a></h1> <h1><a href=".././oh-yeah.html" rel="bookmark" title="Permalink to Oh yeah !">Oh yeah !</a></h1>
@ -203,9 +206,9 @@ YEAH !</p>
</ol><!-- /#posts-list -->
</section><!-- /#content -->
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -78,7 +78,8 @@ Translations:
<section id="content" class="body"> <section id="content" class="body">
<h1>Other articles</h1> <h1>Other articles</h1>
<hr /> <hr />
<ol id="posts-list" class="hfeed"> <ol id="posts-list" class="hfeed">
@ -125,9 +126,9 @@ Translations:
</ol><!-- /#posts-list -->
</section><!-- /#content -->
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -78,7 +78,8 @@ Translations:
<section id="content" class="body"> <section id="content" class="body">
<h1>Other articles</h1> <h1>Other articles</h1>
<hr /> <hr />
<ol id="posts-list" class="hfeed"> <ol id="posts-list" class="hfeed">
@ -127,6 +128,7 @@ Translations:
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href=".././this-is-a-super-article.html" rel="bookmark" title="Permalink to This is a super article !">This is a super article !</a></h1> <h1><a href=".././this-is-a-super-article.html" rel="bookmark" title="Permalink to This is a super article !">This is a super article !</a></h1>
@ -159,9 +161,9 @@ as well as <strong>inline markup</strong>.
</ol><!-- /#posts-list -->
</section><!-- /#content -->
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -87,6 +87,9 @@
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -86,6 +86,9 @@ YEAH !</p>
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -86,6 +86,9 @@ YEAH !</p>
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -80,7 +80,8 @@
<section id="content" class="body"> <section id="content" class="body">
<h1>Other articles</h1> <h1>Other articles</h1>
<hr /> <hr />
<ol id="posts-list" class="hfeed"> <ol id="posts-list" class="hfeed">
@ -124,6 +125,7 @@
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href=".././article-2.html" rel="bookmark" title="Permalink to Article 2">Article 2</a></h1> <h1><a href=".././article-2.html" rel="bookmark" title="Permalink to Article 2">Article 2</a></h1>
@ -158,6 +160,7 @@
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href=".././article-3.html" rel="bookmark" title="Permalink to Article 3">Article 3</a></h1> <h1><a href=".././article-3.html" rel="bookmark" title="Permalink to Article 3">Article 3</a></h1>
@ -198,9 +201,9 @@
</ol><!-- /#posts-list -->
</section><!-- /#content -->
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -103,6 +103,7 @@ YEAH !</p>
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href=".././second-article.html" rel="bookmark" title="Permalink to Second article">Second article</a></h1> <h1><a href=".././second-article.html" rel="bookmark" title="Permalink to Second article">Second article</a></h1>
@ -142,6 +143,7 @@ Translations:
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href=".././this-is-a-super-article.html" rel="bookmark" title="Permalink to This is a super article !">This is a super article !</a></h1> <h1><a href=".././this-is-a-super-article.html" rel="bookmark" title="Permalink to This is a super article !">This is a super article !</a></h1>
@ -176,6 +178,7 @@ as well as <strong>inline markup</strong>.
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href=".././unbelievable.html" rel="bookmark" title="Permalink to Unbelievable !">Unbelievable !</a></h1> <h1><a href=".././unbelievable.html" rel="bookmark" title="Permalink to Unbelievable !">Unbelievable !</a></h1>
@ -218,9 +221,9 @@ as well as <strong>inline markup</strong>.
</ol><!-- /#posts-list -->
</section><!-- /#content -->
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -100,6 +100,9 @@ YEAH !</p>
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -80,7 +80,8 @@
<section id="content" class="body"> <section id="content" class="body">
<h1>Other articles</h1> <h1>Other articles</h1>
<hr /> <hr />
<ol id="posts-list" class="hfeed"> <ol id="posts-list" class="hfeed">
@ -124,6 +125,7 @@
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href=".././article-2.html" rel="bookmark" title="Permalink to Article 2">Article 2</a></h1> <h1><a href=".././article-2.html" rel="bookmark" title="Permalink to Article 2">Article 2</a></h1>
@ -158,6 +160,7 @@
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href=".././article-3.html" rel="bookmark" title="Permalink to Article 3">Article 3</a></h1> <h1><a href=".././article-3.html" rel="bookmark" title="Permalink to Article 3">Article 3</a></h1>
@ -196,9 +199,9 @@
</ol><!-- /#posts-list -->
</section><!-- /#content -->
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -86,7 +86,8 @@ Translations:
<section id="content" class="body"> <section id="content" class="body">
<h1>Other articles</h1> <h1>Other articles</h1>
<hr /> <hr />
<ol id="posts-list" class="hfeed"> <ol id="posts-list" class="hfeed">
@ -134,9 +135,9 @@ Translations:
</ol><!-- /#posts-list -->
</section><!-- /#content -->
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -101,6 +101,9 @@
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -86,7 +86,8 @@ Translations:
<section id="content" class="body"> <section id="content" class="body">
<h1>Other articles</h1> <h1>Other articles</h1>
<hr /> <hr />
<ol id="posts-list" class="hfeed"> <ol id="posts-list" class="hfeed">
@ -129,6 +130,7 @@ Translations:
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href="./article-1.html" rel="bookmark" title="Permalink to Article 1">Article 1</a></h1> <h1><a href="./article-1.html" rel="bookmark" title="Permalink to Article 1">Article 1</a></h1>
@ -163,6 +165,7 @@ Translations:
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href="./article-2.html" rel="bookmark" title="Permalink to Article 2">Article 2</a></h1> <h1><a href="./article-2.html" rel="bookmark" title="Permalink to Article 2">Article 2</a></h1>
@ -203,9 +206,9 @@ Translations:
</ol><!-- /#posts-list -->
</section><!-- /#content -->
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -93,6 +93,7 @@
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href="./this-is-a-super-article.html" rel="bookmark" title="Permalink to This is a super article !">This is a super article !</a></h1> <h1><a href="./this-is-a-super-article.html" rel="bookmark" title="Permalink to This is a super article !">This is a super article !</a></h1>
@ -127,6 +128,7 @@ as well as <strong>inline markup</strong>.
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href="./oh-yeah.html" rel="bookmark" title="Permalink to Oh yeah !">Oh yeah !</a></h1> <h1><a href="./oh-yeah.html" rel="bookmark" title="Permalink to Oh yeah !">Oh yeah !</a></h1>
@ -171,6 +173,7 @@ YEAH !</p>
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href="./unbelievable.html" rel="bookmark" title="Permalink to Unbelievable !">Unbelievable !</a></h1> <h1><a href="./unbelievable.html" rel="bookmark" title="Permalink to Unbelievable !">Unbelievable !</a></h1>
@ -213,9 +216,9 @@ YEAH !</p>
</ol><!-- /#posts-list -->
</section><!-- /#content -->
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -86,7 +86,8 @@ Translations:
<section id="content" class="body"> <section id="content" class="body">
<h1>Other articles</h1> <h1>Other articles</h1>
<hr /> <hr />
<ol id="posts-list" class="hfeed"> <ol id="posts-list" class="hfeed">
@ -135,6 +136,7 @@ Translations:
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href=".././this-is-a-super-article.html" rel="bookmark" title="Permalink to This is a super article !">This is a super article !</a></h1> <h1><a href=".././this-is-a-super-article.html" rel="bookmark" title="Permalink to This is a super article !">This is a super article !</a></h1>
@ -169,6 +171,7 @@ as well as <strong>inline markup</strong>.
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href=".././oh-yeah.html" rel="bookmark" title="Permalink to Oh yeah !">Oh yeah !</a></h1> <h1><a href=".././oh-yeah.html" rel="bookmark" title="Permalink to Oh yeah !">Oh yeah !</a></h1>
@ -217,9 +220,9 @@ YEAH !</p>
</ol><!-- /#posts-list -->
</section><!-- /#content -->
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -86,7 +86,8 @@ Translations:
<section id="content" class="body"> <section id="content" class="body">
<h1>Other articles</h1> <h1>Other articles</h1>
<hr /> <hr />
<ol id="posts-list" class="hfeed"> <ol id="posts-list" class="hfeed">
@ -139,9 +140,9 @@ Translations:
</ol><!-- /#posts-list -->
</section><!-- /#content -->
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -86,7 +86,8 @@ Translations:
<section id="content" class="body"> <section id="content" class="body">
<h1>Other articles</h1> <h1>Other articles</h1>
<hr /> <hr />
<ol id="posts-list" class="hfeed"> <ol id="posts-list" class="hfeed">
@ -135,6 +136,7 @@ Translations:
<li><article class="hentry"> <li><article class="hentry">
<header> <header>
<h1><a href=".././this-is-a-super-article.html" rel="bookmark" title="Permalink to This is a super article !">This is a super article !</a></h1> <h1><a href=".././this-is-a-super-article.html" rel="bookmark" title="Permalink to This is a super article !">This is a super article !</a></h1>
@ -173,9 +175,9 @@ as well as <strong>inline markup</strong>.
</ol><!-- /#posts-list -->
</section><!-- /#content -->
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -101,6 +101,9 @@
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -100,6 +100,9 @@ YEAH !</p>
</ol><!-- /#posts-list -->
</section><!-- /#content -->

View file

@ -100,6 +100,9 @@ YEAH !</p>
</ol><!-- /#posts-list -->
</section><!-- /#content -->