gitlin/views/header.html

32 行
896 B
HTML
Raw 通常表示 履歴

<!DOCTYPE html>
<html lang="en">
2023-03-08 01:58:55 +09:00
<head>
{{ if .title }}
<title>{{ .title }} - GotHub</title>
{{ else }}
<title>GotHub</title>
{{ end }}
2023-03-08 20:02:54 +09:00
<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">
2023-03-08 01:58:55 +09:00
</head>
<body>
<nav>
2023-03-08 01:58:55 +09:00
<div class="navbar">
<a href="/" style="text-decoration: none" class="brand"
><img
src="/logo.svg"
class="navbarImg"
height="30"
width="30"
alt=""
><b class="navbar-slogan">GotHub ({{.branch}})</b></a
2023-03-08 01:58:55 +09:00
>
<div class="navbar-links">
2023-03-08 01:58:55 +09:00
<a href="/explore">Explore</a>
<a href="/about">About</a>
2023-03-08 01:58:55 +09:00
<a href="https://codeberg.org/gothub/gothub">Source code</a>
</div>
2023-03-08 01:58:55 +09:00
</div>
</nav>