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
70 lines
No EOL
2.8 KiB
HTML
70 lines
No EOL
2.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Second 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="/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>
|
|
<li><a href="/category/cat1.html">cat1</a></li>
|
|
<li class="active"><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">
|
|
<article>
|
|
<header>
|
|
<h1 class="entry-title">
|
|
<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>
|
|
|
|
<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>
|
|
|
|
</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> |