From 2afacce165b97ff234d1144e4b35b0e85a19be4f Mon Sep 17 00:00:00 2001 From: Morgan Date: Fri, 3 Mar 2023 18:12:11 +0100 Subject: [PATCH] chore: remove realm_main.html, better format on other templates (#552) --- gnoland/website/views/funcs.html | 21 ++++++++++----- gnoland/website/views/generic.html | 4 +-- gnoland/website/views/realm_main.html | 39 --------------------------- 3 files changed, 16 insertions(+), 48 deletions(-) delete mode 100644 gnoland/website/views/realm_main.html diff --git a/gnoland/website/views/funcs.html b/gnoland/website/views/funcs.html index f5ca952edfa..94412ade18f 100644 --- a/gnoland/website/views/funcs.html +++ b/gnoland/website/views/funcs.html @@ -46,7 +46,8 @@ -{{ end }} {{define "html_head" }} +{{ end }} +{{ define "html_head" }} @@ -96,16 +97,21 @@ }); })(); -{{ end }} {{ define "header_logo" }}{{ end }} {{ define "footer" }} + /> + +{{ end }} +{{ define "footer" }}
-{{ end }} {{ define "js" }} +{{ end }} +{{ define "js" }} -{{ end }} {{ define "subscribe" }} +{{ end }} +{{ define "subscribe" }}
- Gno.land - {{ .Data.Title }} + Gno.land - {{ .Data.Title }} {{ template "html_head" }} @@ -13,7 +13,7 @@
-{{ .Data.MainContent }}
+          {{- .Data.MainContent -}}
         
{{ template "footer" }} diff --git a/gnoland/website/views/realm_main.html b/gnoland/website/views/realm_main.html deleted file mode 100644 index 6690ca04170..00000000000 --- a/gnoland/website/views/realm_main.html +++ /dev/null @@ -1,39 +0,0 @@ -{ { - define "app" -} } - - - - - - < /head> - < body onload = "main()" > - - < div id = "realm_main" > -
- This is the realm's base page. From here, you can: - < ul > -
  • view realm files < /a>
  • -
  • view public functions < /a>
  • -
  • - render realm expression: { { .Data.DirPath } }: -