summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-07-15 11:32:01 +0200
committerWynn Wolf Arbor2020-07-15 11:32:01 +0200
commitd469e0930129d3c7eaeb5f891e5b96cb47a2b38a (patch)
treed3e387cd74cc880484355b918bc4563d7d15c48b
parent044fe1e03d2c3ec6cc0e430250cea9ed20f0d0a2 (diff)
downloadsite-d469e0930129d3c7eaeb5f891e5b96cb47a2b38a.tar.gz
templates: Use standardized value for name attribute in <meta>
In commit bbaaf25 (templates: Add date and author to head metadata, 2020-04-10), a <meta> tag containing the publication date was added for unknown reasons. It is unclear where this line is from, as the 'scheme' attribute is not even part of the HTML5 specification. Furthermore, the value of "date" for the 'name' attribute is not standardized. Use "dc:date" as per the Dublin Core Metadata Initiative [1] instead of "date" and remove the 'scheme' attribute fully. [1] https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http%3a%2f%2fpurl.org%2fdc%2fterms%2fdate
-rw-r--r--templates/post.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/post.xml b/templates/post.xml
index b04439a..e186105 100644
--- a/templates/post.xml
+++ b/templates/post.xml
@@ -7,7 +7,7 @@
<link rel="icon" href="../logo.svg"/>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
- <meta name="date" scheme="YYYY-MM-DD" content="${sblg-date}" />
+ <meta name="dc:date" content="${sblg-date}" />
<meta name="author" content="${sblg-authortext}" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="${sblg-titletext}" />