added copyright date to templates

This commit is contained in:
2025-09-21 23:12:56 -06:00
parent a01de27c96
commit 93aa6bd0ba
4 changed files with 54 additions and 47 deletions
+3
View File
@@ -23,6 +23,9 @@ import (
// AMSTERDAM_VERSION contains the version number of Amsterdam. // AMSTERDAM_VERSION contains the version number of Amsterdam.
const AMSTERDAM_VERSION = "0.0.1" const AMSTERDAM_VERSION = "0.0.1"
// AMSTERDAM_COPYRIGHT contains the copyright dates for Amsterdam.
const AMSTERDAM_COPYRIGHT = "2025"
// AmCLI is the command-line interface arguments structure. // AmCLI is the command-line interface arguments structure.
type AmCLI struct { type AmCLI struct {
ConfigFile string `arg:"-C,--config" help:"Location of the configuration file."` ConfigFile string `arg:"-C,--config" help:"Location of the configuration file."`
+1
View File
@@ -37,6 +37,7 @@ func SetupTemplates() {
jet.DevelopmentMode(true), jet.DevelopmentMode(true),
) )
views.AddGlobal("AmsterdamVersion", config.AMSTERDAM_VERSION) views.AddGlobal("AmsterdamVersion", config.AMSTERDAM_VERSION)
views.AddGlobal("AmsterdamCopyright", config.AMSTERDAM_COPYRIGHT)
views.AddGlobal("GlobalConfig", config.GlobalConfig) views.AddGlobal("GlobalConfig", config.GlobalConfig)
} }
+4 -1
View File
@@ -7,6 +7,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. * file, You can obtain one at https://mozilla.org/MPL/2.0/.
*} *}
<div class="flex"> <div class="flex">
<div class="flex-1 p-4">
<!-- Venice Logo --> <!-- Venice Logo -->
<div class="text-center mb-6"> <div class="text-center mb-6">
<img src="/img/builtin/AmsterdamLogo.png" <img src="/img/builtin/AmsterdamLogo.png"
@@ -18,7 +19,8 @@
<div class="mb-6"> <div class="mb-6">
<h3 class="text-lg font-bold mb-2">Amsterdam Web Communities System Release {{ AmsterdamVersion }}</h3> <h3 class="text-lg font-bold mb-2">Amsterdam Web Communities System Release {{ AmsterdamVersion }}</h3>
<p class="text-sm text-black mb-4"> <p class="text-sm text-black mb-4">
Copyright © 2025 <a href="https://erbosoft.com/">Erbosoft Metaverse Design Solutions</a>, All Rights Reserved. Copyright © {{ AmsterdamCopyright }} <a href="https://erbosoft.com/">Erbosoft Metaverse Design Solutions</a>,
All Rights Reserved.
</p> </p>
<p class="text-sm text-black"> <p class="text-sm text-black">
This software is subject to the This software is subject to the
@@ -58,3 +60,4 @@
</a> </a>
</div> </div>
</div> </div>
</div>
+1 -1
View File
@@ -107,7 +107,7 @@
<div class="text-right text-xs text-black leading-relaxed"> <div class="text-right text-xs text-black leading-relaxed">
All trademarks and copyrights on this page are owned by their respective companies.<br> All trademarks and copyrights on this page are owned by their respective companies.<br>
All messages posted by users on this page are owned by those users.<br> All messages posted by users on this page are owned by those users.<br>
The rest: Copyright © 2025 The rest: Copyright © {{ AmsterdamCopyright }}
<a href="https://www.erbosoft.com/" class="text-blue-700 hover:text-blue-900">Erbosoft Metaverse Design Solutions</a>, <a href="https://www.erbosoft.com/" class="text-blue-700 hover:text-blue-900">Erbosoft Metaverse Design Solutions</a>,
All Rights Reserved.<br> All Rights Reserved.<br>
See our <a href="/TODO/policypage" class="text-blue-700 hover:text-blue-900">Policy Page</a> See our <a href="/TODO/policypage" class="text-blue-700 hover:text-blue-900">Policy Page</a>