summaryrefslogtreecommitdiff
path: root/templates/header.html
blob: a6fc69e32120c65720c7372b280edd9d149634d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{{ define "pagetitle" }}
CAcert Board Decisions{{ if .PageTitle }} - {{ .PageTitle }}{{ end}}
{{ end }}

{{ define "header" -}}
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
    <title>{{ template "pagetitle" . }}</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link rel="stylesheet" type="text/css" href="/static/styles.css"/>
</head>
<body>
<h1>{{ template "pagetitle" . }}</h1>
{{ with .Flashes }}
<ul class="flash-messages">
{{ range . }}
    <li>{{ . }}</li>
{{ end }}
</ul>
{{ end }}
{{ end }}