aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2024-09-02 21:13:12 +0100
committerMartin Ashby <martin@ashbysoft.com>2024-09-02 21:13:12 +0100
commitbe56ff85c0e27185d8e956d6961405fbdb928841 (patch)
tree33e4e20531fdd94f47f63d3dfb407ab4eb077a51
parent34ea25eb340c80f8a4472b2f4305587f5192fbc4 (diff)
downloadmfashby.net-be56ff85c0e27185d8e956d6961405fbdb928841.tar.gz
mfashby.net-be56ff85c0e27185d8e956d6961405fbdb928841.tar.bz2
mfashby.net-be56ff85c0e27185d8e956d6961405fbdb928841.tar.xz
mfashby.net-be56ff85c0e27185d8e956d6961405fbdb928841.zip
Put some additional metadata in my page headers
https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/The_head_metadata_in_HTML
-rw-r--r--layouts/templates/main.shtml3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/templates/main.shtml b/layouts/templates/main.shtml
index c9369fc..7af8a0c 100644
--- a/layouts/templates/main.shtml
+++ b/layouts/templates/main.shtml
@@ -3,9 +3,12 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="author" content="$page.author">
+ <meta name="description" content="$page.description">
<title var="$page.title.suffix('|', $site.title)"></title>
<link rel="stylesheet" href="/css/style.css">
<link rel="stylesheet" href="/css/fonts.css">
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="/index.xml">
</head>
<body>
<nav>