gitlin/views/header.html
Odyssey a928d70b0e Add titles
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-05 20:58:41 +01:00

25 行
791 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
{{ if .title }}
<title>{{ .title }} - GotHub</title>
{{ else }}
<title>GotHub</title>
{{ end }}
<link rel="stylesheet" href="/css/global.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="/favicon.ico">
</head>
<body>
<nav>
<div class="navbar">
<a href="/" style="text-decoration: none;" class="brand"><img src="/logo.svg" class="navbarImg" alt="GotHub" /><b class="navbarSlogan">GotHub (alpha)</b></a>
<div class="navbarLinks">
<a href="/explore">Explore</a>
<a href="https://codeberg.org/gothub/gothub">Source code</a>
</div>
</div>
</nav>
</body>
</html>