forked from github/pelican
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 byd0e9c52410Overwrite detection introduced byff7410ce2a
This commit is contained in:
parent
a14dc4dad2
commit
0999d4d691
71 changed files with 262 additions and 87 deletions
|
|
@ -15,6 +15,7 @@
|
|||
<header id="banner" class="body">
|
||||
<h1><a href="/">A Pelican Blog </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/bar.html">bar</a></li>
|
||||
|
|
@ -45,6 +46,8 @@
|
|||
<dd><a href="/oh-yeah.html">Oh yeah !</a></dd>
|
||||
<dt>Fri 15 October 2010</dt>
|
||||
<dd><a href="/unbelievable.html">Unbelievable !</a></dd>
|
||||
<dt>Sun 14 March 2010</dt>
|
||||
<dd><a href="/tag/baz.html">The baz tag</a></dd>
|
||||
</dl>
|
||||
</section>
|
||||
<section id="extras" class="body">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue