2018-11-24 12:34:51 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport"
|
|
|
|
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
2020-05-18 19:12:49 +00:00
|
|
|
<link rel="redirect_uri" href="{{ .RedirectURI }}" />
|
2020-10-31 13:02:14 +00:00
|
|
|
<link rel="stylesheet" href="/public/vendors.css" />
|
2020-06-23 22:19:01 +00:00
|
|
|
<link rel="stylesheet" href="/public/index.css" />
|
2020-06-09 22:40:00 +00:00
|
|
|
<link rel="stylesheet" href="https://unpkg.com/prismjs@1.20.0/themes/prism-tomorrow.css">
|
2020-05-17 13:09:18 +00:00
|
|
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/>
|
2018-11-24 12:34:51 +00:00
|
|
|
<title>{{ .Title }} - Wiki</title>
|
|
|
|
{{ block "content_head" . }} {{ end }}
|
|
|
|
<style>
|
|
|
|
</style>
|
2020-05-11 21:34:10 +00:00
|
|
|
<style>
|
|
|
|
</style>
|
2018-11-24 12:34:51 +00:00
|
|
|
</head>
|
2020-08-05 08:03:54 +00:00
|
|
|
<body data-base-url="{{ .BaseURL }}">
|
2020-07-05 18:34:36 +00:00
|
|
|
<div>
|
2018-11-24 12:34:51 +00:00
|
|
|
<nav class="navbar" role="navigation" aria-label="main navigation">
|
|
|
|
<div class="navbar-brand">
|
|
|
|
<a class="navbar-item" href="/">
|
|
|
|
Wiki
|
|
|
|
</a>
|
|
|
|
|
2020-05-17 13:09:18 +00:00
|
|
|
<a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false"
|
|
|
|
data-target="navbarBasicExample">
|
2018-11-24 12:34:51 +00:00
|
|
|
<span aria-hidden="true"></span>
|
|
|
|
<span aria-hidden="true"></span>
|
|
|
|
<span aria-hidden="true"></span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="navbarBasicExample" class="navbar-menu">
|
|
|
|
<div class="navbar-start">
|
|
|
|
{{ block "navbar" . }}{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
|
2020-11-01 17:44:50 +00:00
|
|
|
<div class="searchbar">
|
|
|
|
<div class="field">
|
|
|
|
<p class="control">
|
|
|
|
<input class="search input" id="search-input" type="text" placeholder="Find a page">
|
|
|
|
</p>
|
|
|
|
<div id="autocomplete" class="hide keyboard-list" tabindex="0"></div>
|
2020-05-17 13:09:18 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-08-05 08:03:54 +00:00
|
|
|
<div class="grid">
|
2020-08-31 09:50:29 +00:00
|
|
|
{{ block "sidebar" . }}
|
|
|
|
<div class="sidebar"></div>
|
|
|
|
{{end}}
|
2020-08-05 08:03:54 +00:00
|
|
|
|
|
|
|
<section class="section">
|
|
|
|
{{ template "content" . }}
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
|
2019-08-25 10:30:00 +00:00
|
|
|
|
2020-08-05 08:05:34 +00:00
|
|
|
<div class="footer">
|
2020-05-18 19:12:49 +00:00
|
|
|
<div class="h-app">
|
|
|
|
<a href="/" class="u-url p-name">Wiki</a>
|
|
|
|
— created by <a href="https://peterstuifzand.nl/">Peter Stuifzand</a>
|
|
|
|
</div>
|
2020-08-05 08:05:34 +00:00
|
|
|
</div>
|
2020-05-18 19:12:49 +00:00
|
|
|
|
2020-05-31 20:08:36 +00:00
|
|
|
<div id="save-indicator" class="hide"></div>
|
2018-11-24 12:34:51 +00:00
|
|
|
</div>
|
2020-06-24 14:51:51 +00:00
|
|
|
<div id="link-complete" class="hide keyboard-list"></div>
|
2020-05-17 13:09:18 +00:00
|
|
|
{{ block "footer_scripts" . }}
|
|
|
|
{{ end }}
|
2020-05-31 20:08:36 +00:00
|
|
|
<div id="result-template" class="hide">
|
2020-05-17 13:09:18 +00:00
|
|
|
<ul>
|
|
|
|
[[#results]]
|
2020-10-21 18:49:23 +00:00
|
|
|
<li><a href="/edit/[[ref]]">[[title]] <div>[[& text]]</div></a></li>
|
2020-05-17 13:09:18 +00:00
|
|
|
[[/results]]
|
2020-06-01 19:36:23 +00:00
|
|
|
[[^results]]
|
|
|
|
<li>No results</li>
|
|
|
|
[[/results]]
|
|
|
|
<li><a href="/edit/[[page]]">Create a page</a></li>
|
2020-05-17 13:09:18 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2020-10-31 13:02:14 +00:00
|
|
|
<script async src="/public/vendors.bundle.js"></script>
|
2020-06-23 22:19:01 +00:00
|
|
|
<script async src="/public/index.bundle.js"></script>
|
2018-11-24 12:34:51 +00:00
|
|
|
</body>
|
2019-08-25 10:30:00 +00:00
|
|
|
</html>
|