mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #289 from bbinet/fix_index_template
Fix index.html template
This commit is contained in:
commit
af2b588ea6
28 changed files with 177 additions and 102 deletions
|
|
@ -19,7 +19,7 @@
|
|||
<section id="content" class="body">
|
||||
<h1>Other articles</h1>
|
||||
<hr />
|
||||
<ol id="posts-list" class="hfeed">
|
||||
<ol id="posts-list" class="hfeed">
|
||||
{% endif %}
|
||||
{# other items #}
|
||||
{% else %}
|
||||
|
|
@ -44,17 +44,17 @@
|
|||
or not articles_page.has_previous() and loop.length > 1) %}
|
||||
{% include 'pagination.html' %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if loop.length > 1 or articles_page.has_previous() %}
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
{% endif %}
|
||||
{% if loop.last %}
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<section id="content" class="body">
|
||||
<h2>Pages</h2>
|
||||
{% for page in PAGES %}
|
||||
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
|
||||
{% endfor %}
|
||||
{% for page in PAGES %}
|
||||
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
|
||||
{% endfor %}
|
||||
</section>
|
||||
{% endif %}
|
||||
{% endblock content %}
|
||||
|
|
|
|||
|
|
@ -83,12 +83,13 @@ YEAH !</p>
|
|||
<section id="content" class="body">
|
||||
<h1>Other articles</h1>
|
||||
<hr />
|
||||
<ol id="posts-list" class="hfeed">
|
||||
<ol id="posts-list" class="hfeed">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -124,11 +125,11 @@ as well as <strong>inline markup</strong>.
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
|
|
|||
|
|
@ -72,12 +72,13 @@
|
|||
<section id="content" class="body">
|
||||
<h1>Other articles</h1>
|
||||
<hr />
|
||||
<ol id="posts-list" class="hfeed">
|
||||
<ol id="posts-list" class="hfeed">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -112,6 +113,7 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -146,6 +148,7 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -180,6 +183,7 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -219,6 +223,7 @@ Translations:
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -254,11 +259,11 @@ Translations:
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
|
|
|||
|
|
@ -85,7 +85,10 @@ YEAH !</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -72,12 +72,13 @@
|
|||
<section id="content" class="body">
|
||||
<h1>Other articles</h1>
|
||||
<hr />
|
||||
<ol id="posts-list" class="hfeed">
|
||||
<ol id="posts-list" class="hfeed">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -112,6 +113,7 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -146,6 +148,7 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -181,11 +184,11 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
|
|
|||
|
|
@ -78,12 +78,13 @@ Translations:
|
|||
<section id="content" class="body">
|
||||
<h1>Other articles</h1>
|
||||
<hr />
|
||||
<ol id="posts-list" class="hfeed">
|
||||
<ol id="posts-list" class="hfeed">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -119,11 +120,11 @@ Translations:
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
|
|
|||
|
|
@ -86,7 +86,10 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -78,12 +78,13 @@ Translations:
|
|||
<section id="content" class="body">
|
||||
<h1>Other articles</h1>
|
||||
<hr />
|
||||
<ol id="posts-list" class="hfeed">
|
||||
<ol id="posts-list" class="hfeed">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -117,6 +118,7 @@ Translations:
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -151,6 +153,7 @@ Translations:
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -185,6 +188,7 @@ Translations:
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -219,6 +223,7 @@ Translations:
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -253,6 +258,7 @@ as well as <strong>inline markup</strong>.
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -297,6 +303,7 @@ YEAH !</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -332,11 +339,11 @@ YEAH !</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
|
|
|||
|
|
@ -78,12 +78,13 @@ Translations:
|
|||
<section id="content" class="body">
|
||||
<h1>Other articles</h1>
|
||||
<hr />
|
||||
<ol id="posts-list" class="hfeed">
|
||||
<ol id="posts-list" class="hfeed">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -123,6 +124,7 @@ Translations:
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -157,6 +159,7 @@ as well as <strong>inline markup</strong>.
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -202,11 +205,11 @@ YEAH !</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
|
|
|||
|
|
@ -78,12 +78,13 @@ Translations:
|
|||
<section id="content" class="body">
|
||||
<h1>Other articles</h1>
|
||||
<hr />
|
||||
<ol id="posts-list" class="hfeed">
|
||||
<ol id="posts-list" class="hfeed">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -124,11 +125,11 @@ Translations:
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
|
|
|||
|
|
@ -78,12 +78,13 @@ Translations:
|
|||
<section id="content" class="body">
|
||||
<h1>Other articles</h1>
|
||||
<hr />
|
||||
<ol id="posts-list" class="hfeed">
|
||||
<ol id="posts-list" class="hfeed">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -123,6 +124,7 @@ Translations:
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -158,11 +160,11 @@ as well as <strong>inline markup</strong>.
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
|
|
|||
|
|
@ -86,7 +86,10 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -85,7 +85,10 @@ YEAH !</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -85,7 +85,10 @@ YEAH !</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -80,12 +80,13 @@
|
|||
<section id="content" class="body">
|
||||
<h1>Other articles</h1>
|
||||
<hr />
|
||||
<ol id="posts-list" class="hfeed">
|
||||
<ol id="posts-list" class="hfeed">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -120,6 +121,7 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -154,6 +156,7 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -197,11 +200,11 @@
|
|||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
|
|
|||
|
|
@ -99,6 +99,7 @@ YEAH !</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -138,6 +139,7 @@ Translations:
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -172,6 +174,7 @@ as well as <strong>inline markup</strong>.
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -217,11 +220,11 @@ as well as <strong>inline markup</strong>.
|
|||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
|
|
|||
|
|
@ -99,7 +99,10 @@ YEAH !</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -80,12 +80,13 @@
|
|||
<section id="content" class="body">
|
||||
<h1>Other articles</h1>
|
||||
<hr />
|
||||
<ol id="posts-list" class="hfeed">
|
||||
<ol id="posts-list" class="hfeed">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -120,6 +121,7 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -154,6 +156,7 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -195,11 +198,11 @@
|
|||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
|
|
|||
|
|
@ -86,12 +86,13 @@ Translations:
|
|||
<section id="content" class="body">
|
||||
<h1>Other articles</h1>
|
||||
<hr />
|
||||
<ol id="posts-list" class="hfeed">
|
||||
<ol id="posts-list" class="hfeed">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -133,11 +134,11 @@ Translations:
|
|||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
|
|
|||
|
|
@ -100,7 +100,10 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -86,12 +86,13 @@ Translations:
|
|||
<section id="content" class="body">
|
||||
<h1>Other articles</h1>
|
||||
<hr />
|
||||
<ol id="posts-list" class="hfeed">
|
||||
<ol id="posts-list" class="hfeed">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -125,6 +126,7 @@ Translations:
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -159,6 +161,7 @@ Translations:
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -202,11 +205,11 @@ Translations:
|
|||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
|
|
|||
|
|
@ -89,6 +89,7 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -123,6 +124,7 @@ as well as <strong>inline markup</strong>.
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -167,6 +169,7 @@ YEAH !</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -212,11 +215,11 @@ YEAH !</p>
|
|||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
|
|
|||
|
|
@ -86,12 +86,13 @@ Translations:
|
|||
<section id="content" class="body">
|
||||
<h1>Other articles</h1>
|
||||
<hr />
|
||||
<ol id="posts-list" class="hfeed">
|
||||
<ol id="posts-list" class="hfeed">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -131,6 +132,7 @@ Translations:
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -165,6 +167,7 @@ as well as <strong>inline markup</strong>.
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -216,11 +219,11 @@ YEAH !</p>
|
|||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
|
|
|||
|
|
@ -86,12 +86,13 @@ Translations:
|
|||
<section id="content" class="body">
|
||||
<h1>Other articles</h1>
|
||||
<hr />
|
||||
<ol id="posts-list" class="hfeed">
|
||||
<ol id="posts-list" class="hfeed">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -138,11 +139,11 @@ Translations:
|
|||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
|
|
|||
|
|
@ -86,12 +86,13 @@ Translations:
|
|||
<section id="content" class="body">
|
||||
<h1>Other articles</h1>
|
||||
<hr />
|
||||
<ol id="posts-list" class="hfeed">
|
||||
<ol id="posts-list" class="hfeed">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -131,6 +132,7 @@ Translations:
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -172,11 +174,11 @@ as well as <strong>inline markup</strong>.
|
|||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
<section id="extras" class="body">
|
||||
|
|
|
|||
|
|
@ -100,7 +100,10 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -99,7 +99,10 @@ YEAH !</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -99,7 +99,10 @@ YEAH !</p>
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
</ol><!-- /#posts-list -->
|
||||
</section><!-- /#content -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue