Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Aug 2023 18:10:18 GMT
From:      Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
To:        doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org
Subject:   git: de4df6356c - main - HTML copyright meta tag: Generate copyright year automatically
Message-ID:  <202308041810.374IAI8V003738@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by carlavilla:

URL: https://cgit.FreeBSD.org/doc/commit/?id=de4df6356c51c29ca6ae9cd31d4fed3b1627aaa4

commit de4df6356c51c29ca6ae9cd31d4fed3b1627aaa4
Author:     Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
AuthorDate: 2023-08-04 18:09:20 +0000
Commit:     Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
CommitDate: 2023-08-04 18:10:10 +0000

    HTML copyright meta tag: Generate copyright year automatically
---
 documentation/themes/beastie/layouts/partials/site-head.html | 2 +-
 website/themes/beastie/layouts/partials/site-head.html       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/documentation/themes/beastie/layouts/partials/site-head.html b/documentation/themes/beastie/layouts/partials/site-head.html
index 24d52f53fa..1031387406 100644
--- a/documentation/themes/beastie/layouts/partials/site-head.html
+++ b/documentation/themes/beastie/layouts/partials/site-head.html
@@ -3,7 +3,7 @@
   <meta name="viewport" content="width=device-width, initial-scale=1">
   <meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else }}{{ .Description }}{{ end }}"/>
   <meta name="keywords" content="{{ with .Params.tags -}}{{ delimit . ", "}}{{- end }}"/>
-  <meta name="copyright" content="1995-2021 The FreeBSD Foundation">
+  <meta name="copyright" content="1995-{{ now.Format "2006" }} The FreeBSD Foundation" />
   <link rel="canonical" href="{{ .Permalink }}" />
 
   <title>{{ with .Params.Title }}{{ . }} | {{ end }} {{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
diff --git a/website/themes/beastie/layouts/partials/site-head.html b/website/themes/beastie/layouts/partials/site-head.html
index 104f633b13..dce8175421 100644
--- a/website/themes/beastie/layouts/partials/site-head.html
+++ b/website/themes/beastie/layouts/partials/site-head.html
@@ -3,7 +3,7 @@
   <meta name="description" content="FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms." />
   <meta name="keywords" content="FreeBSD, BSD, UNIX, open source" />
 
-  <meta name="copyright" content="1995-2021 The FreeBSD Foundation">
+  <meta name="copyright" content="1995-{{ now.Format "2006" }} The FreeBSD Foundation" />
 
   <title>{{ with .Params.Title }}{{ . }} | {{ end }} {{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308041810.374IAI8V003738>