cacert-boardvoting/templates/header.html

22 lines
557 B
HTML
Raw Normal View History

{{ 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>
2017-04-18 00:34:21 +00:00
{{ with .Flashes }}
<ul class="flash-messages">
{{ range . }}
<li>{{ . }}</li>
{{ end }}
</ul>
{{ end }}
{{ end }}