We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8e03f0 commit f857d67Copy full SHA for f857d67
docs/javascripts/copyright_year.js
@@ -0,0 +1 @@
1
+document.getElementById("copyright-year").textContent = " - " + new Date().getFullYear();
mkdocs.yml
@@ -41,7 +41,7 @@ extra:
41
- icon: fontawesome/brands/github
42
link: https://github.com/apernet/hysteria
43
44
-copyright: Copyright © 2020 - 2024 The Hysteria Project
+copyright: Copyright © 2020<span id="copyright-year"></span> The Hysteria Project
45
46
extra_css:
47
- stylesheets/extra.css
@@ -240,6 +240,7 @@ nav:
240
- Donation: docs/Donation.md
241
242
extra_javascript:
243
+ - javascripts/copyright_year.js
244
- javascripts/mathjax.js
245
- https://polyfill.io/v3/polyfill.min.js?features=es6
246
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
0 commit comments