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)
} }
+48 -45
View File
@@ -7,54 +7,57 @@
* 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">
<!-- Venice Logo --> <div class="flex-1 p-4">
<div class="text-center mb-6"> <!-- Venice Logo -->
<img src="/img/builtin/AmsterdamLogo.png" <div class="text-center mb-6">
alt="Amsterdam Web Communities System" <img src="/img/builtin/AmsterdamLogo.png"
class="w-96 h-88 mx-auto"> alt="Amsterdam Web Communities System"
</div> class="w-96 h-88 mx-auto">
</div>
<!-- Version and Copyright --> <!-- Version and Copyright -->
<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>,
</p> All Rights Reserved.
<p class="text-sm text-black"> </p>
This software is subject to the <p class="text-sm text-black">
<a href="https://www.mozilla.org/en-US/MPL/2.0/" This software is subject to the
target="_blank" <a href="https://www.mozilla.org/en-US/MPL/2.0/"
class="text-blue-700 hover:text-blue-900">Mozilla Public License Version 2.0</a>. target="_blank"
It is distributed on an "AS IS" basis, <strong>without warranty of any kind</strong>, either express or implied. class="text-blue-700 hover:text-blue-900">Mozilla Public License Version 2.0</a>.
See the License for the specific language governing rights and limitations under the License. It is distributed on an "AS IS" basis, <strong>without warranty of any kind</strong>, either express or implied.
</p> See the License for the specific language governing rights and limitations under the License.
</div> </p>
</div>
<!-- Project Team --> <!-- Project Team -->
<div class="mb-6"> <div class="mb-6">
<h3 class="text-lg font-bold mb-4">The Amsterdam Project Team</h3> <h3 class="text-lg font-bold mb-4">The Amsterdam Project Team</h3>
<dl class="text-sm text-black space-y-3"> <dl class="text-sm text-black space-y-3">
<div> <div>
<dt class="font-bold">Amy Gale Ruth Bowersox</dt> <dt class="font-bold">Amy Gale Ruth Bowersox</dt>
<dd class="ml-4">Code wrangler, system guru, and administrator in general</dd> <dd class="ml-4">Code wrangler, system guru, and administrator in general</dd>
</div> </div>
</dl> </dl>
</div> </div>
<!-- Thanks Section --> <!-- Thanks Section -->
<div class="text-center mb-6"> <div class="text-center mb-6">
<p class="text-sm text-black italic"> <p class="text-sm text-black italic">
Thanks to: Howard, who thought it up; Andre, who rescued it the first time; the Electric Minds community, who rescued it again; Thanks to: Howard, who thought it up; Andre, who rescued it the first time; the Electric Minds community, who rescued it again;
and Nicole, without whom none of this would have been possible. and Nicole, without whom none of this would have been possible.
</p> </p>
</div> </div>
<!-- Erbosoft Logo --> <!-- Erbosoft Logo -->
<div class="text-center"> <div class="text-center">
<a href="https://erbosoft.com/"> <a href="https://erbosoft.com/">
<img src="/img/builtin/Erbosoft-logo.png" <img src="/img/builtin/Erbosoft-logo.png"
alt="Erbosoft Metaverse Design Solutions" alt="Erbosoft Metaverse Design Solutions"
class="w-72 h-25 mx-auto"> class="w-72 h-25 mx-auto">
</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>