45 lines
1.4 KiB
HTML
45 lines
1.4 KiB
HTML
{{ define "base" }}
|
|
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>hatecomputers.club</title>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
|
|
<link rel="icon" href="/static/img/favicon.svg">
|
|
<link rel="stylesheet" type="text/css" href="/static/css/styles.css">
|
|
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:url" content="https://hatecomputers.club">
|
|
<meta property="og:title" content="hatecomputers.club">
|
|
<meta property="og:description" content="be decent at computer but hate. really bad for human.">
|
|
<meta property="og:image:secure_url" content="https://tunnel.simponic.xyz/static/img/favicon.svg">
|
|
<meta property="og:image:secure" content="https://tunnel.simponic.xyz/static/img/favicon.svg">
|
|
<script src="/static/js/util/setThemeBeforeRender.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="content" class="container">
|
|
<div class="header">
|
|
<h1>hatecomputers.club</h1>
|
|
<a href="javascript:void(0);" id="theme-switcher"></a>
|
|
<span> | </span>
|
|
{{ if .User }}
|
|
<a href="/logout">logout, {{ .User.DisplayName }}.</a>
|
|
{{ else }}
|
|
<a href="/login">login.</a>
|
|
{{ end }}
|
|
</div>
|
|
<hr>
|
|
|
|
<div id="content">
|
|
{{ template "content" . }}
|
|
</div>
|
|
<p class="blinky">hi</p>
|
|
</div>
|
|
|
|
<script data-main="/static/js/script.js" src="/static/js/require.js"></script>
|
|
</body>
|
|
</html>
|
|
|
|
{{ end }}
|