Deliberate overriding of an existing file to tests

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 by d0e9c52410
Overwrite detection introduced by ff7410ce2a
This commit is contained in:
Rogdham 2013-06-20 21:58:51 +01:00
commit 0999d4d691
71 changed files with 262 additions and 87 deletions

View file

@ -19,6 +19,7 @@
<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>
@ -54,6 +55,29 @@
<a class="readmore" href="./unbelievable.html">read more</a>
<p>There are <a href="./unbelievable.html#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
</article></li>
<li><article class="hentry">
<header>
<h1><a href="./tag/baz.html" rel="bookmark"
title="Permalink to The baz tag">The baz tag</a></h1>
</header>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2010-03-14T00:00:00">
Sun 14 March 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/misc.html">misc</a>. </p>
</footer><!-- /.post-info --> <p>This article overrides the listening of the articles under the <em>baz</em> tag.</p>
<a class="readmore" href="./tag/baz.html">read more</a>
<p>There are <a href="./tag/baz.html#disqus_thread">comments</a>.</p> </div><!-- /.entry-content -->
</article></li>
</ol><!-- /#posts-list -->
<p class="paginator">
<a href="./index2.html">&laquo;</a>