commit: f9748b913e83c0e1c1a711911118bd328bda533e
parent 3248afdd3fdb0a73aec52c2c3502be0b1748b48f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 11 Mar 2023 10:55:46 +0100
entry.xsl.in: Add OpenGraph support
Diffstat:
4 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/articles/2022 Summary.html b/articles/2022 Summary.html
@@ -2,6 +2,8 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude" xml:lang="en" lang="en">
<head>
<meta charset="utf-8"/><link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023020902"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/><link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/><meta property="og:image" content="/images/avatar.png?serial=2020111201"/>
+ <meta property="og:type" content="article"/>
+ <meta property="og:title" content="2022 Summary"/>
<title>2022 Summary - lanodan's cyber-home</title>
</head>
<body>
diff --git a/articles/Why I embraced Wayland.html b/articles/Why I embraced Wayland.html
@@ -2,6 +2,8 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude" xml:lang="en" lang="en">
<head>
<meta charset="utf-8"/><link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023020902"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/><link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/><meta property="og:image" content="/images/avatar.png?serial=2020111201"/>
+ <meta property="og:type" content="article"/>
+ <meta property="og:title" content="Why I embraced Wayland"/>
<title>Why I embraced Wayland - lanodan's cyber-home</title>
</head>
<body>
diff --git a/articles/cve.org-disaster.html b/articles/cve.org-disaster.html
@@ -2,6 +2,8 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude" xml:lang="en" lang="en">
<head>
<meta charset="utf-8"/><link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023020902"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/><link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/><meta property="og:image" content="/images/avatar.png?serial=2020111201"/>
+ <meta property="og:type" content="article"/>
+ <meta property="og:title" content="The new CVE.org website is a security disaster so I made my own"/>
<title>The new CVE.org website is a security disaster so I made my own - lanodan's cyber-home</title>
</head>
<body>
diff --git a/entry.xsl.in b/entry.xsl.in
@@ -6,7 +6,9 @@
<html xml:lang="en" lang="en">
<head>
<xi:include href="templates/head.xml" parse="xml" xpointer="xpointer(/xml/*)"/>
- <xsl:if test="title"><title><xsl:value-of select="title"/> - lanodan's cyber-home</title></xsl:if>
+ <meta property="og:type" content="article"/>
+ <xsl:if test="title"><meta property="og:title" content="{title}"/>
+ <title><xsl:value-of select="title"/> - lanodan's cyber-home</title></xsl:if>
</head>
<body>
<xsl:call-template name="nav"/>