This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/master by this push:
new 4f4b30c CAMEL-13819: update copyright year in the footer
4f4b30c is described below
commit 4f4b30c8d0e88f2a06e9cebf38c862358e019e59
Author: Zoran Regvart <[email protected]>
AuthorDate: Thu Aug 15 12:09:19 2019 +0200
CAMEL-13819: update copyright year in the footer
---
antora-ui-camel/src/helpers/now_year.js | 5 +++++
antora-ui-camel/src/partials/footer-content.hbs | 2 +-
layouts/partials/footer.html | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/antora-ui-camel/src/helpers/now_year.js
b/antora-ui-camel/src/helpers/now_year.js
new file mode 100644
index 0000000..df263e6
--- /dev/null
+++ b/antora-ui-camel/src/helpers/now_year.js
@@ -0,0 +1,5 @@
+'use strict'
+
+const year = new Date().getFullYear()
+
+module.exports = () => year
diff --git a/antora-ui-camel/src/partials/footer-content.hbs
b/antora-ui-camel/src/partials/footer-content.hbs
index 5d52c38..b212f17 100644
--- a/antora-ui-camel/src/partials/footer-content.hbs
+++ b/antora-ui-camel/src/partials/footer-content.hbs
@@ -31,7 +31,7 @@
<dd><a target="_blank"
href="https://www.apache.org/foundation/thanks.html"
title="Thanks">Thanks</a></dd>
</dl>
<p>
- © 2004-2018 The <a href="https://apache.org">Apache Software
Foundation</a>.<br>
+ © 2004-{{now_year}} The <a
href="https://apache.org">Apache Software Foundation</a>.<br>
Apache Camel, Camel, Apache, the Apache feather logo, and the
Apache Camel project logo are trademarks of
The Apache Software Foundation. All other marks mentioned may
be trademarks or registered trademarks of
their respective owners.
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index b222e61..d2afb47 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -31,7 +31,7 @@
<dd><a target="_blank"
href="https://www.apache.org/foundation/thanks.html"
title="Thanks">Thanks</a></dd>
</dl>
<p>
- © 2004-2018 The <a href="https://apache.org">Apache Software
Foundation</a>.<br>
+ © 2004-{{ now.Format "2006" }} The <a
href="https://apache.org">Apache Software Foundation</a>.<br>
Apache Camel, Camel, Apache, the Apache feather logo, and the
Apache Camel project logo are trademarks of
The Apache Software Foundation. All other marks mentioned may
be trademarks or registered trademarks of
their respective owners.