commit a3399f41cc64afa4547d1684803b84ff8080f536 (patch)
parent e1530f3925c2884e8cd4efe04f41f6ebfff7db80
Author: Alex Karle <alex@alexkarle.com>
Date: Wed, 30 Dec 2020 14:13:43 -0500
www: Fix publish-date on blog/intro pages
These two do not have permanent dates, and I want the date to be
the date mandoc(1) was run to generate the HTML (this is the whole
reason why I used a crazy implicit make rule to ensure they're only
generated when needed!)
It seems that OpenBSD's mandoc(1) doesn't populate empty .Dd, but
works with $Mdocdate$, so this patch updates those pages to use it.
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/blog.7 b/blog.7
@@ -1,4 +1,4 @@
-.Dd
+.Dd $Mdocdate$
.Dt BLOG 7
.Os
.Sh NAME
diff --git a/intro.7 b/intro.7
@@ -1,4 +1,4 @@
-.Dd
+.Dd $Mdocdate$
.Dt INTRO 7
.Os
.Sh NAME