aboutsummaryrefslogtreecommitdiff
path: root/_doc/example/html.tmpl
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-01-23 19:26:29 +0700
committerShulhan <ms@kilabit.info>2026-01-24 07:11:24 +0700
commitbd65f02acbd18532342f18e65e86edd1a2062e1c (patch)
treea14cd70acdb84fd447c1ba3629453a073c200d59 /_doc/example/html.tmpl
parent62c2e03409e8f7bc6f3f20df36603344afaf2b3a (diff)
downloadciigo-bd65f02acbd18532342f18e65e86edd1a2062e1c.tar.xz
all: move _example/ directory under _doc/ directory
This allow us to inspect the example using the serve-doc task, along with the content of _doc/.
Diffstat (limited to '_doc/example/html.tmpl')
-rw-r--r--_doc/example/html.tmpl50
1 files changed, 50 insertions, 0 deletions
diff --git a/_doc/example/html.tmpl b/_doc/example/html.tmpl
new file mode 100644
index 0000000..98c9356
--- /dev/null
+++ b/_doc/example/html.tmpl
@@ -0,0 +1,50 @@
+<!-- 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" />
+
+ <title>{{.Title}}</title>
+ <link rel="stylesheet" href="/index.css" />
+ {{- range .Styles}}
+ <link rel="stylesheet" href="{{.}}" />
+ {{- end}}
+</head>
+
+<body>
+ <div class="topbar">
+ <div class="container">
+ <div class="top-heading">
+ <a href="/">ciigo</a>
+ </div>
+ <div class="menu">
+ <form class="item" action="/_internal/search">
+ <input type="text" name="q" placeholder="Search" />
+ </form>
+ </div>
+ <div class="menu">
+ <a href="/sub">Sub</a>
+ </div>
+ </div>
+ </div>
+
+ <div class="page">
+ <div class="container">
+ {{.Body}}
+ </div>
+ <!-- .container -->
+ </div>
+ <!-- .page -->
+
+ <div class="footer">
+ Powered by <a href="https://sr.ht/~shulhan/ciigo">
+ ciigo
+ </a>
+ </div>
+</body>
+
+</html>