aboutsummaryrefslogtreecommitdiff
path: root/template_index_html.go
diff options
context:
space:
mode:
Diffstat (limited to 'template_index_html.go')
-rw-r--r--template_index_html.go51
1 files changed, 0 insertions, 51 deletions
diff --git a/template_index_html.go b/template_index_html.go
deleted file mode 100644
index 8b43083..0000000
--- a/template_index_html.go
+++ /dev/null
@@ -1,51 +0,0 @@
-// SPDX-FileCopyrightText: 2020 Shulhan <ms@kilabit.info>
-// SPDX-License-Identifier: GPL-3.0-or-later
-
-package ciigo
-
-const templateIndexHTML = `<!DOCTYPE html>
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="theme-color" content="#375EAB">
-{{- range $k, $v := .Metadata}}
- <meta name="{{$k}}" content="{{$v}}">
-{{- end}}
- <title>{{.Title}}</title>
-{{- if .EmbeddedCSS}}
- <style>
- {{.EmbeddedCSS}}
- </style>
-{{- end}}
-{{- range .Styles}}
- <link rel="stylesheet" href="{{.}}">
-{{- end}}
- </head>
- <body>
- <div class="topbar">
- <div class="container">
- <div class="top-heading">
- <a href="/">{{.Title}}</a>
- </div>
- <div class="menu">
- <form class="item" action="/_internal/search">
- <input type="text" name="q" placeholder="Search" />
- </form>
- </div>
- </div>
- </div>
- <div class="page">
- <div class="container">
-{{.Body}}
- </div>
- </div>
- <div class="footer">
- Powered by <a
- href="https://git.sr.ht/~shulhan/ciigo"
- >
- ciigo
- </a>
- </div>
- </body>
-</html>`