diff options
| author | William Hergès <anhgelus@anhgelus.world> | 2024-12-10 20:47:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-10 20:47:56 +0100 |
| commit | 0149f9905c2830441d9ccfeccbb02e4ebf60a0d8 (patch) | |
| tree | 52ffaeaea8534a2f4771a2c8a353b37f6a97f566 /templates | |
| parent | 730ec347582289efbc0cd1c48e4c243d4c4920d6 (diff) | |
| parent | 40fe301b5462b84e06747ff30add26b4259d38a4 (diff) | |
Merge pull request #1 from anhgelus/feat/custom-page
[Feat] Custom page
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/page/custom_page.gohtml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/page/custom_page.gohtml b/templates/page/custom_page.gohtml new file mode 100644 index 0000000..83a4983 --- /dev/null +++ b/templates/page/custom_page.gohtml @@ -0,0 +1,11 @@ +{{define "body"}} + <main class="custom-page" style="{{ .GetBackground }}"> + <div class="header"> + <h2>{{ .Title }}</h2> + <nav> + <a href="/">Home</a> + </nav> + </div> + {{ .GetContent }} + </main> +{{end}} |
