From d642774a4493912e76dbc294dce834cf5b635324 Mon Sep 17 00:00:00 2001 From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com> Date: Sat, 21 Jun 2025 15:38:43 +0700 Subject: refactor: use new page templates --- web/html/common/head.html | 31 ------------------------- web/html/common/js.html | 14 ------------ web/html/common/page.html | 58 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+), 45 deletions(-) delete mode 100644 web/html/common/head.html delete mode 100644 web/html/common/js.html create mode 100644 web/html/common/page.html (limited to 'web/html/common') diff --git a/web/html/common/head.html b/web/html/common/head.html deleted file mode 100644 index 35901769..00000000 --- a/web/html/common/head.html +++ /dev/null @@ -1,31 +0,0 @@ -{{define "head"}} - - - - - - - - - {{ .host }} – {{ i18n .title}} - -
-{{end}} \ No newline at end of file diff --git a/web/html/common/js.html b/web/html/common/js.html deleted file mode 100644 index 1c2d64b3..00000000 --- a/web/html/common/js.html +++ /dev/null @@ -1,14 +0,0 @@ -{{define "js"}} - - - - - - - - - -{{end}} \ No newline at end of file diff --git a/web/html/common/page.html b/web/html/common/page.html new file mode 100644 index 00000000..f1c58fe1 --- /dev/null +++ b/web/html/common/page.html @@ -0,0 +1,58 @@ +{{ define "page/head_start" }} + + + + + + + + + + + {{ .host }} – {{ i18n .title}} +{{ end }} + +{{ define "page/head_end" }} + +{{ end }} + +{{ define "page/body_start" }} + +
+{{ end }} + +{{ define "page/body_scripts" }} + + + + + + + + + +{{ end }} + +{{ define "page/body_end" }} + + +{{ end }} \ No newline at end of file -- cgit v1.2.3