Add opengraph meta tags (#3247)

Makes the site preview a bit nicer when sharing
This commit is contained in:
Mattias Wadman authored and GitHub committed 2025-02-06 22:14:29 +09:00
1 parent 6ce3bdf382
commit e33578a53e
1 file changed
+5
+5
View File
@@ -2,6 +2,11 @@
<meta charset="utf-8">
<title>{{ headline }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="{{ headline }}">
<meta property="og:description" content="jq is a lightweight and flexible command-line JSON processor">
<meta property="og:type" content="website">
<meta property="og:image" content="{{ url }}{{ root }}/icon.png">
<meta property="og:url" content="{{ url }}/{{ permalink }}">
<link rel="icon" href="{{ root }}/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="{{ root }}/icon.png" type="image/png">
<link rel="canonical" href="{{ url }}/{{ permalink }}">