cacert-boardvoting/templates/header.html

22 lines
No EOL
557 B
HTML

{{ 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 }}