2019-11-24 14:42:39 -08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2022-12-20 13:13:08 -08:00
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
{{with .board -}}
|
|
|
|
{{with $.op -}}
|
|
|
|
<title>{{$.op.TitleText}}</title>
|
|
|
|
{{- else}}
|
|
|
|
<title>/{{$.board.Dir}}/ - {{$.board.Title}}</title>
|
|
|
|
{{end}}
|
2022-12-22 12:58:18 -08:00
|
|
|
{{- else}}<title>{{with $.pageTitle}}{{$.pageTitle}} - {{end}}{{.siteConfig.SiteName}}</title>{{end}}
|
2022-12-20 13:13:08 -08:00
|
|
|
<link rel="stylesheet" href="{{.webroot}}css/global.css" />
|
2022-12-22 12:58:18 -08:00
|
|
|
<link id="theme" rel="stylesheet" href="{{.webroot}}css/{{.boardConfig.DefaultStyle}}" />
|
2022-12-20 13:13:08 -08:00
|
|
|
<link rel="shortcut icon" href="{{.webroot}}favicon.png">
|
|
|
|
<script type="text/javascript" src="{{.webroot}}js/consts.js"></script>
|
|
|
|
<script type="text/javascript" src="{{.webroot}}js/gochan.js"></script>
|
2019-11-24 14:42:39 -08:00
|
|
|
</head>
|
|
|
|
<body>
|
2022-12-20 13:13:08 -08:00
|
|
|
<div id="topbar">
|
|
|
|
<a href="{{$.webroot}}" class="topbar-item">home</a>
|
|
|
|
{{range $i, $board := .boards}}<a href="{{$.webroot}}{{$board.Dir}}/" class="topbar-item" title="{{$board.Title}}">/{{$board.Dir}}/</a>{{end}}
|
|
|
|
</div>
|
2022-12-22 12:58:18 -08:00
|
|
|
{{with $.pageTitle}}<header>
|
|
|
|
<h1 id="board-title">{{$.pageTitle}}</h1>
|
|
|
|
{{with $.includeDashboardLink -}}
|
|
|
|
<a href="{{$.webroot}}manage" class="board-subtitle">Return to dashboard</a><br/>
|
|
|
|
{{- end}}
|
2022-12-20 13:13:08 -08:00
|
|
|
</header>{{end}}
|
|
|
|
<div id="content">
|
|
|
|
<header>
|
|
|
|
<h1 id="board-title">hCAPTCHA test</h1>
|
|
|
|
</header><br />
|
|
|
|
<form method="POST" action="{{.webroot}}captcha">
|
|
|
|
<div class="h-captcha" data-sitekey="{{.siteKey}}"></div>
|
|
|
|
<script src="https://js.hcaptcha.com/1/api.js" async defer></script>
|
|
|
|
<input type="submit" value="Post">
|
2019-11-24 14:42:39 -08:00
|
|
|
</form>
|
2022-12-20 13:13:08 -08:00
|
|
|
<div id="footer">
|
|
|
|
Powered by <a href="http://github.com/gochan-org/gochan/">Gochan {{version}}</a><br />
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-11-24 14:42:39 -08:00
|
|
|
</body>
|
|
|
|
</html>
|