diff options
author | Justin Mayer <entroP@gmail.com> | 2013-08-03 16:17:26 -0700 |
---|---|---|
committer | Justin Mayer <entroP@gmail.com> | 2013-08-03 16:17:26 -0700 |
commit | 76fa4576547cb01d4bfecbd7d40cd70dca7b44d2 (patch) | |
tree | 1ce3a0b30874251951d68ba2fb28b2b91216355b /pelican/tests/output/basic/oh-yeah.html | |
parent | 23e62b0056b2b6b1f0b6d7914a1063738ca21ad1 (diff) | |
download | pelican-76fa4576547cb01d4bfecbd7d40cd70dca7b44d2.tar.gz |
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
Diffstat (limited to 'pelican/tests/output/basic/oh-yeah.html')
-rw-r--r-- | pelican/tests/output/basic/oh-yeah.html | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/pelican/tests/output/basic/oh-yeah.html b/pelican/tests/output/basic/oh-yeah.html index 498e9cac..cb29ea80 100644 --- a/pelican/tests/output/basic/oh-yeah.html +++ b/pelican/tests/output/basic/oh-yeah.html @@ -4,8 +4,8 @@ <meta charset="utf-8"> <title>Oh yeah !</title> <link rel="stylesheet" href="/theme/css/main.css"> - <link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" /> - + <link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="A Pelican Blog Atom Feed" /> + <!--[if IE]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> @@ -15,32 +15,32 @@ <header id="banner" class="body"> <h1><a href="/">A Pelican Blog </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 class="active"><a href="/category/bar.html">bar</a></li> - <li><a href="/category/cat1.html">cat1</a></li> - <li><a href="/category/misc.html">misc</a></li> - <li><a href="/category/yeah.html">yeah</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 class="active"><a href="/category/bar.html">bar</a></li> + <li><a href="/category/cat1.html">cat1</a></li> + <li><a href="/category/misc.html">misc</a></li> + <li><a href="/category/yeah.html">yeah</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>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> @@ -50,18 +50,18 @@ YEAH !</p> </div> </div><!-- /.entry-content --> - + </article> </section> <section id="extras" class="body"> - <div class="social"> + <div class="social"> <h2>social</h2> <ul> <li><a href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li> - - </ul> + + </ul> </div><!-- /.social --> - </section><!-- /#extras --> + </section><!-- /#extras --> <footer id="contentinfo" class="body"> <address id="about" class="vcard body"> |