aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/app/handler/about')
-rw-r--r--pkg/app/handler/about/feedback.templ2
-rw-r--r--pkg/app/handler/about/feeds.templ2
-rw-r--r--pkg/app/handler/about/help.templ2
-rw-r--r--pkg/app/handler/about/index.templ2
-rw-r--r--pkg/app/handler/about/status.templ2
5 files changed, 5 insertions, 5 deletions
diff --git a/pkg/app/handler/about/feedback.templ b/pkg/app/handler/about/feedback.templ
index edd20a2..f29117e 100644
--- a/pkg/app/handler/about/feedback.templ
+++ b/pkg/app/handler/about/feedback.templ
@@ -76,5 +76,5 @@ templ feedback() {
// Feedback shows the feedback about page
func Feedback(w http.ResponseWriter, r *http.Request) {
- layout.Layout("About", "about", feedback()).Render(r.Context(), w)
+ layout.Layout("About", layout.About, feedback()).Render(r.Context(), w)
}
diff --git a/pkg/app/handler/about/feeds.templ b/pkg/app/handler/about/feeds.templ
index 3b66538..0116ee6 100644
--- a/pkg/app/handler/about/feeds.templ
+++ b/pkg/app/handler/about/feeds.templ
@@ -34,5 +34,5 @@ templ feeds() {
// Feeds shows the feeds about page
func Feeds(w http.ResponseWriter, r *http.Request) {
- layout.Layout("About", "about", feeds()).Render(r.Context(), w)
+ layout.Layout("About", layout.About, feeds()).Render(r.Context(), w)
}
diff --git a/pkg/app/handler/about/help.templ b/pkg/app/handler/about/help.templ
index 4487600..5ef1209 100644
--- a/pkg/app/handler/about/help.templ
+++ b/pkg/app/handler/about/help.templ
@@ -38,5 +38,5 @@ templ help() {
// Help shows the help about page
func Help(w http.ResponseWriter, r *http.Request) {
- layout.Layout("About", "about", help()).Render(r.Context(), w)
+ layout.Layout("About", layout.About, help()).Render(r.Context(), w)
}
diff --git a/pkg/app/handler/about/index.templ b/pkg/app/handler/about/index.templ
index 033b09a..7d4311d 100644
--- a/pkg/app/handler/about/index.templ
+++ b/pkg/app/handler/about/index.templ
@@ -55,5 +55,5 @@ templ index() {
// Index shows the landing page of the about pages
func Index(w http.ResponseWriter, r *http.Request) {
- layout.Layout("About", "about", index()).Render(r.Context(), w)
+ layout.Layout("About", layout.About, index()).Render(r.Context(), w)
}
diff --git a/pkg/app/handler/about/status.templ b/pkg/app/handler/about/status.templ
index 3c9193b..9829345 100644
--- a/pkg/app/handler/about/status.templ
+++ b/pkg/app/handler/about/status.templ
@@ -45,5 +45,5 @@ templ status(applications []*models.Application) {
func Status(w http.ResponseWriter, r *http.Request) {
var applicationData []*models.Application
database.DBCon.Model(&applicationData).Order("id").Column("id", "last_update").Select()
- layout.Layout("About", "about", status(applicationData)).Render(r.Context(), w)
+ layout.Layout("About", layout.About, status(applicationData)).Render(r.Context(), w)
}