generated from templates/go-generic
Dan Anglin
a0e3ee8a6f
Add a landing page for the Flow Platform. The landing page is a linktree-styled static page made with Go, HTML and CSS.
31 lines
854 B
HTML
31 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 }}
|