sophuwu.site > myweb
minor touches
sophuwu sophie@skisiel.com
Thu, 19 Dec 2024 22:11:14 +0100
commit

287bf668d5bb1ce12f04786a2d95985ad72f12d5

parent

62eb48714deb9bf3f6e067e23a8e74dd35c8b056

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M main.gomain.go

@@ -62,6 +62,7 @@ return

} d, err := GetPageData("index") if CheckHttpErr(err, w, r, 500) { + AddRequiredData() return } d.Set("Image", strings.TrimSuffix(config.URL, "/")+d["ImagePath"].(string))
M webhome/templates/manage.htmlwebhome/templates/manage.html

@@ -2,6 +2,7 @@ {{ define "manage" }}

<html lang="en"> {{ template "head" . }} <body> +{{ template "nav" . }} <main> <h2> {{ .Title }} {{ .Description }}