generated from templates/go-generic
32 lines
854 B
HTML
32 lines
854 B
HTML
|
{{ define "base" }}
|
||
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<title>Dan Anglin | Flow Platform</title>
|
||
|
<link rel="stylesheet" href="/static/css/stylesheet.css">
|
||
|
<link rel="icon" type="image/x-icon" href="/static/img/favicon.ico">
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<h1>Flow Platform</h1>
|
||
|
{{ if gt (len .Services) 0 }}
|
||
|
<h2>Services</h2>
|
||
|
<div class="links">
|
||
|
{{- range .Services }}
|
||
|
<p><a href="{{ .URL }}"{{ if gt (len .Rel) 0 }} rel="{{ .Rel }}"{{ end }}>{{ .Title }}</a></p>
|
||
|
{{ end }}
|
||
|
</div>
|
||
|
{{ end }}
|
||
|
{{ if gt (len .Profiles) 0 }}
|
||
|
<h2>My Profiles</h2>
|
||
|
<div class="links">
|
||
|
{{- range .Profiles }}
|
||
|
<p><a href="{{ .URL }}"{{ if gt (len .Rel) 0 }} rel="{{ .Rel }}"{{ end }}>{{ .Title }}</a></p>
|
||
|
{{ end }}
|
||
|
</div>
|
||
|
{{ end }}
|
||
|
</body>
|
||
|
</html>
|
||
|
{{ end }}
|