1
0
Fork 0
forked from github/pelican

Add hreflang attribute to default themes

This commit is contained in:
Jorge Maldonado Ventura 2018-07-05 00:26:50 +02:00
commit d1d1cccdad
39 changed files with 104 additions and 37 deletions

View file

@ -5,6 +5,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" />
<link rel="alternate" hreflang="fr" href="/second-article-fr.html">
</head>
<body id="index" class="home">
@ -36,7 +38,7 @@
<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>
<a href="/second-article-fr.html" hreflang="fr">fr</a>
</footer><!-- /.post-info --> <p>This is some article, in english</p>