mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
sort author and category pages same way as tags
This commit is contained in:
parent
2a53934834
commit
10dc5ef0b7
4 changed files with 102 additions and 90 deletions
|
|
@ -26,37 +26,7 @@
|
|||
|
||||
<aside id="featured" class="body">
|
||||
<article>
|
||||
<h1 class="entry-title"><a href="/oh-yeah.html">Oh yeah !</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-10-20T10:14:00">
|
||||
Wed 20 October 2010
|
||||
</abbr>
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href="/author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||
</address>
|
||||
<p>In <a href="/category/bar.html">bar</a>. </p>
|
||||
<p>tags: <a href="/tag/oh.html">oh</a><a href="/tag/bar.html">bar</a><a href="/tag/yeah.html">yeah</a></p>
|
||||
</footer><!-- /.post-info --><div class="section" id="why-not">
|
||||
<h2>Why not ?</h2>
|
||||
<p>After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
|
||||
YEAH !</p>
|
||||
<img alt="alternate text" src="|filename|/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||
</div>
|
||||
</article>
|
||||
</aside><!-- /#featured -->
|
||||
<section id="content" class="body">
|
||||
<h1>Other articles</h1>
|
||||
<hr />
|
||||
<ol id="posts-list" class="hfeed">
|
||||
|
||||
<li><article class="hentry">
|
||||
<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>
|
||||
</header>
|
||||
|
||||
<div class="entry-content">
|
||||
<h1 class="entry-title"><a href="/this-is-a-super-article.html">This is a super article !</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-12-02T10:14:00">
|
||||
Thu 02 December 2010
|
||||
|
|
@ -67,10 +37,50 @@ YEAH !</p>
|
|||
</address>
|
||||
<p>In <a href="/category/yeah.html">yeah</a>. </p>
|
||||
<p>tags: <a href="/tag/foo.html">foo</a><a href="/tag/bar.html">bar</a><a href="/tag/foobar.html">foobar</a></p>
|
||||
</footer><!-- /.post-info --> <p class="first last">Multi-line metadata should be supported
|
||||
as well as <strong>inline markup</strong>.</p>
|
||||
</footer><!-- /.post-info --><p>Some content here !</p>
|
||||
<div class="section" id="this-is-a-simple-title">
|
||||
<h2>This is a simple title</h2>
|
||||
<p>And here comes the cool <a class="reference external" href="http://books.couchdb.org/relax/design-documents/views">stuff</a>.</p>
|
||||
<img alt="alternate text" src="|filename|/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||
<img alt="alternate text" src="|filename|/pictures/Sushi_Macro.jpg" style="width: 600px; height: 450px;" />
|
||||
<pre class="literal-block">
|
||||
>>> from ipdb import set_trace
|
||||
>>> set_trace()
|
||||
</pre>
|
||||
<p>→ And now try with some utf8 hell: ééé</p>
|
||||
</div>
|
||||
</article>
|
||||
</aside><!-- /#featured -->
|
||||
<section id="content" class="body">
|
||||
<h1>Other articles</h1>
|
||||
<hr />
|
||||
<ol id="posts-list" class="hfeed">
|
||||
|
||||
<a class="readmore" href="/this-is-a-super-article.html">read more</a>
|
||||
<li><article class="hentry">
|
||||
<header>
|
||||
<h1><a href="/oh-yeah.html" rel="bookmark"
|
||||
title="Permalink to Oh yeah !">Oh yeah !</a></h1>
|
||||
</header>
|
||||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-10-20T10:14:00">
|
||||
Wed 20 October 2010
|
||||
</abbr>
|
||||
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href="/author/alexis-metaireau.html">Alexis Métaireau</a>
|
||||
</address>
|
||||
<p>In <a href="/category/bar.html">bar</a>. </p>
|
||||
<p>tags: <a href="/tag/oh.html">oh</a><a href="/tag/bar.html">bar</a><a href="/tag/yeah.html">yeah</a></p>
|
||||
</footer><!-- /.post-info --> <div class="section" id="why-not">
|
||||
<h2>Why not ?</h2>
|
||||
<p>After all, why not ? It's pretty simple to do it, and it will allow me to write my blogposts in rst !
|
||||
YEAH !</p>
|
||||
<img alt="alternate text" src="|filename|/pictures/Sushi.jpg" style="width: 600px; height: 450px;" />
|
||||
</div>
|
||||
|
||||
<a class="readmore" href="/oh-yeah.html">read more</a>
|
||||
</div><!-- /.entry-content -->
|
||||
</article></li>
|
||||
</ol><!-- /#posts-list -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue