aboutsummaryrefslogtreecommitdiff
path: root/_static/index.gohtml
diff options
context:
space:
mode:
Diffstat (limited to '_static/index.gohtml')
-rw-r--r--_static/index.gohtml49
1 files changed, 49 insertions, 0 deletions
diff --git a/_static/index.gohtml b/_static/index.gohtml
new file mode 100644
index 0000000..decb66c
--- /dev/null
+++ b/_static/index.gohtml
@@ -0,0 +1,49 @@
+<!-- SPDX-License-Identifier: GPL-3.0-or-later -->
+<!-- SPDX-FileCopyrightText: 2020 Shulhan <ms@kilabit.info> -->
+<!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 ne .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>
+<!-- vim: set filetype=angular: -->