owl-blogs/embed/initial/base.html

59 lines
1.6 KiB
HTML
Raw Normal View History

2022-07-23 07:11:25 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2022-09-06 19:48:38 +00:00
<title>{{ .Title }} - {{ .UserConfig.Title }}</title>
2022-07-24 14:19:21 +00:00
<link rel="stylesheet" href="/static/pico.min.css">
2022-08-31 18:20:16 +00:00
<link rel="webmention" href="{{ .User.WebmentionUrl }}">
2022-07-27 19:53:56 +00:00
<style>
header {
background-color: {{.UserConfig.HeaderColor}};
2022-07-27 19:53:56 +00:00
}
2022-08-21 10:36:10 +00:00
footer {
border-top: dashed 2px;
border-color: #ccc;
}
2022-08-21 10:36:10 +00:00
hgroup h2 a { color: inherit; }
2022-07-27 19:53:56 +00:00
</style>
2022-07-23 07:11:25 +00:00
</head>
<body>
2022-07-27 19:53:56 +00:00
<header>
<nav class="container">
<ul>
<li>
<hgroup>
<h2><a href="{{ .User.UrlPath }}">{{ .UserConfig.Title }}</a></h2>
<h3>{{ .UserConfig.SubTitle }}</h3>
2022-07-27 19:53:56 +00:00
</hgroup>
</li>
</ul>
2022-07-27 19:26:37 +00:00
2022-07-27 19:53:56 +00:00
</nav>
</header>
2022-07-27 19:26:37 +00:00
<main class="container">
{{ .Content }}
</main>
<footer class="container">
<nav>
<ul>
{{ if .UserConfig.TwitterHandle}}
2022-09-08 19:28:05 +00:00
<li><a href="https://twitter.com/{{.UserConfig.TwitterHandle}}" rel="me">@{{.UserConfig.TwitterHandle}} on Twitter</a>
</li>
{{ end }}
{{ if .UserConfig.GitHubHandle}}
<li><a href="https://github.com/{{.UserConfig.GitHubHandle}}" rel="me">@{{.UserConfig.GitHubHandle}} on GitHub</a>
</li>
{{ end }}
</ul>
</nav>
2022-07-27 19:26:37 +00:00
</footer>
2022-07-23 07:11:25 +00:00
</body>
</html>