diff --git a/assets/view/layout/base.templ b/assets/view/layout/base.templ index 3c4fc47..d51319e 100644 --- a/assets/view/layout/base.templ +++ b/assets/view/layout/base.templ @@ -28,7 +28,6 @@ templ Base() { - if plausible != "" { @PlausibleScript(plausible) @@ -39,7 +38,7 @@ templ Base() {
{ children... }
- @Footer() + @Footer() } diff --git a/assets/view/layout/footer.templ b/assets/view/layout/footer.templ index c923b9f..296f667 100644 --- a/assets/view/layout/footer.templ +++ b/assets/view/layout/footer.templ @@ -35,7 +35,7 @@ templ Footer() {

- © { appName }, All rights reserved. + © { appName }, All rights reserved.

diff --git a/assets/view/pages/home.templ b/assets/view/pages/home.templ index 4d9eba7..7bb5b17 100644 --- a/assets/view/pages/home.templ +++ b/assets/view/pages/home.templ @@ -5,7 +5,9 @@ import ( "github.com/danielmichaels/shortlink-go/internal/config" ) -var title = config.AppConfig().Names.AppName +var ( + title = config.AppConfig().Names.AppName +) templ Home() { @layout.Base() { @@ -217,9 +219,8 @@ templ LinksSection() { templ SubmitFormScript() {