Fix alternate links for blog posts
... along with some cleanup in html head
Fixes #799 (closed), resolves #794 (closed)
Eg: the (great) Sideloading post
Current website:
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>What We Talk About When We Talk About Sideloading | F-Droid - Free and Open Source Android App Repository</title>
<meta property="og:title" content="What We Talk About When We Talk About Sideloading | F-Droid - Free and Open Source Android App Repository">
🔵
🔵
<meta name="description" content="We recently published a blog post with our reaction to the new Google Developer Program and how it impacts your freedom to use the devices that you own in th...">
<meta property="og:description" content="We recently published a blog post with our reaction to the new Google Developer Program and how it impacts your freedom to use the devices that you own in th...">
🔵
<meta property="og:image" content="https://f-droid.org/assets/fdroid-logo_bfHl7nsLHOUQxzdU8-rGIhn4bAgl6z7k2mA3fWoCyT4=.png">
🔵
⚪ <link rel="preload" href="/assets/roboto_ln5c7Pv79kCZw8EjInNILddDbwVxQmaVPE0sjunCivU=.ttf" as="font" type="font/ttf" crossorigin />
⚪ <link rel="preload" as="style" href="/css/main.css"/>
⚪ <link rel="dns-prefetch" href="https://search.f-droid.org"/>
⚪ <link rel="stylesheet" href="/css/main.css"/>
⚪ <link rel="canonical" href='https://f-droid.org/2025/10/28/sideloading.html'/>
⚪ <meta property="og:url" content='https://f-droid.org/2025/10/28/sideloading.html'/>
⚪ <link rel="alternate" type="application/rss+xml" title="F-Droid - Free and Open Source Android App Repository" href="/feed.xml"/>
<link href="/en/osd.xml" rel="search" title="F-Droid" type="application/opensearchdescription+xml">
<link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon_ypJwtCrcixeH_qV6LdcMYk1anFIR9o-_ufR__1wNdJY=.png">
<link rel="icon" type="image/png" sizes="48x48" href="/assets/favicon_AfYQ36xPEzFjJiCTyBFVmfWkajkehilUd2geASywhxM=.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32_Dk3aeG3k_A20gYe5zAlPSBx_CEcpJaCI89K2X2z6CFY=.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16_7yyppfDSTAVyGb3ycHY84PYjHUwP96NKICAibLRpnXw=.png">
<link rel="manifest" href="/assets/site_J9OLInBmO2hLlutzRFC4mdstNJjL44B6NzBbT0ecmA0=.webmanifest">
<link rel="mask-icon" href="/assets/safari-pinned-tab_jVj0QIYK2TEAcXlrhjrienjgRnccBVzvX22tYumPb9Q=.svg" color="#5bbad5">
<link rel="shortcut icon" href="/assets/favicon_yJPr4UNteJc-cseeq16P0Hvl1kDbJjTVYcj-KA6-_Fs=.ico">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-config" content="/assets/browserconfig_sI0d7L-NQ2rondQpLn2DRSqXxvj7iPI0-WPzXn-uLZA=.xml">
<meta name="theme-color" content="#ffffff">
❗ <link rel="alternate" hreflang="ar" href='https://f-droid.org/ar'>
🔵
❗ <link rel="alternate" hreflang="bo" href='https://f-droid.org/bo'>
🔵
❗ <link rel="alternate" hreflang="ca" href='https://f-droid.org/ca'>
🔵
❗ <link rel="alternate" hreflang="cs" href='https://f-droid.org/cs'>
🔵
❗ <link rel="alternate" hreflang="de" href='https://f-droid.org/de'>
🔵
❗ <link rel="alternate" hreflang="en" href='https://f-droid.org/en'>
🔵
❗ <link rel="alternate" hreflang="es" href='https://f-droid.org/es'>
🔵
❗ <link rel="alternate" hreflang="eu" href='https://f-droid.org/eu'>
🔵
❗ <link rel="alternate" hreflang="fa" href='https://f-droid.org/fa'>
🔵
❗ <link rel="alternate" hreflang="fr" href='https://f-droid.org/fr'>
🔵
❗ <link rel="alternate" hreflang="he" href='https://f-droid.org/he'>
🔵
❗ <link rel="alternate" hreflang="hu" href='https://f-droid.org/hu'>
🔵
❗ <link rel="alternate" hreflang="id" href='https://f-droid.org/id'>
🔵
❗ <link rel="alternate" hreflang="is" href='https://f-droid.org/is'>
🔵
❗ <link rel="alternate" hreflang="it" href='https://f-droid.org/it'>
🔵
❗ <link rel="alternate" hreflang="ja" href='https://f-droid.org/ja'>
🔵
❗ <link rel="alternate" hreflang="ko" href='https://f-droid.org/ko'>
🔵
❗ <link rel="alternate" hreflang="pl" href='https://f-droid.org/pl'>
🔵
❗ <link rel="alternate" hreflang="pt" href='https://f-droid.org/pt'>
🔵
❗ <link rel="alternate" hreflang="pt-BR" href='https://f-droid.org/pt_BR'>
🔵
❗ <link rel="alternate" hreflang="ro" href='https://f-droid.org/ro'>
🔵
❗ <link rel="alternate" hreflang="ru" href='https://f-droid.org/ru'>
🔵
❗ <link rel="alternate" hreflang="sq" href='https://f-droid.org/sq'>
🔵
❗ <link rel="alternate" hreflang="tr" href='https://f-droid.org/tr'>
🔵
❗ <link rel="alternate" hreflang="uk" href='https://f-droid.org/uk'>
🔵
❗ <link rel="alternate" hreflang="zh-Hans" href='https://f-droid.org/zh_Hans'>
🔵
❗ <link rel="alternate" hreflang="zh-Hant" href='https://f-droid.org/zh_Hant'>
🔵
❗ <link rel="alternate" hreflang="x-default" href='https://f-droid.org/'>
</head>
page.permalink appears to be empty and doesn't yield the correct URL as expected
Trailing slash on void elements
This MR:
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>What We Talk About When We Talk About Sideloading | F-Droid - Free and Open Source Android App Repository</title>
<meta property="og:title" content="What We Talk About When We Talk About Sideloading | F-Droid - Free and Open Source Android App Repository">
<meta name="description" content="We recently published a blog post with our reaction to the new Google Developer Program and how it impacts your freedom to use the devices that you own in th...">
<meta property="og:description" content="We recently published a blog post with our reaction to the new Google Developer Program and how it impacts your freedom to use the devices that you own in th...">
<meta property="og:image" content="https://ray2c.gitlab.io/fdroid-website/assets/fdroid-logo_bfHl7nsLHOUQxzdU8-rGIhn4bAgl6z7k2mA3fWoCyT4=.png">
<link rel="preload" href="/fdroid-website/assets/roboto_ln5c7Pv79kCZw8EjInNILddDbwVxQmaVPE0sjunCivU=.ttf" as="font" type="font/ttf" crossorigin>
<link rel="preload" as="style" href="/fdroid-website/css/main.css">
<link rel="dns-prefetch" href="https://search.f-droid.org">
<link rel="stylesheet" href="/fdroid-website/css/main.css">
<link rel="canonical" href='https://ray2c.gitlab.io/fdroid-website/2025/10/28/sideloading.html'>
<meta property="og:url" content="https://ray2c.gitlab.io/fdroid-website/2025/10/28/sideloading.html">
<link rel="alternate" type="application/rss+xml" title="F-Droid - Free and Open Source Android App Repository" href="/fdroid-website/feed.xml">
<link href="/fdroid-website/en/osd.xml" rel="search" title="F-Droid" type="application/opensearchdescription+xml">
<link rel="apple-touch-icon" sizes="180x180" href="/fdroid-website/assets/apple-touch-icon_ypJwtCrcixeH_qV6LdcMYk1anFIR9o-_ufR__1wNdJY=.png">
<link rel="icon" type="image/png" sizes="48x48" href="/fdroid-website/assets/favicon_AfYQ36xPEzFjJiCTyBFVmfWkajkehilUd2geASywhxM=.png">
<link rel="icon" type="image/png" sizes="32x32" href="/fdroid-website/assets/favicon-32x32_Dk3aeG3k_A20gYe5zAlPSBx_CEcpJaCI89K2X2z6CFY=.png">
<link rel="icon" type="image/png" sizes="16x16" href="/fdroid-website/assets/favicon-16x16_7yyppfDSTAVyGb3ycHY84PYjHUwP96NKICAibLRpnXw=.png">
<link rel="manifest" href="/fdroid-website/assets/site_J9OLInBmO2hLlutzRFC4mdstNJjL44B6NzBbT0ecmA0=.webmanifest">
<link rel="mask-icon" href="/fdroid-website/assets/safari-pinned-tab_jVj0QIYK2TEAcXlrhjrienjgRnccBVzvX22tYumPb9Q=.svg" color="#5bbad5">
<link rel="shortcut icon" href="/fdroid-website/assets/favicon_yJPr4UNteJc-cseeq16P0Hvl1kDbJjTVYcj-KA6-_Fs=.ico">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-config" content="/fdroid-website/assets/browserconfig_sI0d7L-NQ2rondQpLn2DRSqXxvj7iPI0-WPzXn-uLZA=.xml">
<meta name="theme-color" content="#ffffff">
✅ <link rel="alternate" hreflang="en" href='https://ray2c.gitlab.io/fdroid-website/en/2025/10/28/sideloading.html'>
✅ <link rel="alternate" hreflang="fa" href='https://ray2c.gitlab.io/fdroid-website/fa/2025/10/28/sideloading.html'>
✅ <link rel="alternate" hreflang="zh-Hans" href='https://ray2c.gitlab.io/fdroid-website/zh_Hans/2025/10/28/sideloading.html'>
✅ <link rel="alternate" hreflang="x-default" href='https://ray2c.gitlab.io/fdroid-website/2025/10/28/sideloading.html'>
</head>
<link rel="alternate" ...> correctly points to the post's URL
link tags for consistency
Edited by Ray c