aboutsummaryrefslogtreecommitdiff
path: root/templates/page/custom_page.gohtml
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus@anhgelus.world>2024-12-10 19:55:05 +0100
committerAnhgelus Morhtuuzh <anhgelus@anhgelus.world>2024-12-10 19:55:05 +0100
commita5955c32fb3b22e37769df49196ddab7b7d53b7d (patch)
treea1c8f7eca8e87b3c3d836ff3effa2f6a2183278d /templates/page/custom_page.gohtml
parent9b6819f25fc860ea1c2dc84b61b7576b73aaa78c (diff)
feat(custom): support links
Diffstat (limited to 'templates/page/custom_page.gohtml')
-rw-r--r--templates/page/custom_page.gohtml4
1 files changed, 1 insertions, 3 deletions
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 @@
<a href="/">Home</a>
</nav>
</div>
- {{ range $content := .Content }}
- {{ .Get }}
- {{ end }}
+ {{ .GetContent }}
</main>
{{end}}