2022-06-16 11:05:30 +00:00
|
|
|
{{define "confirm"}}Confirm{{end}}
|
|
|
|
{{define "cancel"}}Cancel{{end}}
|
2022-08-02 09:29:25 +00:00
|
|
|
{{define "save"}}Save{{end}}
|
2022-08-06 17:33:37 +00:00
|
|
|
{{define "error"}}Error{{end}}
|
|
|
|
{{define "delete"}}Delete{{end}}
|
2022-04-01 20:52:56 +00:00
|
|
|
{{define "page"}}
|
2022-03-29 20:59:36 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="{{.Meta.Locale}}">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2022-04-01 21:35:40 +00:00
|
|
|
<title>{{block "title" .}}{{end}}</title>
|
2022-08-18 14:48:13 +00:00
|
|
|
<link rel="icon" href="/static/favicon.ico">
|
2022-03-29 20:59:36 +00:00
|
|
|
<link rel="stylesheet" href="/static/style.css">
|
|
|
|
{{range .HeadElements}}{{.}}{{end}}
|
|
|
|
</head>
|
2022-08-14 22:36:55 +00:00
|
|
|
<body data-rrh-addr="{{if .Addr}}{{.Addr}}{{else}}{{.Meta.Addr}}{{end}}"{{range $key, $value := .BodyAttributes}} data-rrh-{{$key}}="{{$value}}"{{end}}>
|
2022-03-29 20:59:36 +00:00
|
|
|
<header>
|
|
|
|
<nav class="main-width top-bar">
|
|
|
|
<ul class="top-bar__wrapper">
|
|
|
|
<li class="top-bar__section top-bar__section_home">
|
|
|
|
<div class="top-bar__home-link-wrapper">
|
|
|
|
<a class="top-bar__home-link" href="/">{{block "wiki name" .}}{{end}}</a>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li class="top-bar__section top-bar__section_search">
|
|
|
|
<form class="top-bar__search" method="GET" action="/title-search">
|
|
|
|
<input type="text" name="q" class="top-bar__search-bar"
|
|
|
|
placeholder="{{block `search by title` .}}Search by title{{end}}">
|
|
|
|
</form>
|
|
|
|
</li>
|
|
|
|
<li class="top-bar__section top-bar__section_auth">
|
2022-04-29 09:52:31 +00:00
|
|
|
{{block "auth" .}}{{end}}
|
2022-03-29 20:59:36 +00:00
|
|
|
</li>
|
|
|
|
<li class="top-bar__section top-bar__section_highlights">
|
|
|
|
<ul class="top-bar__highlights">
|
|
|
|
{{range .HeaderLinks}}
|
|
|
|
<li class="top-bar__highlight">
|
|
|
|
<a class="top-bar__highlight-link" href="{{.Href}}">{{.Display}}</a>
|
|
|
|
</li>
|
|
|
|
{{end}}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
{{block "body" .}}{{end}}
|
2022-08-20 19:57:34 +00:00
|
|
|
<script src="/static/common.js"></script>
|
|
|
|
<script src="/static/shortcuts.js"></script>
|
2022-03-29 20:59:36 +00:00
|
|
|
<script src="/static/view.js"></script>
|
2022-08-19 16:33:31 +00:00
|
|
|
{{range .CommonScripts}}
|
|
|
|
<script src="{{.}}"></script>
|
|
|
|
{{end}}
|
2022-03-29 20:59:36 +00:00
|
|
|
</body>
|
|
|
|
</html>
|
2022-08-14 21:34:48 +00:00
|
|
|
{{end}}
|