aboutsummaryrefslogtreecommitdiff
path: root/v2/src/lib/preamble.html
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-04-10 14:12:12 -0300
committerEuAndreh <eu@euandre.org>2023-04-10 14:12:37 -0300
commitfc794694b1d83d6856b36ea08df69c2a0861d030 (patch)
tree752cb386042281cfcc72836623af733c3253bff2 /v2/src/lib/preamble.html
parentv2: Support translated alternates in <nav> (diff)
downloadeuandre.org-fc794694b1d83d6856b36ea08df69c2a0861d030.tar.gz
euandre.org-fc794694b1d83d6856b36ea08df69c2a0861d030.tar.xz
v2: <link /> to translated version in <head />
Diffstat (limited to 'v2/src/lib/preamble.html')
-rw-r--r--v2/src/lib/preamble.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/v2/src/lib/preamble.html b/v2/src/lib/preamble.html
index 1649bdd..c1e0592 100644
--- a/v2/src/lib/preamble.html
+++ b/v2/src/lib/preamble.html
@@ -5,16 +5,16 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" href="$style_url" />
<link rel="icon" type="image/svg+xml" href="$icon_favicon_url" />
+ <link rel="canonical" type="text/html" href="$url_absolute" />
+$translations_head_html
<title>$title_html</title>
- <meta name="author" content="$author" />
+ <meta name="author" content="$author" />
+ <meta property="og:url" content="$url_absolute" />
<meta property="og:site_name" content="$site_name" />
<meta property="og:locale" content="$lang" />
<meta property="og:title" content="$title_html" />
-
- <link rel="canonical" href="$url_absolute" />
- <meta property="og:url" content="$url_absolute" />
</head>
<body>
<header>
@@ -35,7 +35,7 @@
<a href="$index_pastebin_url">$index_pastebin_title</a>
</li>
</ul>
-$translations_html
+$translations_body_html
</nav>
<hr />
</header>