forked from github/pelican
Normalize whitespace via lstrip Jinja parameter
This adds the lstrip_blocks Jinja parameter and removes unnecessary whitespace from a few notmyidea templates. Note: The lstrip_blocks parameter requires Jinja 2.7+, which has been noted in Pelican's setup.py. Credit for this commit goes entirely to Russ Webber, who has earned my eternal thanks for discovering and applying this useful Jinja parameter. Refs #969
This commit is contained in:
parent
23e62b0056
commit
76fa457654
66 changed files with 2004 additions and 2143 deletions
|
|
@ -4,9 +4,9 @@
|
|||
<meta charset="utf-8">
|
||||
<title>Oh yeah !</title>
|
||||
<link rel="stylesheet" href="./theme/css/main.css">
|
||||
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||
|
||||
<link href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Alexis' log Atom Feed" />
|
||||
<link href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Alexis' log RSS Feed" />
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
|
|
@ -19,35 +19,35 @@
|
|||
<header id="banner" class="body">
|
||||
<h1><a href="./">Alexis' log </a></h1>
|
||||
<nav><ul>
|
||||
<li><a href="./override/">Override url/save_as</a></li>
|
||||
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
<li><a href="./category/yeah.html">yeah</a></li>
|
||||
<li><a href="./category/misc.html">misc</a></li>
|
||||
<li><a href="./category/cat1.html">cat1</a></li>
|
||||
<li class="active"><a href="./category/bar.html">bar</a></li>
|
||||
</ul></nav>
|
||||
<li><a href="./override/">Override url/save_as</a></li>
|
||||
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
<li><a href="./category/yeah.html">yeah</a></li>
|
||||
<li><a href="./category/misc.html">misc</a></li>
|
||||
<li><a href="./category/cat1.html">cat1</a></li>
|
||||
<li class="active"><a href="./category/bar.html">bar</a></li>
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
<section id="content" class="body">
|
||||
<section id="content" class="body">
|
||||
<article>
|
||||
<header>
|
||||
<h1 class="entry-title">
|
||||
<a href="./oh-yeah.html" rel="bookmark"
|
||||
title="Permalink to Oh yeah !">Oh yeah !</a></h1>
|
||||
</header>
|
||||
</header>
|
||||
|
||||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2010-10-20T10:14:00">
|
||||
Wed 20 October 2010
|
||||
</abbr>
|
||||
|
||||
<address class="vcard author">
|
||||
<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>Translations:
|
||||
<a href="./oh-yeah-fr.html">fr</a>
|
||||
|
||||
<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>Translations:
|
||||
<a href="./oh-yeah-fr.html">fr</a>
|
||||
|
||||
</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 !
|
||||
|
|
@ -56,7 +56,7 @@ YEAH !</p>
|
|||
</div>
|
||||
|
||||
</div><!-- /.entry-content -->
|
||||
<div class="comments">
|
||||
<div class="comments">
|
||||
<h2>Comments !</h2>
|
||||
<div id="disqus_thread"></div>
|
||||
<script type="text/javascript">
|
||||
|
|
@ -69,33 +69,33 @@ YEAH !</p>
|
|||
})();
|
||||
</script>
|
||||
</div>
|
||||
|
||||
|
||||
</article>
|
||||
</section>
|
||||
<section id="extras" class="body">
|
||||
<div class="blogroll">
|
||||
<div class="blogroll">
|
||||
<h2>blogroll</h2>
|
||||
<ul>
|
||||
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||
</ul>
|
||||
<li><a href="http://biologeek.org">Biologeek</a></li>
|
||||
<li><a href="http://filyb.info/">Filyb</a></li>
|
||||
<li><a href="http://www.libert-fr.com">Libert-fr</a></li>
|
||||
<li><a href="http://prendreuncafe.com/blog/">N1k0</a></li>
|
||||
<li><a href="http://ziade.org/blog">Tarek Ziadé</a></li>
|
||||
<li><a href="http://zubin71.wordpress.com/">Zubin Mithra</a></li>
|
||||
</ul>
|
||||
</div><!-- /.blogroll -->
|
||||
<div class="social">
|
||||
<div class="social">
|
||||
<h2>social</h2>
|
||||
<ul>
|
||||
<li><a href="http://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
|
||||
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||
|
||||
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||
</ul>
|
||||
<li><a href="http://blog.notmyidea.org/feeds/all.rss.xml" type="application/rss+xml" rel="alternate">rss feed</a></li>
|
||||
|
||||
<li><a href="http://twitter.com/ametaireau">twitter</a></li>
|
||||
<li><a href="http://lastfm.com/user/akounet">lastfm</a></li>
|
||||
<li><a href="http://github.com/ametaireau">github</a></li>
|
||||
</ul>
|
||||
</div><!-- /.social -->
|
||||
</section><!-- /#extras -->
|
||||
</section><!-- /#extras -->
|
||||
|
||||
<footer id="contentinfo" class="body">
|
||||
<address id="about" class="vcard body">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue