Implement proper model, actions and template structure
[cacert-boardvoting.git] / templates / header.html
1 {{ define "pagetitle" }}
2 CAcert Board Decisions{{ if .PageTitle }} - {{ .PageTitle }}{{ end}}
3 {{ end }}
4
5 {{ define "header" -}}
6 <!DOCTYPE html>
7 <html xmlns="http://www.w3.org/1999/html">
8 <head>
9 <title>{{ template "pagetitle" . }}</title>
10 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
11 <link rel="stylesheet" type="text/css" href="/static/styles.css"/>
12 </head>
13 <body>
14 <h1>{{ template "pagetitle" . }}</h1>
15 {{ end }}