forked from github/pelican
Deliberate overriding via `save_as` metadata should be allowed, even after the overwrite detection feature. This commit is to add tests for deliberate overriding. As a result, the relevant tests *should fail* after this commit. Added a page and an article, both to override a tag, with very old dates so it limits the amount of diff in the generated pages. Overriding feature introduced byd0e9c52410Overwrite detection introduced byff7410ce2a
173 lines
No EOL
8.1 KiB
HTML
173 lines
No EOL
8.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Alexis' log</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" />
|
|
|
|
<!--[if IE]>
|
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
<![endif]-->
|
|
</head>
|
|
|
|
<body id="index" class="home">
|
|
<a href="http://github.com/ametaireau/">
|
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
|
|
</a>
|
|
<header id="banner" class="body">
|
|
<h1><a href="./">Alexis' log </a></h1>
|
|
<nav><ul>
|
|
<li><a href="./tag/oh.html">Oh Oh Oh</a></li>
|
|
<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><a href="./category/bar.html">bar</a></li>
|
|
</ul></nav>
|
|
</header><!-- /#banner -->
|
|
|
|
<aside id="featured" class="body">
|
|
<article>
|
|
<h1 class="entry-title"><a href="./filename_metadata-example.html">FILENAME_METADATA example</a></h1>
|
|
<footer class="post-info">
|
|
<abbr class="published" title="2012-11-30T00:00:00">
|
|
Fri 30 November 2012
|
|
</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/misc.html">misc</a>. </p>
|
|
|
|
</footer><!-- /.post-info --><p>Some cool stuff!</p>
|
|
<p>There are <a href="./filename_metadata-example.html#disqus_thread">comments</a>.</p> </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="./second-article.html" rel="bookmark"
|
|
title="Permalink to Second article">Second article</a></h1>
|
|
</header>
|
|
|
|
<div class="entry-content">
|
|
<footer class="post-info">
|
|
<abbr class="published" title="2012-02-29T00:00:00">
|
|
Wed 29 February 2012
|
|
</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/misc.html">misc</a>. </p>
|
|
<p>tags: <a href="./tag/foo.html">foo</a><a href="./tag/bar.html">bar</a><a href="./tag/baz.html">baz</a></p>Translations:
|
|
<a href="./second-article-fr.html">fr</a>
|
|
|
|
</footer><!-- /.post-info --> <p>This is some article, in english</p>
|
|
|
|
<a class="readmore" href="./second-article.html">read more</a>
|
|
<p>There are <a href="./second-article.html#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
|
</article></li>
|
|
|
|
<li><article class="hentry">
|
|
<header>
|
|
<h1><a href="./a-markdown-powered-article.html" rel="bookmark"
|
|
title="Permalink to A markdown powered article">A markdown powered article</a></h1>
|
|
</header>
|
|
|
|
<div class="entry-content">
|
|
<footer class="post-info">
|
|
<abbr class="published" title="2011-04-20T00:00:00">
|
|
Wed 20 April 2011
|
|
</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/cat1.html">cat1</a>. </p>
|
|
|
|
</footer><!-- /.post-info --> <p>You're mutually oblivious.</p>
|
|
<p><a href="./unbelievable.html">a root-relative link to unbelievable</a>
|
|
<a href="./unbelievable.html">a file-relative link to unbelievable</a></p>
|
|
<a class="readmore" href="./a-markdown-powered-article.html">read more</a>
|
|
<p>There are <a href="./a-markdown-powered-article.html#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
|
</article></li>
|
|
|
|
<li><article class="hentry">
|
|
<header>
|
|
<h1><a href="./article-1.html" rel="bookmark"
|
|
title="Permalink to Article 1">Article 1</a></h1>
|
|
</header>
|
|
|
|
<div class="entry-content">
|
|
<footer class="post-info">
|
|
<abbr class="published" title="2011-02-17T00:00:00">
|
|
Thu 17 February 2011
|
|
</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/cat1.html">cat1</a>. </p>
|
|
|
|
</footer><!-- /.post-info --> <p>Article 1</p>
|
|
|
|
<a class="readmore" href="./article-1.html">read more</a>
|
|
<p>There are <a href="./article-1.html#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
|
|
</article></li>
|
|
</ol><!-- /#posts-list -->
|
|
<p class="paginator">
|
|
Page 1 / 3
|
|
<a href="./index2.html">»</a>
|
|
</p>
|
|
</section><!-- /#content -->
|
|
<section id="extras" class="body">
|
|
<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>
|
|
</div><!-- /.blogroll -->
|
|
<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>
|
|
</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 -->
|
|
|
|
<script type="text/javascript">
|
|
var disqus_shortname = 'blog-notmyidea';
|
|
(function () {
|
|
var s = document.createElement('script'); s.async = true;
|
|
s.type = 'text/javascript';
|
|
s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
|
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
|
}());
|
|
</script>
|
|
</body>
|
|
</html> |