diff options
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> |
