1
0

Add the canonical tags

This commit is contained in:
2026-04-24 12:15:10 +02:00
parent cf92092b74
commit 8ffe8fbf7d
2 changed files with 17 additions and 19 deletions
+16 -10
View File
@@ -1,19 +1,25 @@
<meta property="og:url" content="https://www.flevum.de$url$" /> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Eugen Wissner">
<meta property="og:url" content="https://www.flevum.de$url$">
$if(published)$ $if(published)$
<meta property="og:type" content="article" /> <meta property="og:type" content="article">
<meta property="article:published_time" content="$date$" /> <meta property="article:published_time" content="$date$">
$else$ $else$
<meta property="og:type" content="website" /> <meta property="og:type" content="website">
$endif$ $endif$
$if(tags)$ $if(tags)$
<meta property="article:section" content="$tags$" /> <meta property="article:section" content="$tags$">
<meta property="article:tag" content="$tags$" /> <meta property="article:tag" content="$tags$">
$endif$ $endif$
<meta property="og:title" content="$title$" /> <meta property="og:title" content="$title$">
<meta property="og:site_name" content="Flevum über Technik und Philosophie" /> <meta property="og:site_name" content="Flevum über Technik und Philosophie">
$if(teaser)$ $if(teaser)$
<meta name="description" property="og:description" content="$teaser$" /> <meta name="description" property="og:description" content="$teaser$">
$else$ $else$
<meta name="description" property="og:description" content="Über Technik und Philosophie" /> <meta name="description" property="og:description" content="Über Technik und Philosophie">
$endif$ $endif$
+1 -9
View File
@@ -1,16 +1,11 @@
<!DOCTYPE html> <!DOCTYPE html>
<html data-theme="dark"> <html data-theme="dark">
<head> <head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Eugen Wissner" />
$partial("templates/_includes/meta.html")$ $partial("templates/_includes/meta.html")$
<title>$title$ | Flevum</title> <title>$title$ | Flevum</title>
<link rel="canonical" href="https://www.flevum.de$url$">
<link rel="icon" type="image/png" href="/assets/images/favicon.svg"> <link rel="icon" type="image/png" href="/assets/images/favicon.svg">
<link href="/assets/css/styles.css?v=1" rel="stylesheet"> <link href="/assets/css/styles.css?v=1" rel="stylesheet">
<link href="/assets/css/custom.css?v=2" rel="stylesheet"> <link href="/assets/css/custom.css?v=2" rel="stylesheet">
@@ -18,11 +13,8 @@
<body> <body>
$partial("templates/_includes/partials/burgerMenu.html")$ $partial("templates/_includes/partials/burgerMenu.html")$
$partial("templates/_includes/layout/header.html")$ $partial("templates/_includes/layout/header.html")$
$partial("templates/_includes/layout/navigation.html")$ $partial("templates/_includes/layout/navigation.html")$
$partial("templates/_includes/partials/headerSeparator.html")$ $partial("templates/_includes/partials/headerSeparator.html")$
<main class="$if(active-index)$wrapper long$else$wrapper$endif$" role="main"> <main class="$if(active-index)$wrapper long$else$wrapper$endif$" role="main">