From 119d2c99c25f801c07a5ac42a27f5659a1cf2dcc Mon Sep 17 00:00:00 2001 From: Ashik K Date: Thu, 2 Mar 2023 23:13:47 +0100 Subject: [PATCH] Change StaticUrlPrefix to AssetUrlPrefix - to make it run in Gitea 1.18.5 - Also remove a lot of stuff and keep the page minimal. --- templates/home.tmpl | 73 +++++++++++---------------------------------- 1 file changed, 18 insertions(+), 55 deletions(-) diff --git a/templates/home.tmpl b/templates/home.tmpl index fa1c412..559b9c9 100644 --- a/templates/home.tmpl +++ b/templates/home.tmpl @@ -1,57 +1,20 @@ {{template "base/head" .}} -
-
- -
-
-
-
- -
-
-

- {{AppName}} -

-

{{.i18n.Tr "startpage.app_desc"}}

-
-
-
-
-
-

- {{svg "octicon-flame" 16}} {{.i18n.Tr "startpage.install"}} -

-

- {{.i18n.Tr "startpage.install_desc" | Str2html}} -

-
-
-

- {{svg "octicon-device-desktop" 16}} {{.i18n.Tr "startpage.platform"}} -

-

- {{.i18n.Tr "startpage.platform_desc" | Str2html}} -

-
-
-
-
-

- {{svg "octicon-rocket" 16}} {{.i18n.Tr "startpage.lightweight"}} -

-

- {{.i18n.Tr "startpage.lightweight_desc" | Str2html}} -

-
-
-

- {{svg "octicon-code" 16}} {{.i18n.Tr "startpage.license"}} -

-

- {{.i18n.Tr "startpage.license_desc" | Str2html}} -

-
-
+
+
+ +
+
+
+
+ +
+
+

+
{{AppName}}
+

+

{{.locale.Tr "startpage.app_desc"}}

+
+
+
- -{{template "base/footer" .}} +