2018-02-17 19:21:22 -08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
2018-04-23 14:15:20 -03:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2019-12-06 20:03:37 -08:00
|
|
|
{{with .board -}}
|
|
|
|
{{with $.op -}}
|
|
|
|
{{if ne $.op.Subject "" -}}<title>/{{$.board.Dir}}/ - {{truncateString $.op.Subject 20 true}}</title>
|
|
|
|
{{- else if ne $.op.MessageHTML "" -}}<title>/{{$.board.Dir}}/ - {{truncateString $.op.MessageText 20 true}}</title>
|
|
|
|
{{- else}}<title>/{{$.board.Dir}}/ - #{{$.op.ID}}</title>{{end}}
|
|
|
|
{{- else}}<title>/{{$.board.Dir}}/ - {{$.board.Title}}</title>{{end}}
|
2022-01-29 20:46:00 -08:00
|
|
|
{{- else}}<title>{{with $.page_title}}{{$.page_title}} - {{end}}{{.site_config.SiteName}}</title>{{end}}
|
2022-01-04 17:48:46 -08:00
|
|
|
<link rel="stylesheet" href="{{.webroot}}css/global.css" />
|
|
|
|
<link id="theme" rel="stylesheet" href="{{.webroot}}css/{{.board_config.DefaultStyle}}" />
|
2021-07-11 16:30:39 -07:00
|
|
|
<link rel="shortcut icon" href="{{.webroot}}favicon.png">
|
2022-01-04 17:48:46 -08:00
|
|
|
<script type="text/javascript" src="{{.webroot}}js/consts.js"></script>
|
|
|
|
<script type="text/javascript" src="{{.webroot}}js/gochan.js"></script>
|
2018-02-17 19:21:22 -08:00
|
|
|
</head>
|
|
|
|
<body>
|
2019-12-06 20:03:37 -08:00
|
|
|
<div id="topbar">
|
2021-09-01 13:01:15 -07:00
|
|
|
<a href="{{$.webroot}}" class="topbar-item">home</a>
|
2021-09-01 12:46:26 -07:00
|
|
|
{{range $i, $board := .boards}}<a href="{{$.webroot}}{{$board.Dir}}/" class="topbar-item" title="{{$board.Title}}">/{{$board.Dir}}/</a>{{end}}
|
2022-01-29 23:47:13 -08:00
|
|
|
</div>
|
2022-04-14 21:20:32 -07:00
|
|
|
<div id="content">
|
2022-08-01 16:08:57 -07:00
|
|
|
{{with $.page_title }}<br /><h1>{{$.page_title}}</h1>
|
|
|
|
{{with $.include_dashboard_link}}<a href="{{$.webroot}}manage">Return to dashboard</a><br/>{{end}}
|
|
|
|
{{end}}
|