forked from github/pelican
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
81 lines
No EOL
3.4 KiB
HTML
81 lines
No EOL
3.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>This is a super article !</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" />
|
|
|
|
<!--[if IE]>
|
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
<![endif]-->
|
|
</head>
|
|
|
|
<body id="index" class="home">
|
|
<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><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 class="active"><a href="/category/yeah.html">yeah</a></li>
|
|
</ul></nav>
|
|
</header><!-- /#banner -->
|
|
<section id="content" class="body">
|
|
<article>
|
|
<header>
|
|
<h1 class="entry-title">
|
|
<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">
|
|
<footer class="post-info">
|
|
<abbr class="published" title="2010-12-02T10:14:00">
|
|
Thu 02 December 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/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>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>
|
|
|
|
</div><!-- /.entry-content -->
|
|
|
|
</article>
|
|
</section>
|
|
<section id="extras" class="body">
|
|
<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>
|
|
</div><!-- /.social -->
|
|
</section><!-- /#extras -->
|
|
|
|
<footer id="contentinfo" class="body">
|
|
<address id="about" class="vcard body">
|
|
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
|
|
</address><!-- /#about -->
|
|
|
|
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
|
|
</footer><!-- /#contentinfo -->
|
|
|
|
</body>
|
|
</html> |