summaryrefslogtreecommitdiff
path: root/templates/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/header.html')
-rw-r--r--templates/header.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/header.html b/templates/header.html
new file mode 100644
index 0000000..5f777bb
--- /dev/null
+++ b/templates/header.html
@@ -0,0 +1,15 @@
+{{ 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>
+{{ end }} \ No newline at end of file