mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-08-14 16:26:23 -07:00
32 lines
No EOL
1.2 KiB
HTML
32 lines
No EOL
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<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}}
|
|
{{- else -}}
|
|
<title>{{with $.pageTitle}}{{$.pageTitle}} - {{end}}{{.siteConfig.SiteName}}</title>
|
|
{{- end}}
|
|
<link rel="stylesheet" href="{{webPath "/css/global.css"}}" />
|
|
<link id="theme" rel="stylesheet" href="{{webPath "/css/" .boardConfig.DefaultStyle}}" />
|
|
<link rel="shortcut icon" href="{{webPath "/favicon.png"}}">
|
|
<script type="text/javascript" src="{{webPath "/js/consts.js"}}"></script>
|
|
<script type="text/javascript" src="{{webPath "/js/gochan.js"}}"></script>
|
|
</head>
|
|
<body>
|
|
<div id="topbar">
|
|
<a href="{{webPath "/"}}" class="topbar-item">home</a>
|
|
{{range $i, $board := .boards}}<a href="{{webPath $board.Dir}}/" class="topbar-item" title="{{$board.Title}}">/{{$board.Dir}}/</a>{{end}}
|
|
</div>
|
|
{{with $.pageTitle -}}<header>
|
|
<h1 id="board-title">{{$.pageTitle}}</h1>
|
|
{{with $.includeDashboardLink -}}
|
|
<a href="{{webPath "/manage"}}" class="board-subtitle">Return to dashboard</a><br/>
|
|
{{- end}}
|
|
</header>{{end}}
|
|
<div id="content"> |