forked from github/pelican
Add hreflang attribute to default themes
This commit is contained in:
parent
b30270190a
commit
d1d1cccdad
39 changed files with 104 additions and 37 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue