mfashby.net

Website mfashby.net
git clone git://code.mfashby.net:/mfashby.net
Log | Files | Refs | Submodules | README

commit be56ff85c0e27185d8e956d6961405fbdb928841
parent 34ea25eb340c80f8a4472b2f4305587f5192fbc4
Author: Martin Ashby <martin@ashbysoft.com>
Date:   Mon,  2 Sep 2024 21:13:12 +0100

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

Diffstat:
Mlayouts/templates/main.shtml | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git 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>