~gitpocket/gitpocket

8

style(layout): drop the logo and keep the plain site name

commit
1f6b3c05af2be24d3b9790d865b1595a6a1ee37c browse tree
parent
8d26559a0501c3f4f0dabb0370f9a5f73913aab2
author
~james <[email protected]>
signature
Signed by: ~james SHA256:KlzJ0P0gvJcnOYpaxD5yCUw52ImHttTKRjVAEnnYnKg
date
2026-10-29 20:15 UTC

3 files changed, +2 −4

README.md modified

@@ -32,7 +32,7 @@ Small and lightweight git server for self hosting. Repositories are served over
3232
3333 ## Design
3434
35-Every read of git data is a call out to the plumbing with a thirty second timeout, which in practice means `ls-tree -l` for trees and `log` with a NUL separated format for history and `diff-tree -p --root -M` for commit pages and `cat-file` for blobs. Nothing is parsed out of packfiles in process, so a large repository costs exactly what git says it costs. A buffered call that tries to return more than 16 MiB gets killed. Only twice the core count may run together, or four on a single core box, and raw files and archives stream two at a time. On git.vm.fail the server idles at about 35 MB resident, so most of a 512 MB VPS is left for git.
35+Every read of git data is a call out to the plumbing with a thirty second timeout, which in practice means `ls-tree -l` for trees and `log` with a NUL separated format for history and `diff-tree -p --root -M` for commit pages and `cat-file` for blobs. Nothing is parsed out of packfiles in process, so a large repository costs exactly what git says it costs. A buffered call that tries to return more than 16 MiB gets killed. Only twice the core count may run together, or four on a single core box, and raw files and archives stream two at a time. On gitpocket.io the server idles at about 35 MB resident, so most of a 512 MB VPS is left for git.
3636
3737 A little is remembered between requests, though deleting all of it loses nothing. Language bars and the history behind the activity graph are stored against the mtime of the refs, so after a push one `stat` notices and before one nothing is read at all. That history holds sixteen bytes a commit (a hash prefix, the day and which author address it was), and the list of people that search walks is refreshed at most twice a minute.
3838

static/style.css modified

@@ -290,8 +290,6 @@ a.label{opacity:.75}a.label.on,a.label:hover{opacity:1;text-decoration:none}
290290 .inlineform{display:inline}
291291 .linkbutton{background:none;border:0;padding:0;font:inherit;color:var(--muted);cursor:pointer}
292292 .linkbutton:hover{color:var(--del);text-decoration:underline}
293-nav.site .brand{display:inline-flex;align-items:center;gap:.4rem}
294-.logo{width:1.5rem;height:1.5rem;fill:var(--accent)}.logo circle{fill:#fff}
295293 .landing{margin:0}
296294 .landing>p{margin:.2rem 0 1rem}
297295 .landing a.arrow{text-decoration:underline}

templates/layout.html modified

@@ -17,7 +17,7 @@
1717 <body{{if .Fluid}} class="fluid"{{end}}>
1818 <header>
1919 <nav class="site">
20-<a class="brand" href="/"><svg class="logo" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 7a3 3 0 0 1 3-3h10a3 3 0 0 1 3 3v5a8 8 0 0 1-16 0z"/><circle cx="12" cy="11" r="2.4"/></svg>{{.Name}}</a>
20+<a class="brand" href="/">{{.Name}}</a>
2121 <a href="/search">explore</a>
2222 {{if not (and .Data (index .Data "Facets"))}}<form class="navsearch" method="get" action="/search" role="search"><input name="q" placeholder="Search repositories, people, languages" aria-label="Search"></form>{{end}}
2323 <span class="spacer"></span>