add bunny.garden assets
This commit is contained in:
parent
f4ff8fe6eb
commit
29165c4c93
|
@ -12,9 +12,9 @@ dirs:
|
||||||
templates: ./templates
|
templates: ./templates
|
||||||
static: ./static
|
static: ./static
|
||||||
meta:
|
meta:
|
||||||
title: git good
|
title: the bunny garden
|
||||||
description: i think it's a skill issue
|
description: git repos!!!
|
||||||
server:
|
server:
|
||||||
name: git.icyphox.sh
|
name: bunny.garden
|
||||||
host: 127.0.0.1
|
host: 127.0.0.1
|
||||||
port: 5555
|
port: 5555
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 507 KiB |
|
@ -7,9 +7,20 @@
|
||||||
--dark: #f3d0aa;
|
--dark: #f3d0aa;
|
||||||
--darker: #f3d0aa;
|
--darker: #f3d0aa;
|
||||||
|
|
||||||
--sans-font: "InterVar", -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif;
|
--sans-font: "Darumadrop One", -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif;
|
||||||
--display-font: "InterDisplay", -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif;
|
--display-font: "Darumadrop One", -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif;
|
||||||
--mono-font: 'SF Mono', SFMono-Regular, ui-monospace, 'DejaVu Sans Mono', 'Roboto Mono', Menlo, Consolas, monospace;
|
--mono-font: 'Victor Mono', 'VictorMono Nerd Font', SFMono-Regular, ui-monospace, 'DejaVu Sans Mono', 'Roboto Mono', Menlo, Consolas, monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
header {
|
||||||
|
display: flex;
|
||||||
|
gap: 2em;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
header img {
|
||||||
|
max-width: 128px;
|
||||||
|
max-height: 128px;
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
|
|
|
@ -1,33 +1,34 @@
|
||||||
{{ define "head" }}
|
{{ define "head" }}
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
<link rel="stylesheet" href="/static/style.css" type="text/css">
|
|
||||||
<link rel="stylesheet" href="https://cdn.icyphox.sh/fonts/inter.css" type="text/css">
|
|
||||||
<link rel="icon" type="image/png" size="32x32" href="/static/legit.png">
|
|
||||||
{{ if .parent }}
|
|
||||||
<title>{{ .meta.Title }} — {{ .name }} ({{ .ref }}): {{ .parent }}/</title>
|
|
||||||
|
|
||||||
{{ else if .path }}
|
<head>
|
||||||
<title>{{ .meta.Title }} — {{ .name }} ({{ .ref }}): {{ .path }}</title>
|
<meta charset="utf-8">
|
||||||
{{ else if .files }}
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>{{ .meta.Title }} — {{ .name }} ({{ .ref }})</title>
|
<link rel="stylesheet" href="/static/style.css" type="text/css">
|
||||||
{{ else if .commit }}
|
<link rel="stylesheet" href="https://cdn.icyphox.sh/fonts/inter.css" type="text/css">
|
||||||
<title>{{ .meta.Title }} — {{ .name }}: {{ .commit.This }}</title>
|
<link rel="icon" type="image/png" size="32x32" href="/static/bunny.png">
|
||||||
{{ else if .branches }}
|
{{ if .parent }}
|
||||||
<title>{{ .meta.Title }} — {{ .name }}: refs</title>
|
<title>{{ .meta.Title }} — {{ .name }} ({{ .ref }}): {{ .parent }}/</title>
|
||||||
{{ else if .commits }}
|
|
||||||
{{ if .log }}
|
{{ else if .path }}
|
||||||
<title>{{ .meta.Title }} — {{ .name }}: log</title>
|
<title>{{ .meta.Title }} — {{ .name }} ({{ .ref }}): {{ .path }}</title>
|
||||||
{{ else }}
|
{{ else if .files }}
|
||||||
<title>{{ .meta.Title }} — {{ .name }}</title>
|
<title>{{ .meta.Title }} — {{ .name }} ({{ .ref }})</title>
|
||||||
{{ end }}
|
{{ else if .commit }}
|
||||||
{{ else }}
|
<title>{{ .meta.Title }} — {{ .name }}: {{ .commit.This }}</title>
|
||||||
<title>{{ .meta.Title }}</title>
|
{{ else if .branches }}
|
||||||
{{ end }}
|
<title>{{ .meta.Title }} — {{ .name }}: refs</title>
|
||||||
{{ if and .servername .gomod }}
|
{{ else if .commits }}
|
||||||
<meta name="go-import" content="{{ .servername}}/{{ .name }} git https://{{ .servername }}/{{ .name }}">
|
{{ if .log }}
|
||||||
{{ end }}
|
<title>{{ .meta.Title }} — {{ .name }}: log</title>
|
||||||
<!-- other meta tags here -->
|
{{ else }}
|
||||||
</head>
|
<title>{{ .meta.Title }} — {{ .name }}</title>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ else }}
|
||||||
|
<title>{{ .meta.Title }}</title>
|
||||||
|
{{ end }}
|
||||||
|
{{ if and .servername .gomod }}
|
||||||
|
<meta name="go-import" content="{{ .servername}}/{{ .name }} git https://{{ .servername }}/{{ .name }}">
|
||||||
|
{{ end }}
|
||||||
|
<!-- other meta tags here -->
|
||||||
|
</head>
|
||||||
|
{{ end }}
|
|
@ -3,8 +3,13 @@
|
||||||
{{ template "head" . }}
|
{{ template "head" . }}
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<h1>{{ .meta.Title }}</h1>
|
<div>
|
||||||
<h2>{{ .meta.Description }}</h2>
|
<img src="/static/bunny.png">
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h1>{{ .meta.Title }}</h1>
|
||||||
|
<h2>{{ .meta.Description }}</h2>
|
||||||
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -23,4 +28,4 @@
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue