mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Fix #2956: the HTML tag (eg `<a href="https://getpelican.com">`) in our templates negatively impacts a Pelican-generated site's ranking for Search Engine Optimisation purposes. This can be solved by adding the Google-developed `rel="nofollow"` attribute to external links so that the website's owner does not have to provide link authority to the target. This change also had to be reflected in the tests so that they would pass.
99 lines
No EOL
5 KiB
HTML
99 lines
No EOL
5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="generator" content="Pelican" />
|
|
<title>A draft article</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" />
|
|
<meta name="description" content="This is a draft article, it should live under the /drafts/ folder and not be listed anywhere else." />
|
|
</head>
|
|
|
|
<body id="index" class="home">
|
|
<a href="http://github.com/ametaireau/">
|
|
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://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 <strong>A personal blog.</strong></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 class="active"><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 -->
|
|
<section id="content" class="body">
|
|
<article>
|
|
<header>
|
|
<h1 class="entry-title">
|
|
<a href="../drafts/a-draft-article.html" rel="bookmark"
|
|
title="Permalink to A draft article">A draft article</a></h1>
|
|
</header>
|
|
|
|
<div class="entry-content">
|
|
<footer class="post-info">
|
|
<abbr class="published" title="2011-05-08T15:58:00+02:00">
|
|
Published: Sun 08 May 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/misc.html">misc</a>.</p>
|
|
|
|
</footer><!-- /.post-info --> <p>This is a draft article, it should live under the /drafts/ folder and not be
|
|
listed anywhere else.</p>
|
|
|
|
</div><!-- /.entry-content -->
|
|
|
|
</article>
|
|
</section>
|
|
<section id="extras" class="body">
|
|
<div class="blogroll">
|
|
<h2>links</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 rel="nofollow" href="https://getpelican.com/">Pelican</a>, which takes great advantage of <a rel="nofollow" href="https://www.python.org/">Python</a>.
|
|
</address><!-- /#about -->
|
|
|
|
<p>The theme is by <a rel="nofollow" href="https://www.smashingmagazine.com/2009/08/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 = 'https://' + disqus_shortname + '.disqus.com/count.js';
|
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
|
}());
|
|
</script>
|
|
</body>
|
|
</html> |