diff options
| author | Shulhan <ms@kilabit.info> | 2020-05-01 15:04:39 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2020-05-07 13:56:46 +0700 |
| commit | be40291e5dac2a56de940bfb5dfc842b856ca233 (patch) | |
| tree | 2e1481b01939743d1492d6271069ccd7b9aefaf4 /_example/html.tmpl | |
| parent | 8713b9674b608dd2c7e95215d4b7e8a298898611 (diff) | |
| download | ciigo-be40291e5dac2a56de940bfb5dfc842b856ca233.tar.xz | |
all: rename the "content" directory to "_example"
While at it, also move the templates into _example and all assets
into the same directory.
Diffstat (limited to '_example/html.tmpl')
| -rw-r--r-- | _example/html.tmpl | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/_example/html.tmpl b/_example/html.tmpl new file mode 100644 index 0000000..d5612c9 --- /dev/null +++ b/_example/html.tmpl @@ -0,0 +1,53 @@ +<!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"> + <h1>{{.Title}}</h1> + <div class="meta"> + {{.Author}} + <br /> + {{.Date}} + </div> + {{.Body}} + </div> + <!-- .container --> + </div> + <!-- .page --> + + <div class="footer"> + Powered by <a + href="https://github.com/shuLhan/ciigo" + > + ciigo + </a> + </div> + </body> +</html> |
