From 279f73187b9de250de3b1788d1ce543c60832bc6 Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Tue, 10 Dec 2024 19:00:56 +0100 Subject: feat(custom): config and generation --- templates/page/custom_page.gohtml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 templates/page/custom_page.gohtml (limited to 'templates/page') diff --git a/templates/page/custom_page.gohtml b/templates/page/custom_page.gohtml new file mode 100644 index 0000000..15bd0e9 --- /dev/null +++ b/templates/page/custom_page.gohtml @@ -0,0 +1,8 @@ +{{define "body"}} +
+

{{ .Title }}

+ {{ range $content := .Content }} + {{ .Get }} + {{ end }} +
+{{end}} -- cgit v1.2.3 From 9b6819f25fc860ea1c2dc84b61b7576b73aaa78c Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Tue, 10 Dec 2024 19:19:41 +0100 Subject: feat(custom): better style and navbar --- templates/page/custom_page.gohtml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'templates/page') diff --git a/templates/page/custom_page.gohtml b/templates/page/custom_page.gohtml index 15bd0e9..4cb8078 100644 --- a/templates/page/custom_page.gohtml +++ b/templates/page/custom_page.gohtml @@ -1,6 +1,11 @@ {{define "body"}}
-

{{ .Title }}

+
+

{{ .Title }}

+ +
{{ range $content := .Content }} {{ .Get }} {{ end }} -- cgit v1.2.3 From a5955c32fb3b22e37769df49196ddab7b7d53b7d Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Tue, 10 Dec 2024 19:55:05 +0100 Subject: feat(custom): support links --- templates/page/custom_page.gohtml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'templates/page') diff --git a/templates/page/custom_page.gohtml b/templates/page/custom_page.gohtml index 4cb8078..83a4983 100644 --- a/templates/page/custom_page.gohtml +++ b/templates/page/custom_page.gohtml @@ -6,8 +6,6 @@ Home - {{ range $content := .Content }} - {{ .Get }} - {{ end }} + {{ .GetContent }}
{{end}} -- cgit v1.2.3