showcase
- v0.2.4
- 37 commits
- 1 branch
- 6 tags
- updated
- CI 2/2
feat: render an allowlist of readme html (centred headers, images, badges)
Showing 48 changed files with 1020 additions and 503 deletions.
docs/decisions.md
+83 −0
@@ -656,3 +656,86 @@ sideways at either width.656656 circle. Small avatars stay round.657657- `just demo` used to 404 on the newest commit page: the golden test moved658658 that page to `commit-latest.html`. It copies it now.659660## The chrome is danieldaum.net's661662The site is served at code.danieldaum.net and will move to663danieldaum.net/projects, so it must read as part of that site. The header,664footer and favicon are now exactly saturn's, hard-coded in `base.html`:665666- **Header:** the name is "Daniel Daum", linking to danieldaum.net, and the667 nav is about, blog, projects, garden. The three main-site links are668 absolute (a relative `/about/` would 404 on code.danieldaum.net); the669 "projects" link points at `/` (this site's home) and carries670 `aria-current="page"`. When the site moves under danieldaum.net/projects,671 the absolute links stay right, but the internal ones need a base path.672- **Footer:** saturn's, verbatim: email, git (Tangled, new tab), PGP,673 changelog, privacy, feed, theme button. All absolute, since the pages live674 on danieldaum.net. The mobile hide-rules match the path675 (`a[href$="/pgp.asc"]`) because the urls aren't bare paths, as in saturn.676- **Profile page:** the profile card (avatar, name, bio) is gone. The home677 page opens with saturn's /projects page header (`/projects` and678 "Things I've built or projects in development"), the same meta description679 and the title "daniel daum - projects". The avatar is still downloaded: the680 activity feed uses it for own events.681- **Favicon:** saturn's favicon pngs and webmanifest (icon paths rewritten to682 `/static/favicon/`) live in `web/static/favicon/`. The server serves683 `.webmanifest` as `application/manifest`.684- **Config:** the `links` map is gone. The chrome is fixed, not configured.685 `site_url` still drives clone urls, `go get` paths and image refs.686- **Width and background:** `body` is saturn's again: `78ch` wide (about687 73rem in Geist Pixel at 16px), 16px, `--background-dark`. With the old688 50rem and 60rem widths the header nav and footer jumped sideways when689 coming from danieldaum.net, and the darker grey page background showed690 too. The code browser's own 15px type now starts at `main`. Every page is691 the same width, so `Page.Wide` and `page--code` are gone. This replaces692 the "Width" bullet under "Palettes shared with danieldaum.net".693- **Layers:** `--page` is `--background-dark`. The other layers mix it with694 white (box 2%, box head 5%, hover 8%, rule 14%, edge 20%, line 24%), close695 to the old Paint lightness steps above the page, keeping the palette's696 hue. The contrast test passes in every palette (lowest: secondary text on697 hover, 5.21:1).698- **Titles and head:** every title is `daniel daum - <page>`, as on saturn699 ("daniel daum - repo-a", "daniel daum - README.md · repo-a"). Every page700 links saturn's Atom feed, and pages with a description (the home page)701 carry saturn's Open Graph and Twitter card tags.702- **Breadcrumbs:** repo pages and `/repos/` open with saturn's breadcrumb703 (`projects -> repo-a`), like saturn's project and tracker pages. It keeps704 saturn's capitals. The repo title is just the name: the owner, avatar and705 slash are gone. `/repos/` uses saturn's page header (`/repositories`).706 The in-repo path crumbs stay as they were.707- **404:** saturn's wording, "this page doesn't exist", and its title.708- **Activity feed:** one rule only. The line through the avatars and the709 commit list's left rule drew two parallel lines. The commit rule stays,710 as on saturn's comment replies.711- **Palette:** saturn's `theme.js` still needs the cookie (see "Palettes712 shared with danieldaum.net"). Until then the two sites can show713 different palettes, which is the most visible seam left.714715## README HTML: an allowlist716717GitHub-style READMEs open with raw HTML (`<p align="center"><img …></p>`,718`<h1 align="center">`). With goldmark's raw HTML switched off, rhea's719screenshot, title and tagline were dropped. This bends spec rule 5: raw HTML720is still never passed through, but `internal/render/rawhtml.go` rebuilds an721allowlist of it.722723- **Tags:** p, div, h1–h6, img, a, br, hr, b, i, em, strong, code, kbd, sub,724 sup, s, del, pre, blockquote, ul, ol, li, details, summary. Others are725 dropped and their text kept, except script-like tags (script, style,726 iframe, svg, textarea …), whose contents go too. Comments are dropped.727- **Attributes:** `align` (left, center, right) on blocks and img; img728 `src`, `alt`, `title`, `width`, `height` (digits, optional `%`); a `href`,729 `title`; details `open`. Everything else goes, so no `style`, `class`,730 `id` or `on*`, and the CSP is unchanged.731- **URLs:** `src` and `href` go through the same resolver as Markdown732 images and links (relative paths to `raw/` and `blob/`, images relative733 or https only). An href must be relative, http(s) or mailto. An image734 without a usable src becomes its alt text, like a dropped Markdown image.735- **Text** is unescaped and re-escaped, so nothing in it can form a tag.736- **Balance:** open tags are tracked over the whole README, so a737 `<div align="center">` … `</div>` around Markdown works. A close tag that738 was never opened is ignored, so README HTML can't end the page's own739 elements, and whatever is still open is closed at the end.740- No new dependency: the tags are read with two regular expressions, which741 is enough because the output is built from scratch, never copied.
docs/security.md
+1 −1
@@ -11,7 +11,7 @@ enforces it and the test that proves it. Run them all with `just test`.1111| 2 | One allowlist (`config.json`) | Builder iterates `cfg.Repos`. Proxy checks `HasRepo` / `HasImage`. Packages are filtered to allowlisted repos and images. | `TestSiteGolden` (missing and private repos absent), `TestProxyRoutes` (unlisted repo and image) |1212| 3 | Router default is 404, with only the listed routes | `server.route` and `proxyRoute`. Dot segments, `//`, `\` and NUL are refused before any file lookup. | `TestRoutes`, `TestProxyRoutes` |1313| 4 | Realm rewrite, strip `Set-Cookie` and Gitea headers, no client `Authorization`/`Cookie` on git | `newProxy` Rewrite and ModifyResponse. Non-Bearer challenges are dropped too, so git never prompts. | `TestProxyRoutes`, `TestProxyResponses` |14| 5 | Safe rendering | goldmark without raw HTML, dangerous URLs blanked, `html/template` everywhere, highlighter escapes every token, 512 KB / binary limits, README images relative or https only | `TestSiteGolden` (forbidden strings), `TestOutputIsSafe` (no `<script`, inline `style=` or `on*=` in any page) |14| 5 | Safe rendering | goldmark; raw HTML is never passed through, only rebuilt from an allowlist of tags and attributes (`htmlRenderer`), with links and images resolved like Markdown's and only http(s)/mailto hrefs; dangerous URLs blanked, `html/template` everywhere, highlighter escapes every token, 512 KB / binary limits, README images relative or https only | `TestSiteGolden` (forbidden strings), `TestOutputIsSafe` (no `<script`, inline `style=` or `on*=` in any page), `TestReadmeHTML` (script, handlers, styles, `javascript:`, stray closes) |1515| 6 | Security headers; raw never rendered as HTML | `route` sets the CSP, `nosniff` and `no-referrer` on every response. `raw` serves allowed images, `text/plain` or an attachment. Release assets are always attachments. | `TestRoutes` (headers on every case, raw SVG and HTML are `text/plain`), `TestProxyResponses` |1616| 7 | Container: non-root, read-only, no caps, no-new-privileges, only `/data` writable | `Dockerfile` (`USER 10001`, `HOME=/data`), `compose.yaml` | `hadolint`; container not yet run (see open items) |1717| 8 | Trust `X-Forwarded-*` only from Pangolin | `clientIP` uses `trusted_proxies`. The proxy strips `X-Forwarded-*` and `Forwarded` toward Gitea. | `TestClientIP`, `TestProxyRoutes` |
docs/spec.md
+5 −9
@@ -8,7 +8,7 @@ or reach Gitea's UI or API.8899## Goals101011- GitHub-profile-style home page: avatar, name, bio, links, activity heatmap, chosen repos.11- Home page that reads as danieldaum.net's /projects page: activity chart, featured repos, activity feed.1212- Per-repo pages: README, file tree, file viewer with syntax highlighting,1313 commit log, commit diffs, releases, pull requests (read-only), packages.1414- Public clone: `git clone https://daum.dev/<repo>.git`@@ -86,7 +86,9 @@ or reach Gitea's UI or API.8686 rewrites the realm to `https://daum.dev/v2/token`.8787 Also strip any `Set-Cookie` and Gitea-specific headers from proxied responses,8888 and never forward the client's `Authorization` or `Cookie` headers on git routes.895. **Rendering:** goldmark with raw HTML disabled (default). Escape everything895. **Rendering:** goldmark, with raw HTML never passed through. README HTML90 is rebuilt from a short allowlist of tags and attributes (see decisions,91 "README HTML: an allowlist"); everything else is dropped. Escape everything9092 else through `html/template`. Files over 512 KB or binary: show size and a raw link, no render.9193 README images: only relative paths inside the repo or https URLs.92946. **Headers:** `Content-Security-Policy: default-src 'none'; style-src 'self'; img-src 'self' https:; font-src 'self'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'`,@@ -105,12 +107,6 @@ or reach Gitea's UI or API.105107 "gitea_url": "http://gitea.tailnet.example:3000",106108 "user": "daniel",107109 "site_url": "https://daum.dev",108 "links": {109 "website": "https://danieldaum.net",110 "atproto": "https://bsky.app/profile/daum.dev",111 "tangled": "https://tangled.org/daum.dev",112 "github": "https://github.com/..."113 },114110 "repos": ["repo-a", "repo-b"],115111 "images": ["repo-a"],116112 "max_commits": 50@@ -132,7 +128,7 @@ or reach Gitea's UI or API.132128133129## Pages (URL → content)134130135- `/` — profile card, links, heatmap, repo list (name, description, language, updated).131- `/` — saturn's /projects page header, activity chart and heatmap, featured repos, activity feed.136132- `/<repo>/` — header (name, description, topics, latest release), action row137133 (Code · Commits · Releases · Pulls · Packages), clone box (HTTPS + Tangled/GitHub links),138134 latest commit line, root tree with last-commit message and age per entry, rendered README.
docs/theme.md
+8 −5
@@ -27,9 +27,11 @@ only what a code browser needs on top.2727- **Base:** Josh Comeau reset, 78ch body width, the heading scale, text links2828 underlined in `--accent-muted` that turn `--accent` on hover, and the focus2929 ring, high-contrast and reduced-motion rules.30- **Chrome:** `.site-header` with `.site-name` (daum.dev) and a nav, and a31 footer nav that starts with `//` and holds links to danieldaum.net, Tangled,32 GitHub and Bluesky. UI labels are lowercase like saturn's.30- **Chrome:** exactly danieldaum.net's (see decisions, "The chrome is31 danieldaum.net's"): the name links home, the nav is about/blog/projects/32 garden, the footer is `//` email git PGP changelog privacy feed theme. UI33 labels are lowercase like saturn's.34- **Favicon:** saturn's, in `web/static/favicon/`.33353436## Saturn components → daum.dev pages3537@@ -56,8 +58,9 @@ New for daum.dev, built from the same tokens:5658 `--accent` with `color-mix()`, so they follow the palette.5759- **Language dots:** eight classes mapped to the `--syn-*` colours, so they5860 follow the palette too.59- **Code pages:** a wider `body.page--code` (about `min(72rem, 94vw)`), like60 saturn's `page--wide`. The 78ch width is too narrow for code and diffs.61- **Page width:** saturn's `78ch` body on every page, so the header and62 footer don't move between the two sites (see decisions, "The chrome is63 danieldaum.net's").6164- **Line numbers:** links (`#L12`) in `--text-secondary`. The `:target` line6265 is highlighted with `--surface` and an `--accent-muted` edge.6366
internal/build/build.go
+8 −24
@@ -2,7 +2,6 @@22package build3344import (5 "cmp"65 "context"76 "crypto/sha256"87 "encoding/hex"@@ -10,9 +9,7 @@ import (109 "fmt"1110 "html/template"1211 "log/slog"13 "maps"1412 "path/filepath"15 "slices"1613 "strings"1714 "time"1815@@ -68,7 +65,7 @@ func (b *Builder) Render(ctx context.Context, dir string) error {6865 return err6966 }706771 rd.Theme, rd.Site, rd.Links = b.Cfg.Theme, siteHost(b.Cfg.SiteURL), links(b.Cfg.Links)68 rd.Theme = b.Cfg.Theme7269 p := Profile{User: user}7370 if img, ct, err := b.Gitea.Avatar(ctx, user.AvatarURL); err != nil {7471 b.Log.Warn("avatar", "err", err)@@ -123,17 +120,17 @@ func (b *Builder) Render(ctx context.Context, dir string) error {123120124121 p.Heatmap, p.Total = render.Heatmap(days, b.Now(), yearWeeks+1)125122 p.HeatHalf, _ = render.Heatmap(days, b.Now(), halfWeeks)126 title := user.FullName127 if title == "" {128 title = user.Login129 }130 if err := rd.Write(dir, "index.html", "profile", render.Page{Title: title, D: p}); err != nil {123 if err := rd.Write(dir, "index.html", "profile", render.Page{124 Title: "projects",125 Meta: "daniel daum's projects - oakland based software engineer",126 D: p,127 }); err != nil {131128 return fmt.Errorf("profile: %w", err)132129 }133 if err := rd.Write(dir, "repos/index.html", "repos", render.Page{Title: "Repositories · " + title, D: p}); err != nil {130 if err := rd.Write(dir, "repos/index.html", "repos", render.Page{Title: "repositories", D: p}); err != nil {134131 return fmt.Errorf("repos page: %w", err)135132 }136 if err := rd.Write(dir, "404.html", "notfound", render.Page{Title: "not found", D: p}); err != nil {133 if err := rd.Write(dir, "404.html", "notfound", render.Page{Title: "404 page not found", D: p}); err != nil {137134 return err138135 }139136 for _, rp := range repos {@@ -149,16 +146,3 @@ func (b *Builder) Render(ctx context.Context, dir string) error {149146 }150147 return nil151148}152153// links orders the footer links: known keys first, then the rest by key.154func links(m map[string]string) []render.Link {155 seen := map[string]bool{}156 var out []render.Link157 for _, k := range append([]string{"website", "atproto", "tangled", "github"}, slices.Sorted(maps.Keys(m))...) {158 if u, ok := m[k]; ok && !seen[k] {159 seen[k] = true160 out = append(out, render.Link{Name: cmp.Or(map[string]string{"atproto": "bluesky"}[k], k), URL: u})161 }162 }163 return out164}
internal/build/build_test.go
+3 −8
@@ -145,14 +145,9 @@ func fakeGitea(t *testing.T) *httptest.Server {145145func testBuilder(t *testing.T) *Builder {146146 srv := fakeGitea(t)147147 cfg := &config.Config{148 GiteaURL: srv.URL,149 User: "daniel",150 SiteURL: "https://code.danieldaum.net",151 Links: map[string]string{152 "github": "https://github.com/example",153 "website": "https://danieldaum.net",154 "atproto": "https://bsky.app/profile/daum.dev",155 },148 GiteaURL: srv.URL,149 User: "daniel",150 SiteURL: "https://code.danieldaum.net",156151 Repos: []string{"repo-b", "leaky", "missing", "repo-a"},157152 Images: []string{"repo-a"},158153 MaxCommits: 50,
internal/build/extra.go
+2 −2
@@ -71,7 +71,7 @@ func (b *Builder) renderExtras(ctx context.Context, rd *render.Renderer, dir str7171 }72727373 for _, p := range []ExtraPage{rel, pulls, pkgs} {74 page := render.Page{Title: p.Tab + " · " + r.Name, Wide: true, D: &p}74 page := render.Page{Title: p.Tab + " · " + r.Name, D: &p}7575 if err := rd.Write(dir, r.Name+"/"+p.Tab+"/index.html", p.Tab, page); err != nil {7676 return err7777 }@@ -80,7 +80,7 @@ func (b *Builder) renderExtras(ctx context.Context, rd *render.Renderer, dir str8080 {Repo: r, Tab: "code", Kind: "branches", Refs: r.Branches},8181 {Repo: r, Tab: "code", Kind: "tags", Refs: r.Tags},8282 } {83 page := render.Page{Title: p.Kind + " · " + r.Name, Wide: true, D: &p}83 page := render.Page{Title: p.Kind + " · " + r.Name, D: &p}8484 if err := rd.Write(dir, r.Name+"/"+p.Kind+"/index.html", "refs", page); err != nil {8585 return err8686 }
internal/build/log.go
+2 −2
@@ -59,7 +59,7 @@ func (b *Builder) renderLog(ctx context.Context, rd *render.Renderer, dir string5959 day.Commits = append(day.Commits, LogCommit{c, stats[c.Hash]})6060 }6161 }62 if err := rd.Write(dir, r.Name+"/log/index.html", "log", render.Page{Title: "commits · " + r.Name, Wide: true, D: &p}); err != nil {62 if err := rd.Write(dir, r.Name+"/log/index.html", "log", render.Page{Title: "commits · " + r.Name, D: &p}); err != nil {6363 return err6464 }6565@@ -90,7 +90,7 @@ func (b *Builder) renderLog(ctx context.Context, rd *render.Renderer, dir string9090 cp.Added += f.Added9191 cp.Deleted += f.Deleted9292 }93 page := render.Page{Title: c.Subject + " · " + r.Name, Wide: true, D: &cp}93 page := render.Page{Title: c.Subject + " · " + r.Name, D: &cp}9494 if err := rd.Write(dir, r.Name+"/commit/"+c.Hash+"/index.html", "commit", page); err != nil {9595 return err9696 }
internal/build/repo.go
+3 −3
@@ -225,7 +225,7 @@ func (b *Builder) loadRepo(ctx context.Context, name string) (*repo, error) {225225226226func (b *Builder) renderRepo(ctx context.Context, rd *render.Renderer, dir string, r *repo) error {227227 p := RepoPage{Repo: r, Tab: "code", CloneURL: b.Cfg.SiteURL + "/" + r.Name + ".git"}228 page := render.Page{Title: r.Name, Wide: true, D: &p}228 page := render.Page{Title: r.Name, D: &p}229229 if r.Head == "" {230230 return rd.Write(dir, r.Name+"/index.html", "repo", page)231231 }@@ -296,7 +296,7 @@ func (b *Builder) renderRepo(ctx context.Context, rd *render.Renderer, dir strin296296 tp.Docs = []Doc{{"readme", "README", "book", readme}}297297 }298298 rel := r.Name + "/tree/" + e.Name + "/index.html"299 if err := rd.Write(dir, rel, "dir", render.Page{Title: e.Name + " · " + r.Name, Wide: true, D: &tp}); err != nil {299 if err := rd.Write(dir, rel, "dir", render.Page{Title: e.Name + " · " + r.Name, D: &tp}); err != nil {300300 return err301301 }302302 case e.Type == "blob":@@ -407,7 +407,7 @@ func (b *Builder) renderBlob(ctx context.Context, rd *render.Renderer, dir strin407407 }408408 p.Large = e.Size > maxRender409409 // blob pages are stored as <path>.html; the server maps /blob/<path> to them410 return rd.Write(dir, r.Name+"/blob/"+e.Name+".html", "blob", render.Page{Title: e.Name + " · " + r.Name, Wide: true, D: &p})410 return rd.Write(dir, r.Name+"/blob/"+e.Name+".html", "blob", render.Page{Title: e.Name + " · " + r.Name, D: &p})411411}412412413413// crumbs links the repo and every parent directory of p; the last part has no link.
internal/config/config.go
+5 −11
@@ -14,12 +14,11 @@ import (1414)15151616type Config struct {17 GiteaURL string `json:"gitea_url"`18 User string `json:"user"`19 SiteURL string `json:"site_url"`20 Links map[string]string `json:"links"`21 Repos []string `json:"repos"`22 Images []string `json:"images"`17 GiteaURL string `json:"gitea_url"`18 User string `json:"user"`19 SiteURL string `json:"site_url"`20 Repos []string `json:"repos"`21 Images []string `json:"images"`2322 // Featured repos for the profile, in order (up to 6). Empty means the2423 // most recently updated ones.2524 Featured []string `json:"featured"`@@ -86,11 +85,6 @@ func (c *Config) validate() error {8685 return fmt.Errorf("bad image name %q", im)8786 }8887 }89 for k, v := range c.Links {90 if p, err := url.Parse(v); err != nil || p.Scheme != "https" {91 return fmt.Errorf("link %q must be an https url", k)92 }93 }9488 for _, p := range c.TrustedProxies {9589 if _, err := netip.ParsePrefix(p); err != nil {9690 if _, err := netip.ParseAddr(p); err != nil {
internal/render/markdown.go
+7 −5
@@ -16,10 +16,12 @@ import (1616 "github.com/yuin/goldmark/util"1717)181819// Markdown renders src with raw HTML disabled (goldmark's default). Relative20// links and images are resolved against dir inside the repo at base (e.g.21// "/repo-a"); images that aren't relative or https are dropped.19// Markdown renders src with goldmark's raw HTML output replaced by an20// allowlist (see htmlRenderer). Relative links and images are resolved21// against dir inside the repo at base (e.g. "/repo-a"); images that aren't22// relative or https are dropped.2223func Markdown(src []byte, base, dir string) (template.HTML, error) {24 raw := &htmlRenderer{links: linkFixer{base, dir}}2325 md := goldmark.New(2426 // GFM, but table alignment as align attributes: the default inline2527 // style attributes would be blocked by the CSP.@@ -29,13 +31,13 @@ func Markdown(src []byte, base, dir string) (template.HTML, error) {2931 parser.WithAutoHeadingID(),3032 parser.WithASTTransformers(util.Prioritized(linkFixer{base, dir}, 100)),3133 ),32 goldmark.WithRendererOptions(renderer.WithNodeRenderers(util.Prioritized(codeRenderer{}, 100))),34 goldmark.WithRendererOptions(renderer.WithNodeRenderers(util.Prioritized(codeRenderer{}, 100), util.Prioritized(raw, 100))),3335 )3436 var buf bytes.Buffer3537 if err := md.Convert(src, &buf); err != nil {3638 return "", err3739 }38 return template.HTML(buf.String()), nil40 return template.HTML(buf.String() + raw.close()), nil3941}40424143type linkFixer struct{ base, dir string }
internal/render/markdown_test.goadded
+34 −0
@@ -0,0 +1,34 @@1package render23import (4 "strings"5 "testing"6)78func TestReadmeHTML(t *testing.T) {9 for _, c := range []struct{ name, in, want string }{10 {"centred header",11 "<p align=\"center\">\n <img src=\"Packaging/screenshots/hero.png\" width=\"800\" alt=\"Rhea — app\">\n</p>\n\n<h1 align=\"center\">Rhea</h1>\n",12 "<p align=\"center\">\n <img src=\"/rhea/raw/Packaging/screenshots/hero.png\" width=\"800\" alt=\"Rhea — app\">\n</p>\n<h1 align=\"center\">Rhea</h1>"},13 {"div around markdown", "<div align=\"center\">\n\n**hi**\n\n</div>\n", "<div align=\"center\">\n<p><strong>hi</strong></p>\n</div>"},14 {"inline badge", "see <a href=\"https://ci.example\"><img src=\"https://ci.example/b.svg\" alt=\"ci\"></a> now",15 "<p>see <a href=\"https://ci.example\"><img src=\"https://ci.example/b.svg\" alt=\"ci\"></a> now</p>"},16 {"unclosed tags end with the document", "<div>\n<b>x\n", "<div>\n<b>x\n</b></div>"},17 {"stray close", "</div></section>\n\ntext", "<p>text</p>"},18 {"script and its text", "<script>alert(1)</script>\n", ""},19 {"handlers and styles", "<p onclick=\"x()\" style=\"color:red\" class=\"a\">hi</p>\n", "<p>hi</p>"},20 {"javascript link", "<p><a href=\"javascript:alert(1)\">x</a></p>\n", "<p><a>x</a></p>"},21 {"http image keeps alt", "<p><img src=\"http://x/a.png\" alt=\"pic\"></p>\n", "<p>pic</p>"},22 {"unknown tags keep text", "<p><span><iframe src=x></iframe>hi & <marquee>bye</marquee></span></p>\n", "<p>hi & bye</p>"},23 {"bad sizes", "<img src=\"a.png\" width=\"1;x\" height=\"20\">\n", "<img src=\"/rhea/raw/a.png\" height=\"20\">"},24 {"comment", "<!-- <script>x</script> -->\n", ""},25 } {26 got, err := Markdown([]byte(c.in), "/rhea", "")27 if err != nil {28 t.Fatal(err)29 }30 if g := strings.TrimSpace(string(got)); g != c.want {31 t.Errorf("%s:\n got %q\nwant %q", c.name, g, c.want)32 }33 }34}
internal/render/rawhtml.goadded
+191 −0
@@ -0,0 +1,191 @@1package render23import (4 "html"5 "net/url"6 "regexp"7 "slices"8 "strings"910 "github.com/yuin/goldmark/ast"11 "github.com/yuin/goldmark/renderer"12 "github.com/yuin/goldmark/util"13)1415// htmlRenderer stands in for goldmark's raw HTML output. Raw HTML is never16// passed through: each tag is parsed, and only an allowlist of tags and17// attributes is written back, built from scratch and escaped. Everything18// else (script, style, iframe, on*, style=, unknown tags) is dropped; the19// contents of script-like tags go too, other text stays as escaped text.20// Open tags are tracked over the whole document, so <div align="center">21// … </div> around Markdown works, and close() ends whatever is left open.22type htmlRenderer struct {23 links linkFixer24 open []string25 skip int // depth inside a dropped element whose text is dropped too26}2728var (29 tagRe = regexp.MustCompile(`(?s)<!--.*?(?:-->|$)|<[!?][^>]*>|<(/?)([A-Za-z][A-Za-z0-9-]*)((?:\s+[^\s"'>/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s"'=<>` + "`" + `]+))?)*)\s*/?>`)30 attrRe = regexp.MustCompile(`([^\s"'>/=]+)(?:\s*=\s*("[^"]*"|'[^']*'|[^\s"'=<>` + "`" + `]+))?`)31 sizeRe = regexp.MustCompile(`^[0-9]{1,4}%?$`)3233 // tag → the attributes it may keep34 allowed = map[string][]string{35 "p": {"align"}, "div": {"align"}, "h1": {"align"}, "h2": {"align"}, "h3": {"align"},36 "h4": {"align"}, "h5": {"align"}, "h6": {"align"},37 "img": {"src", "alt", "title", "width", "height", "align"}, "a": {"href", "title"},38 "br": nil, "hr": nil, "b": nil, "i": nil, "em": nil, "strong": nil, "code": nil, "kbd": nil,39 "sub": nil, "sup": nil, "s": nil, "del": nil, "pre": nil, "blockquote": nil,40 "ul": nil, "ol": nil, "li": nil, "details": {"open"}, "summary": nil,41 }42 voids = []string{"br", "hr", "img"}43 dropAll = []string{"script", "style", "template", "textarea", "iframe", "object", "noscript", "svg", "math", "title", "select"}44)4546func (h *htmlRenderer) RegisterFuncs(reg renderer.NodeRendererFuncRegisterer) {47 reg.Register(ast.KindHTMLBlock, func(w util.BufWriter, src []byte, n ast.Node, entering bool) (ast.WalkStatus, error) {48 if entering {49 b := n.(*ast.HTMLBlock)50 var s strings.Builder51 for i := 0; i < b.Lines().Len(); i++ {52 seg := b.Lines().At(i)53 s.Write(seg.Value(src))54 }55 if b.HasClosure() {56 cl := b.ClosureLine57 s.Write(cl.Value(src))58 }59 h.write(w, s.String())60 }61 return ast.WalkSkipChildren, nil62 })63 reg.Register(ast.KindRawHTML, func(w util.BufWriter, src []byte, n ast.Node, entering bool) (ast.WalkStatus, error) {64 if entering {65 var s strings.Builder66 segs := n.(*ast.RawHTML).Segments67 for i := 0; i < segs.Len(); i++ {68 seg := segs.At(i)69 s.Write(seg.Value(src))70 }71 h.write(w, s.String())72 }73 return ast.WalkSkipChildren, nil74 })75}7677func (h *htmlRenderer) write(w util.BufWriter, s string) {78 for s != "" {79 loc := tagRe.FindStringSubmatchIndex(s)80 if loc == nil {81 h.text(w, s)82 return83 }84 h.text(w, s[:loc[0]])85 if loc[4] >= 0 { // a tag, not a comment or declaration86 name := strings.ToLower(s[loc[4]:loc[5]])87 if loc[3] > loc[2] {88 h.end(w, name)89 } else {90 h.start(w, name, s[loc[6]:loc[7]])91 }92 }93 s = s[loc[1]:]94 }95}9697func (h *htmlRenderer) text(w util.BufWriter, s string) {98 if h.skip == 0 {99 w.WriteString(html.EscapeString(html.UnescapeString(s)))100 }101}102103func (h *htmlRenderer) start(w util.BufWriter, name, attrs string) {104 if slices.Contains(dropAll, name) {105 h.skip++106 }107 keep, ok := allowed[name]108 if !ok || h.skip > 0 {109 return110 }111 var out strings.Builder112 for _, m := range attrRe.FindAllStringSubmatch(attrs, -1) {113 k, v := strings.ToLower(m[1]), html.UnescapeString(strings.Trim(m[2], `"'`))114 if !slices.Contains(keep, k) {115 continue116 }117 switch k {118 case "src":119 d, ok := h.links.resolve(v, "raw", true)120 if !ok {121 continue122 }123 v = d124 case "href":125 d, ok := h.links.resolve(v, "blob", false)126 if u, err := url.Parse(d); !ok || err != nil || !slices.Contains([]string{"", "http", "https", "mailto"}, strings.ToLower(u.Scheme)) {127 continue128 }129 v = d130 case "width", "height":131 if !sizeRe.MatchString(v) {132 continue133 }134 case "align":135 if v = strings.ToLower(v); !slices.Contains([]string{"left", "center", "right"}, v) {136 continue137 }138 }139 out.WriteString(" " + k)140 if k != "open" {141 out.WriteString(`="` + html.EscapeString(v) + `"`)142 }143 }144 if name == "img" && !strings.Contains(out.String(), " src=") {145 h.text(w, attrValue(attrs, "alt")) // like a dropped Markdown image: keep the alt text146 return147 }148 w.WriteString("<" + name + out.String() + ">")149 if !slices.Contains(voids, name) {150 h.open = append(h.open, name)151 }152}153154func (h *htmlRenderer) end(w util.BufWriter, name string) {155 if slices.Contains(dropAll, name) {156 h.skip = max(0, h.skip-1)157 return158 }159 i := -1160 for j := len(h.open) - 1; j >= 0 && i < 0; j-- {161 if h.open[j] == name {162 i = j163 }164 }165 if h.skip > 0 || i < 0 {166 return // never opened here: a stray close can't end the page's own elements167 }168 for len(h.open) > i {169 w.WriteString("</" + h.open[len(h.open)-1] + ">")170 h.open = h.open[:len(h.open)-1]171 }172}173174// close returns the end tags for everything still open after the document.175func (h *htmlRenderer) close() string {176 var s strings.Builder177 for i := len(h.open) - 1; i >= 0; i-- {178 s.WriteString("</" + h.open[i] + ">")179 }180 h.open = nil181 return s.String()182}183184func attrValue(attrs, name string) string {185 for _, m := range attrRe.FindAllStringSubmatch(attrs, -1) {186 if strings.EqualFold(m[1], name) {187 return html.UnescapeString(strings.Trim(m[2], `"'`))188 }189 }190 return ""191}
internal/render/render.go
+2 −8
@@ -25,24 +25,18 @@ type Renderer struct {2525 Now time.Time // fixed per build so output is deterministic2626 css string // short hash of style.css, so caches never serve a stale one2727 Theme string // saturn palette name, the default without JS28 Site string // the brand: the site's host29 Links []Link // footer links3028 pages map[string]*template.Template3129 syms map[string][]byte // sprite symbols by id: f-<glyph> file icons, i-<name> UI icons3230}333134type Link struct{ Name, URL string }353632// Page is what every template receives.3733type Page struct {3834 Title string35 Meta string // optional meta description3936 GoImport string // optional go-import meta content40 Wide bool // code layout (page--code)4137 D any42384339 Theme string // filled in by Write44 Site string45 Links []Link4640 CSS string4741}4842@@ -109,7 +103,7 @@ func (r *Renderer) Write(dir, rel, name string, p Page) error {109103 if !ok {110104 return fmt.Errorf("render: no template %q", name)111105 }112 p.Theme, p.Site, p.Links, p.CSS = r.Theme, r.Site, r.Links, r.css106 p.Theme, p.CSS = r.Theme, r.css113107 var buf bytes.Buffer114108 if err := t.ExecuteTemplate(&buf, "base", p); err != nil {115109 return fmt.Errorf("render %s: %w", rel, err)
internal/server/server.go
+2 −0
@@ -228,6 +228,8 @@ func staticType(p string) string {228228 return "text/javascript; charset=utf-8"229229 case ".svg":230230 return "image/svg+xml"231 case ".webmanifest":232 return "application/manifest; charset=utf-8"231233 case ".png":232234 return "image/png"233235 case ".jpg", ".jpeg":
testdata/demo.json
+0 −5
@@ -2,11 +2,6 @@22 "gitea_url": "http://127.0.0.1:1",33 "user": "daniel",44 "site_url": "https://code.danieldaum.net",5 "links": {6 "website": "https://danieldaum.net",7 "atproto": "https://bsky.app/profile/daum.dev",8 "github": "https://github.com/example"9 },105 "repos": ["repo-a", "repo-b"],116 "images": ["repo-a"]127}
testdata/golden/index.html
+35 −16
@@ -3,28 +3,44 @@33<head>44<meta charset="utf-8">55<meta name="viewport" content="width=device-width, initial-scale=1">6<title>Daniel Daum</title>6<title>daniel daum - projects</title>7<meta name="description" content="daniel daum's projects - oakland based software engineer">8<meta property="og:type" content="website">9<meta property="og:site_name" content="daniel daum">10<meta property="og:title" content="daniel daum - projects">11<meta property="og:description" content="daniel daum's projects - oakland based software engineer">12<meta property="og:image" content="https://assets.danieldaum.net/img/misc/og.jpg">13<meta property="og:image:type" content="image/jpeg">14<meta property="og:image:width" content="1200">15<meta property="og:image:height" content="630">16<meta property="og:image:alt" content="daniel daum - software engineer, avid reader, aspiring game dev - danieldaum.net">17<meta name="twitter:card" content="summary_large_image">718<link rel="preload" href="/static/fonts/geistpixel/GeistPixel-Square.woff2" as="font" type="font/woff2" crossorigin>8<link rel="stylesheet" href="/static/style.css?v=4b54dfd8e9">9<script src="/static/theme.js?v=4b54dfd8e9"></script>10<script src="/static/copy.js?v=4b54dfd8e9" defer></script>19<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">20<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">21<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">22<link rel="manifest" href="/static/favicon/site.webmanifest">23<link rel="alternate" type="application/atom+xml" title="daniel daum" href="https://danieldaum.net/feed.xml">24<link rel="stylesheet" href="/static/style.css?v=3ce5aefbd8">25<script src="/static/theme.js?v=3ce5aefbd8"></script>26<script src="/static/copy.js?v=3ce5aefbd8" defer></script>1127</head>1228<body>1329<a class="skip-link" href="#site-main">skip to content</a>1430<svg class="sprite" width="0" height="0" aria-hidden="true" focusable="false"><symbol id="i-pulse" viewBox="0 0 16 16"><path d="M6 2c.306 0 .582.187.696.471L10 10.731l1.304-3.26A.751.751 0 0 1 12 7h3.25a.75.75 0 0 1 0 1.5h-2.742l-1.812 4.528a.751.751 0 0 1-1.392 0L6 4.77 4.696 8.03A.75.75 0 0 1 4 8.5H.75a.75.75 0 0 1 0-1.5h2.742l1.812-4.529A.751.751 0 0 1 6 2Z"/></symbol><symbol id="i-fire" viewBox="0 0 16 16"><path d="M9.533.753V.752c.217 2.385 1.463 3.626 2.653 4.81C13.37 6.74 14.498 7.863 14.498 10c0 3.5-3 6-6.5 6S1.5 13.512 1.5 10c0-1.298.536-2.56 1.425-3.286.376-.308.862 0 1.035.454C4.46 8.487 5.581 8.419 6 8c.282-.282.341-.811-.003-1.5C4.34 3.187 7.035.75 8.77.146c.39-.137.726.194.763.607ZM7.998 14.5c2.832 0 5-1.98 5-4.5 0-1.463-.68-2.19-1.879-3.383l-.036-.037c-1.013-1.008-2.3-2.29-2.834-4.434-.322.256-.63.579-.864.953-.432.696-.621 1.58-.046 2.73.473.947.67 2.284-.278 3.232-.61.61-1.545.84-2.403.633a2.79 2.79 0 0 1-1.436-.874A3.198 3.198 0 0 0 3 10c0 2.53 2.164 4.5 4.998 4.5Z"/></symbol><symbol id="i-book" viewBox="0 0 16 16"><path d="M0 1.75A.75.75 0 0 1 .75 1h4.253c1.227 0 2.317.59 3 1.501A3.743 3.743 0 0 1 11.006 1h4.245a.75.75 0 0 1 .75.75v10.5a.75.75 0 0 1-.75.75h-4.507a2.25 2.25 0 0 0-1.591.659l-.622.621a.75.75 0 0 1-1.06 0l-.622-.621A2.25 2.25 0 0 0 5.258 13H.75a.75.75 0 0 1-.75-.75Zm7.251 10.324.004-5.073-.002-2.253A2.25 2.25 0 0 0 5.003 2.5H1.5v9h3.757a3.75 3.75 0 0 1 1.994.574ZM8.755 4.75l-.004 7.322a3.752 3.752 0 0 1 1.992-.572H14.5v-9h-3.495a2.25 2.25 0 0 0-2.25 2.25Z"/></symbol><symbol id="i-pull" viewBox="0 0 16 16"><path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"/></symbol><symbol id="i-commit" viewBox="0 0 16 16"><path d="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"/></symbol><symbol id="i-tag" viewBox="0 0 16 16"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"/></symbol><symbol id="i-user" viewBox="0 0 16 16"><path d="M10.561 8.073a6.005 6.005 0 0 1 3.432 5.142.75.75 0 1 1-1.498.07 4.5 4.5 0 0 0-8.99 0 .75.75 0 0 1-1.498-.07 6.004 6.004 0 0 1 3.431-5.142 3.999 3.999 0 1 1 5.123 0ZM10.5 5a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"/></symbol></svg>1531<header class="site-header">16 <a class="site-name" href="/">code.danieldaum.net</a>17 <nav aria-label="site">18 <a href="/">repos</a>19 <a href="https://danieldaum.net">website</a>32 <a class="site-name" href="https://danieldaum.net">Daniel Daum</a>33 <nav aria-label="main navigation">34 <a href="https://danieldaum.net/about/">about</a>35 <a href="https://danieldaum.net/blog/">blog</a>36 <a href="/" aria-current="page">projects</a>37 <a href="https://danieldaum.net/garden/">garden</a>2038 </nav>2139</header>2240<main id="site-main">23<header class="profile"><img class="avatar-lg" src="/static/avatar-65da4c2ded.png" alt="" width="160" height="160">24 <div class="profile-text">25 <h1>Daniel Daum</h1>26 <p class="profile-handle">Daniel · Earth</p><p class="profile-bio">Builds small tools. <script>alert(1)</script></p>27 </div>41<header class="page-header">42 <h1><span aria-hidden="true">/</span>projects</h1>43 <p class="meta">Things I've built or projects in development</p>2844</header>29453046<section class="box heat">@@ -141,9 +157,12 @@141157<footer>142158 <nav aria-label="site links">143159 <p aria-hidden="true">//</p>144 <a href="https://danieldaum.net" rel="me">website</a>145 <a href="https://bsky.app/profile/daum.dev" rel="me">bluesky</a>146 <a href="https://github.com/example" rel="me">github</a>160 <a href="mailto:daniel@danieldaum.net"> email </a>161 <a href="https://tangled.org/danieldaum.net" aria-label="git (opens in new tab)" target="_blank" rel="noopener noreferrer">git</a>162 <a href="https://danieldaum.net/pgp.asc" aria-label="PGP public key (516E97FF)">PGP</a>163 <a href="https://danieldaum.net/changelog/">changelog</a>164 <a href="https://danieldaum.net/privacy/">privacy</a>165 <a href="https://danieldaum.net/feed.xml">feed</a>147166 <button type="button" class="theme-button" hidden>theme</button>148167 </nav>149168</footer>
testdata/golden/repo-a/blob/README.md.html
+28 −14
@@ -3,27 +3,38 @@33<head>44<meta charset="utf-8">55<meta name="viewport" content="width=device-width, initial-scale=1">6<title>README.md · repo-a</title>6<title>daniel daum - README.md · repo-a</title>77<link rel="preload" href="/static/fonts/geistpixel/GeistPixel-Square.woff2" as="font" type="font/woff2" crossorigin>8<link rel="stylesheet" href="/static/style.css?v=4b54dfd8e9">9<script src="/static/theme.js?v=4b54dfd8e9"></script>10<script src="/static/copy.js?v=4b54dfd8e9" defer></script>8<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">9<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">10<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">11<link rel="manifest" href="/static/favicon/site.webmanifest">12<link rel="alternate" type="application/atom+xml" title="daniel daum" href="https://danieldaum.net/feed.xml">13<link rel="stylesheet" href="/static/style.css?v=3ce5aefbd8">14<script src="/static/theme.js?v=3ce5aefbd8"></script>15<script src="/static/copy.js?v=3ce5aefbd8" defer></script>1116</head>12<body class="page--code">17<body>1318<a class="skip-link" href="#site-main">skip to content</a>1419<svg class="sprite" width="0" height="0" aria-hidden="true" focusable="false"><symbol id="i-tag" viewBox="0 0 16 16"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"/></symbol><symbol id="i-history" viewBox="0 0 16 16"><path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"/></symbol><symbol id="i-branch" viewBox="0 0 16 16"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"/></symbol><symbol id="i-check" viewBox="0 0 16 16"><path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"/></symbol><symbol id="i-link" viewBox="0 0 16 16"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"/></symbol><symbol id="i-law" viewBox="0 0 16 16"><path d="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z"/></symbol><symbol id="i-package" viewBox="0 0 16 16"><path d="m8.878.392 5.25 3.045c.54.314.872.89.872 1.514v6.098a1.75 1.75 0 0 1-.872 1.514l-5.25 3.045a1.75 1.75 0 0 1-1.756 0l-5.25-3.045A1.75 1.75 0 0 1 1 11.049V4.951c0-.624.332-1.201.872-1.514L7.122.392a1.75 1.75 0 0 1 1.756 0ZM7.875 1.69l-4.63 2.685L8 7.133l4.755-2.758-4.63-2.685a.248.248 0 0 0-.25 0ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z"/></symbol><symbol id="i-code" viewBox="0 0 16 16"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"/></symbol><symbol id="i-commit" viewBox="0 0 16 16"><path d="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"/></symbol><symbol id="i-pull" viewBox="0 0 16 16"><path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"/></symbol><symbol id="f-readme" viewBox="0 0 16 16" fill="none"><path d="M0 0h24v24H0z"/><path fill="#42a5f5" d="M8 1C4.136 1 1 4.136 1 8s3.136 7 7 7 7-3.136 7-7-3.136-7-7-7m1 11H7V7.5h2zm0-6H7V4h2z"/></symbol><symbol id="i-download" viewBox="0 0 16 16"><path d="M2.75 14A1.75 1.75 0 0 1 1 12.25v-2.5a.75.75 0 0 1 1.5 0v2.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-2.5a.75.75 0 0 1 1.5 0v2.5A1.75 1.75 0 0 1 13.25 14Z"/><path d="M7.25 7.689V2a.75.75 0 0 1 1.5 0v5.689l1.97-1.969a.749.749 0 1 1 1.06 1.06l-3.25 3.25a.749.749 0 0 1-1.06 0L4.22 6.78a.749.749 0 1 1 1.06-1.06l1.97 1.969Z"/></symbol></svg>1520<header class="site-header">16 <a class="site-name" href="/">code.danieldaum.net</a>17 <nav aria-label="site">18 <a href="/">repos</a>19 <a href="https://danieldaum.net">website</a>21 <a class="site-name" href="https://danieldaum.net">Daniel Daum</a>22 <nav aria-label="main navigation">23 <a href="https://danieldaum.net/about/">about</a>24 <a href="https://danieldaum.net/blog/">blog</a>25 <a href="/" aria-current="page">projects</a>26 <a href="https://danieldaum.net/garden/">garden</a>2027 </nav>2128</header>2229<main id="site-main">233031<nav class="breadcrumb" aria-label="breadcrumb">32 <a href="/">projects</a> <span aria-hidden="true">-></span>33 <a href="/repo-a/">repo-a</a>34</nav>2435<header class="repo-head">25 <h1 class="repo-title"><img class="avatar-sm" src="/static/avatar-65da4c2ded.png" alt="" width="24" height="24">26 <a class="repo-owner" href="/">Daniel</a><span class="repo-slash" aria-hidden="true">/</span><a class="repo-name" href="/repo-a/">repo-a</a>36 <h1 class="repo-title">37 <a class="repo-name" href="/repo-a/">repo-a</a>2738 </h1><p class="repo-desc">A small Go service & friends</p>2839 <div class="pills topics"><span class="pill">go</span><span class="pill">web</span><span class="pill">self-hosted</span></div>2940 <ul class="repo-stats" aria-label="repository stats"><li><a class="stat-pill stat-pill--release" href="/repo-a/releases/#v0.2.0" title="latest release"><svg class="icon icon-tag" width="16" height="16" fill="currentColor" aria-hidden="true" focusable="false"><use href="#i-tag"></use></svg>v0.2.0</a></li>@@ -55,9 +66,12 @@5566<footer>5667 <nav aria-label="site links">5768 <p aria-hidden="true">//</p>58 <a href="https://danieldaum.net" rel="me">website</a>59 <a href="https://bsky.app/profile/daum.dev" rel="me">bluesky</a>60 <a href="https://github.com/example" rel="me">github</a>69 <a href="mailto:daniel@danieldaum.net"> email </a>70 <a href="https://tangled.org/danieldaum.net" aria-label="git (opens in new tab)" target="_blank" rel="noopener noreferrer">git</a>71 <a href="https://danieldaum.net/pgp.asc" aria-label="PGP public key (516E97FF)">PGP</a>72 <a href="https://danieldaum.net/changelog/">changelog</a>73 <a href="https://danieldaum.net/privacy/">privacy</a>74 <a href="https://danieldaum.net/feed.xml">feed</a>6175 <button type="button" class="theme-button" hidden>theme</button>6276 </nav>6377</footer>
testdata/golden/repo-a/blob/big.txt.html
+28 −14
@@ -3,27 +3,38 @@33<head>44<meta charset="utf-8">55<meta name="viewport" content="width=device-width, initial-scale=1">6<title>big.txt · repo-a</title>6<title>daniel daum - big.txt · repo-a</title>77<link rel="preload" href="/static/fonts/geistpixel/GeistPixel-Square.woff2" as="font" type="font/woff2" crossorigin>8<link rel="stylesheet" href="/static/style.css?v=4b54dfd8e9">9<script src="/static/theme.js?v=4b54dfd8e9"></script>10<script src="/static/copy.js?v=4b54dfd8e9" defer></script>8<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">9<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">10<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">11<link rel="manifest" href="/static/favicon/site.webmanifest">12<link rel="alternate" type="application/atom+xml" title="daniel daum" href="https://danieldaum.net/feed.xml">13<link rel="stylesheet" href="/static/style.css?v=3ce5aefbd8">14<script src="/static/theme.js?v=3ce5aefbd8"></script>15<script src="/static/copy.js?v=3ce5aefbd8" defer></script>1116</head>12<body class="page--code">17<body>1318<a class="skip-link" href="#site-main">skip to content</a>1419<svg class="sprite" width="0" height="0" aria-hidden="true" focusable="false"><symbol id="i-tag" viewBox="0 0 16 16"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"/></symbol><symbol id="i-history" viewBox="0 0 16 16"><path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"/></symbol><symbol id="i-branch" viewBox="0 0 16 16"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"/></symbol><symbol id="i-check" viewBox="0 0 16 16"><path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"/></symbol><symbol id="i-link" viewBox="0 0 16 16"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"/></symbol><symbol id="i-law" viewBox="0 0 16 16"><path d="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z"/></symbol><symbol id="i-package" viewBox="0 0 16 16"><path d="m8.878.392 5.25 3.045c.54.314.872.89.872 1.514v6.098a1.75 1.75 0 0 1-.872 1.514l-5.25 3.045a1.75 1.75 0 0 1-1.756 0l-5.25-3.045A1.75 1.75 0 0 1 1 11.049V4.951c0-.624.332-1.201.872-1.514L7.122.392a1.75 1.75 0 0 1 1.756 0ZM7.875 1.69l-4.63 2.685L8 7.133l4.755-2.758-4.63-2.685a.248.248 0 0 0-.25 0ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z"/></symbol><symbol id="i-code" viewBox="0 0 16 16"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"/></symbol><symbol id="i-commit" viewBox="0 0 16 16"><path d="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"/></symbol><symbol id="i-pull" viewBox="0 0 16 16"><path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"/></symbol><symbol id="f-document" viewBox="0 0 24 24" fill="none"><path d="M0 0h24v24H0z"/><path fill="#42a5f5" d="M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5z"/></symbol><symbol id="i-download" viewBox="0 0 16 16"><path d="M2.75 14A1.75 1.75 0 0 1 1 12.25v-2.5a.75.75 0 0 1 1.5 0v2.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-2.5a.75.75 0 0 1 1.5 0v2.5A1.75 1.75 0 0 1 13.25 14Z"/><path d="M7.25 7.689V2a.75.75 0 0 1 1.5 0v5.689l1.97-1.969a.749.749 0 1 1 1.06 1.06l-3.25 3.25a.749.749 0 0 1-1.06 0L4.22 6.78a.749.749 0 1 1 1.06-1.06l1.97 1.969Z"/></symbol></svg>1520<header class="site-header">16 <a class="site-name" href="/">code.danieldaum.net</a>17 <nav aria-label="site">18 <a href="/">repos</a>19 <a href="https://danieldaum.net">website</a>21 <a class="site-name" href="https://danieldaum.net">Daniel Daum</a>22 <nav aria-label="main navigation">23 <a href="https://danieldaum.net/about/">about</a>24 <a href="https://danieldaum.net/blog/">blog</a>25 <a href="/" aria-current="page">projects</a>26 <a href="https://danieldaum.net/garden/">garden</a>2027 </nav>2128</header>2229<main id="site-main">233031<nav class="breadcrumb" aria-label="breadcrumb">32 <a href="/">projects</a> <span aria-hidden="true">-></span>33 <a href="/repo-a/">repo-a</a>34</nav>2435<header class="repo-head">25 <h1 class="repo-title"><img class="avatar-sm" src="/static/avatar-65da4c2ded.png" alt="" width="24" height="24">26 <a class="repo-owner" href="/">Daniel</a><span class="repo-slash" aria-hidden="true">/</span><a class="repo-name" href="/repo-a/">repo-a</a>36 <h1 class="repo-title">37 <a class="repo-name" href="/repo-a/">repo-a</a>2738 </h1><p class="repo-desc">A small Go service & friends</p>2839 <div class="pills topics"><span class="pill">go</span><span class="pill">web</span><span class="pill">self-hosted</span></div>2940 <ul class="repo-stats" aria-label="repository stats"><li><a class="stat-pill stat-pill--release" href="/repo-a/releases/#v0.2.0" title="latest release"><svg class="icon icon-tag" width="16" height="16" fill="currentColor" aria-hidden="true" focusable="false"><use href="#i-tag"></use></svg>v0.2.0</a></li>@@ -55,9 +66,12 @@5566<footer>5667 <nav aria-label="site links">5768 <p aria-hidden="true">//</p>58 <a href="https://danieldaum.net" rel="me">website</a>59 <a href="https://bsky.app/profile/daum.dev" rel="me">bluesky</a>60 <a href="https://github.com/example" rel="me">github</a>69 <a href="mailto:daniel@danieldaum.net"> email </a>70 <a href="https://tangled.org/danieldaum.net" aria-label="git (opens in new tab)" target="_blank" rel="noopener noreferrer">git</a>71 <a href="https://danieldaum.net/pgp.asc" aria-label="PGP public key (516E97FF)">PGP</a>72 <a href="https://danieldaum.net/changelog/">changelog</a>73 <a href="https://danieldaum.net/privacy/">privacy</a>74 <a href="https://danieldaum.net/feed.xml">feed</a>6175 <button type="button" class="theme-button" hidden>theme</button>6276 </nav>6377</footer>
testdata/golden/repo-a/blob/cmd/hello/main.go.html
+28 −14
@@ -3,27 +3,38 @@33<head>44<meta charset="utf-8">55<meta name="viewport" content="width=device-width, initial-scale=1">6<title>cmd/hello/main.go · repo-a</title>6<title>daniel daum - cmd/hello/main.go · repo-a</title>77<link rel="preload" href="/static/fonts/geistpixel/GeistPixel-Square.woff2" as="font" type="font/woff2" crossorigin>8<link rel="stylesheet" href="/static/style.css?v=4b54dfd8e9">9<script src="/static/theme.js?v=4b54dfd8e9"></script>10<script src="/static/copy.js?v=4b54dfd8e9" defer></script>8<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">9<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">10<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">11<link rel="manifest" href="/static/favicon/site.webmanifest">12<link rel="alternate" type="application/atom+xml" title="daniel daum" href="https://danieldaum.net/feed.xml">13<link rel="stylesheet" href="/static/style.css?v=3ce5aefbd8">14<script src="/static/theme.js?v=3ce5aefbd8"></script>15<script src="/static/copy.js?v=3ce5aefbd8" defer></script>1116</head>12<body class="page--code">17<body>1318<a class="skip-link" href="#site-main">skip to content</a>1419<svg class="sprite" width="0" height="0" aria-hidden="true" focusable="false"><symbol id="i-tag" viewBox="0 0 16 16"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"/></symbol><symbol id="i-history" viewBox="0 0 16 16"><path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"/></symbol><symbol id="i-branch" viewBox="0 0 16 16"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"/></symbol><symbol id="i-check" viewBox="0 0 16 16"><path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"/></symbol><symbol id="i-link" viewBox="0 0 16 16"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"/></symbol><symbol id="i-law" viewBox="0 0 16 16"><path d="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z"/></symbol><symbol id="i-package" viewBox="0 0 16 16"><path d="m8.878.392 5.25 3.045c.54.314.872.89.872 1.514v6.098a1.75 1.75 0 0 1-.872 1.514l-5.25 3.045a1.75 1.75 0 0 1-1.756 0l-5.25-3.045A1.75 1.75 0 0 1 1 11.049V4.951c0-.624.332-1.201.872-1.514L7.122.392a1.75 1.75 0 0 1 1.756 0ZM7.875 1.69l-4.63 2.685L8 7.133l4.755-2.758-4.63-2.685a.248.248 0 0 0-.25 0ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z"/></symbol><symbol id="i-code" viewBox="0 0 16 16"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"/></symbol><symbol id="i-commit" viewBox="0 0 16 16"><path d="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"/></symbol><symbol id="i-pull" viewBox="0 0 16 16"><path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"/></symbol><symbol id="f-go" viewBox="0 0 32 32"><path fill="#00acc1" d="M2 12h4v2H2zm-2 4h6v2H0zm4 4h2v2H4zm16.954-5H14v3h3.239a4.42 4.42 0 0 1-3.531 2 2.65 2.65 0 0 1-2.053-.858 2.86 2.86 0 0 1-.628-2.28A4.515 4.515 0 0 1 15.292 13a2.73 2.73 0 0 1 1.749.584l2.962-1.185A5.6 5.6 0 0 0 15.292 10a7.526 7.526 0 0 0-7.243 6.5 5.614 5.614 0 0 0 5.659 6.5 7.526 7.526 0 0 0 7.243-6.5 6.4 6.4 0 0 0 .003-1.5"/><path fill="#00acc1" d="M26.292 10a7.526 7.526 0 0 0-7.243 6.5 5.614 5.614 0 0 0 5.659 6.5 7.526 7.526 0 0 0 7.243-6.5 5.614 5.614 0 0 0-5.659-6.5m2.681 6.137A4.515 4.515 0 0 1 24.708 20a2.65 2.65 0 0 1-2.053-.858 2.86 2.86 0 0 1-.628-2.28A4.515 4.515 0 0 1 26.292 13a2.65 2.65 0 0 1 2.053.858 2.86 2.86 0 0 1 .628 2.28Z"/></symbol><symbol id="i-download" viewBox="0 0 16 16"><path d="M2.75 14A1.75 1.75 0 0 1 1 12.25v-2.5a.75.75 0 0 1 1.5 0v2.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-2.5a.75.75 0 0 1 1.5 0v2.5A1.75 1.75 0 0 1 13.25 14Z"/><path d="M7.25 7.689V2a.75.75 0 0 1 1.5 0v5.689l1.97-1.969a.749.749 0 1 1 1.06 1.06l-3.25 3.25a.749.749 0 0 1-1.06 0L4.22 6.78a.749.749 0 1 1 1.06-1.06l1.97 1.969Z"/></symbol></svg>1520<header class="site-header">16 <a class="site-name" href="/">code.danieldaum.net</a>17 <nav aria-label="site">18 <a href="/">repos</a>19 <a href="https://danieldaum.net">website</a>21 <a class="site-name" href="https://danieldaum.net">Daniel Daum</a>22 <nav aria-label="main navigation">23 <a href="https://danieldaum.net/about/">about</a>24 <a href="https://danieldaum.net/blog/">blog</a>25 <a href="/" aria-current="page">projects</a>26 <a href="https://danieldaum.net/garden/">garden</a>2027 </nav>2128</header>2229<main id="site-main">233031<nav class="breadcrumb" aria-label="breadcrumb">32 <a href="/">projects</a> <span aria-hidden="true">-></span>33 <a href="/repo-a/">repo-a</a>34</nav>2435<header class="repo-head">25 <h1 class="repo-title"><img class="avatar-sm" src="/static/avatar-65da4c2ded.png" alt="" width="24" height="24">26 <a class="repo-owner" href="/">Daniel</a><span class="repo-slash" aria-hidden="true">/</span><a class="repo-name" href="/repo-a/">repo-a</a>36 <h1 class="repo-title">37 <a class="repo-name" href="/repo-a/">repo-a</a>2738 </h1><p class="repo-desc">A small Go service & friends</p>2839 <div class="pills topics"><span class="pill">go</span><span class="pill">web</span><span class="pill">self-hosted</span></div>2940 <ul class="repo-stats" aria-label="repository stats"><li><a class="stat-pill stat-pill--release" href="/repo-a/releases/#v0.2.0" title="latest release"><svg class="icon icon-tag" width="16" height="16" fill="currentColor" aria-hidden="true" focusable="false"><use href="#i-tag"></use></svg>v0.2.0</a></li>@@ -55,9 +66,12 @@5566<footer>5667 <nav aria-label="site links">5768 <p aria-hidden="true">//</p>58 <a href="https://danieldaum.net" rel="me">website</a>59 <a href="https://bsky.app/profile/daum.dev" rel="me">bluesky</a>60 <a href="https://github.com/example" rel="me">github</a>69 <a href="mailto:daniel@danieldaum.net"> email </a>70 <a href="https://tangled.org/danieldaum.net" aria-label="git (opens in new tab)" target="_blank" rel="noopener noreferrer">git</a>71 <a href="https://danieldaum.net/pgp.asc" aria-label="PGP public key (516E97FF)">PGP</a>72 <a href="https://danieldaum.net/changelog/">changelog</a>73 <a href="https://danieldaum.net/privacy/">privacy</a>74 <a href="https://danieldaum.net/feed.xml">feed</a>6175 <button type="button" class="theme-button" hidden>theme</button>6276 </nav>6377</footer>
testdata/golden/repo-a/blob/data.bin.html
+28 −14
@@ -3,27 +3,38 @@33<head>44<meta charset="utf-8">55<meta name="viewport" content="width=device-width, initial-scale=1">6<title>data.bin · repo-a</title>6<title>daniel daum - data.bin · repo-a</title>77<link rel="preload" href="/static/fonts/geistpixel/GeistPixel-Square.woff2" as="font" type="font/woff2" crossorigin>8<link rel="stylesheet" href="/static/style.css?v=4b54dfd8e9">9<script src="/static/theme.js?v=4b54dfd8e9"></script>10<script src="/static/copy.js?v=4b54dfd8e9" defer></script>8<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">9<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">10<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">11<link rel="manifest" href="/static/favicon/site.webmanifest">12<link rel="alternate" type="application/atom+xml" title="daniel daum" href="https://danieldaum.net/feed.xml">13<link rel="stylesheet" href="/static/style.css?v=3ce5aefbd8">14<script src="/static/theme.js?v=3ce5aefbd8"></script>15<script src="/static/copy.js?v=3ce5aefbd8" defer></script>1116</head>12<body class="page--code">17<body>1318<a class="skip-link" href="#site-main">skip to content</a>1419<svg class="sprite" width="0" height="0" aria-hidden="true" focusable="false"><symbol id="i-tag" viewBox="0 0 16 16"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"/></symbol><symbol id="i-history" viewBox="0 0 16 16"><path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"/></symbol><symbol id="i-branch" viewBox="0 0 16 16"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"/></symbol><symbol id="i-check" viewBox="0 0 16 16"><path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"/></symbol><symbol id="i-link" viewBox="0 0 16 16"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"/></symbol><symbol id="i-law" viewBox="0 0 16 16"><path d="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z"/></symbol><symbol id="i-package" viewBox="0 0 16 16"><path d="m8.878.392 5.25 3.045c.54.314.872.89.872 1.514v6.098a1.75 1.75 0 0 1-.872 1.514l-5.25 3.045a1.75 1.75 0 0 1-1.756 0l-5.25-3.045A1.75 1.75 0 0 1 1 11.049V4.951c0-.624.332-1.201.872-1.514L7.122.392a1.75 1.75 0 0 1 1.756 0ZM7.875 1.69l-4.63 2.685L8 7.133l4.755-2.758-4.63-2.685a.248.248 0 0 0-.25 0ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z"/></symbol><symbol id="i-code" viewBox="0 0 16 16"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"/></symbol><symbol id="i-commit" viewBox="0 0 16 16"><path d="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"/></symbol><symbol id="i-pull" viewBox="0 0 16 16"><path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"/></symbol><symbol id="f-file" viewBox="0 0 16 16"><path d="m8.668 6h3.6641l-3.6641-3.668v3.668m-4.668-4.668h5.332l4 4v8c0 0.73828-0.59375 1.3359-1.332 1.3359h-8c-0.73828 0-1.332-0.59766-1.332-1.3359v-10.664c0-0.74219 0.59375-1.3359 1.332-1.3359m3.332 1.3359h-3.332v10.664h8v-6h-4.668z" fill="#90a4ae" /></symbol><symbol id="i-download" viewBox="0 0 16 16"><path d="M2.75 14A1.75 1.75 0 0 1 1 12.25v-2.5a.75.75 0 0 1 1.5 0v2.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-2.5a.75.75 0 0 1 1.5 0v2.5A1.75 1.75 0 0 1 13.25 14Z"/><path d="M7.25 7.689V2a.75.75 0 0 1 1.5 0v5.689l1.97-1.969a.749.749 0 1 1 1.06 1.06l-3.25 3.25a.749.749 0 0 1-1.06 0L4.22 6.78a.749.749 0 1 1 1.06-1.06l1.97 1.969Z"/></symbol></svg>1520<header class="site-header">16 <a class="site-name" href="/">code.danieldaum.net</a>17 <nav aria-label="site">18 <a href="/">repos</a>19 <a href="https://danieldaum.net">website</a>21 <a class="site-name" href="https://danieldaum.net">Daniel Daum</a>22 <nav aria-label="main navigation">23 <a href="https://danieldaum.net/about/">about</a>24 <a href="https://danieldaum.net/blog/">blog</a>25 <a href="/" aria-current="page">projects</a>26 <a href="https://danieldaum.net/garden/">garden</a>2027 </nav>2128</header>2229<main id="site-main">233031<nav class="breadcrumb" aria-label="breadcrumb">32 <a href="/">projects</a> <span aria-hidden="true">-></span>33 <a href="/repo-a/">repo-a</a>34</nav>2435<header class="repo-head">25 <h1 class="repo-title"><img class="avatar-sm" src="/static/avatar-65da4c2ded.png" alt="" width="24" height="24">26 <a class="repo-owner" href="/">Daniel</a><span class="repo-slash" aria-hidden="true">/</span><a class="repo-name" href="/repo-a/">repo-a</a>36 <h1 class="repo-title">37 <a class="repo-name" href="/repo-a/">repo-a</a>2738 </h1><p class="repo-desc">A small Go service & friends</p>2839 <div class="pills topics"><span class="pill">go</span><span class="pill">web</span><span class="pill">self-hosted</span></div>2940 <ul class="repo-stats" aria-label="repository stats"><li><a class="stat-pill stat-pill--release" href="/repo-a/releases/#v0.2.0" title="latest release"><svg class="icon icon-tag" width="16" height="16" fill="currentColor" aria-hidden="true" focusable="false"><use href="#i-tag"></use></svg>v0.2.0</a></li>@@ -55,9 +66,12 @@5566<footer>5667 <nav aria-label="site links">5768 <p aria-hidden="true">//</p>58 <a href="https://danieldaum.net" rel="me">website</a>59 <a href="https://bsky.app/profile/daum.dev" rel="me">bluesky</a>60 <a href="https://github.com/example" rel="me">github</a>69 <a href="mailto:daniel@danieldaum.net"> email </a>70 <a href="https://tangled.org/danieldaum.net" aria-label="git (opens in new tab)" target="_blank" rel="noopener noreferrer">git</a>71 <a href="https://danieldaum.net/pgp.asc" aria-label="PGP public key (516E97FF)">PGP</a>72 <a href="https://danieldaum.net/changelog/">changelog</a>73 <a href="https://danieldaum.net/privacy/">privacy</a>74 <a href="https://danieldaum.net/feed.xml">feed</a>6175 <button type="button" class="theme-button" hidden>theme</button>6276 </nav>6377</footer>
testdata/golden/repo-a/blob/docs/logo.png.html
+28 −14
@@ -3,27 +3,38 @@33<head>44<meta charset="utf-8">55<meta name="viewport" content="width=device-width, initial-scale=1">6<title>docs/logo.png · repo-a</title>6<title>daniel daum - docs/logo.png · repo-a</title>77<link rel="preload" href="/static/fonts/geistpixel/GeistPixel-Square.woff2" as="font" type="font/woff2" crossorigin>8<link rel="stylesheet" href="/static/style.css?v=4b54dfd8e9">9<script src="/static/theme.js?v=4b54dfd8e9"></script>10<script src="/static/copy.js?v=4b54dfd8e9" defer></script>8<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">9<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">10<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">11<link rel="manifest" href="/static/favicon/site.webmanifest">12<link rel="alternate" type="application/atom+xml" title="daniel daum" href="https://danieldaum.net/feed.xml">13<link rel="stylesheet" href="/static/style.css?v=3ce5aefbd8">14<script src="/static/theme.js?v=3ce5aefbd8"></script>15<script src="/static/copy.js?v=3ce5aefbd8" defer></script>1116</head>12<body class="page--code">17<body>1318<a class="skip-link" href="#site-main">skip to content</a>1419<svg class="sprite" width="0" height="0" aria-hidden="true" focusable="false"><symbol id="i-tag" viewBox="0 0 16 16"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"/></symbol><symbol id="i-history" viewBox="0 0 16 16"><path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"/></symbol><symbol id="i-branch" viewBox="0 0 16 16"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"/></symbol><symbol id="i-check" viewBox="0 0 16 16"><path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"/></symbol><symbol id="i-link" viewBox="0 0 16 16"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"/></symbol><symbol id="i-law" viewBox="0 0 16 16"><path d="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z"/></symbol><symbol id="i-package" viewBox="0 0 16 16"><path d="m8.878.392 5.25 3.045c.54.314.872.89.872 1.514v6.098a1.75 1.75 0 0 1-.872 1.514l-5.25 3.045a1.75 1.75 0 0 1-1.756 0l-5.25-3.045A1.75 1.75 0 0 1 1 11.049V4.951c0-.624.332-1.201.872-1.514L7.122.392a1.75 1.75 0 0 1 1.756 0ZM7.875 1.69l-4.63 2.685L8 7.133l4.755-2.758-4.63-2.685a.248.248 0 0 0-.25 0ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z"/></symbol><symbol id="i-code" viewBox="0 0 16 16"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"/></symbol><symbol id="i-commit" viewBox="0 0 16 16"><path d="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"/></symbol><symbol id="i-pull" viewBox="0 0 16 16"><path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"/></symbol><symbol id="f-image" viewBox="0 0 16 16"><path fill="#26a69a" d="M8.5 6h4l-4-4zM3.875 1H9.5l4 4v8.6c0 .773-.616 1.4-1.375 1.4h-8.25c-.76 0-1.375-.627-1.375-1.4V2.4c0-.777.612-1.4 1.375-1.4M4 13.6h8V8l-2.625 2.8L8 9.4zm1.25-7.7c-.76 0-1.375.627-1.375 1.4s.616 1.4 1.375 1.4c.76 0 1.375-.627 1.375-1.4S6.009 5.9 5.25 5.9"/></symbol><symbol id="i-download" viewBox="0 0 16 16"><path d="M2.75 14A1.75 1.75 0 0 1 1 12.25v-2.5a.75.75 0 0 1 1.5 0v2.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-2.5a.75.75 0 0 1 1.5 0v2.5A1.75 1.75 0 0 1 13.25 14Z"/><path d="M7.25 7.689V2a.75.75 0 0 1 1.5 0v5.689l1.97-1.969a.749.749 0 1 1 1.06 1.06l-3.25 3.25a.749.749 0 0 1-1.06 0L4.22 6.78a.749.749 0 1 1 1.06-1.06l1.97 1.969Z"/></symbol></svg>1520<header class="site-header">16 <a class="site-name" href="/">code.danieldaum.net</a>17 <nav aria-label="site">18 <a href="/">repos</a>19 <a href="https://danieldaum.net">website</a>21 <a class="site-name" href="https://danieldaum.net">Daniel Daum</a>22 <nav aria-label="main navigation">23 <a href="https://danieldaum.net/about/">about</a>24 <a href="https://danieldaum.net/blog/">blog</a>25 <a href="/" aria-current="page">projects</a>26 <a href="https://danieldaum.net/garden/">garden</a>2027 </nav>2128</header>2229<main id="site-main">233031<nav class="breadcrumb" aria-label="breadcrumb">32 <a href="/">projects</a> <span aria-hidden="true">-></span>33 <a href="/repo-a/">repo-a</a>34</nav>2435<header class="repo-head">25 <h1 class="repo-title"><img class="avatar-sm" src="/static/avatar-65da4c2ded.png" alt="" width="24" height="24">26 <a class="repo-owner" href="/">Daniel</a><span class="repo-slash" aria-hidden="true">/</span><a class="repo-name" href="/repo-a/">repo-a</a>36 <h1 class="repo-title">37 <a class="repo-name" href="/repo-a/">repo-a</a>2738 </h1><p class="repo-desc">A small Go service & friends</p>2839 <div class="pills topics"><span class="pill">go</span><span class="pill">web</span><span class="pill">self-hosted</span></div>2940 <ul class="repo-stats" aria-label="repository stats"><li><a class="stat-pill stat-pill--release" href="/repo-a/releases/#v0.2.0" title="latest release"><svg class="icon icon-tag" width="16" height="16" fill="currentColor" aria-hidden="true" focusable="false"><use href="#i-tag"></use></svg>v0.2.0</a></li>@@ -55,9 +66,12 @@5566<footer>5667 <nav aria-label="site links">5768 <p aria-hidden="true">//</p>58 <a href="https://danieldaum.net" rel="me">website</a>59 <a href="https://bsky.app/profile/daum.dev" rel="me">bluesky</a>60 <a href="https://github.com/example" rel="me">github</a>69 <a href="mailto:daniel@danieldaum.net"> email </a>70 <a href="https://tangled.org/danieldaum.net" aria-label="git (opens in new tab)" target="_blank" rel="noopener noreferrer">git</a>71 <a href="https://danieldaum.net/pgp.asc" aria-label="PGP public key (516E97FF)">PGP</a>72 <a href="https://danieldaum.net/changelog/">changelog</a>73 <a href="https://danieldaum.net/privacy/">privacy</a>74 <a href="https://danieldaum.net/feed.xml">feed</a>6175 <button type="button" class="theme-button" hidden>theme</button>6276 </nav>6377</footer>
testdata/golden/repo-a/branches/index.html
+28 −14
@@ -3,27 +3,38 @@33<head>44<meta charset="utf-8">55<meta name="viewport" content="width=device-width, initial-scale=1">6<title>branches · repo-a</title>6<title>daniel daum - branches · repo-a</title>77<link rel="preload" href="/static/fonts/geistpixel/GeistPixel-Square.woff2" as="font" type="font/woff2" crossorigin>8<link rel="stylesheet" href="/static/style.css?v=4b54dfd8e9">9<script src="/static/theme.js?v=4b54dfd8e9"></script>10<script src="/static/copy.js?v=4b54dfd8e9" defer></script>8<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">9<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">10<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">11<link rel="manifest" href="/static/favicon/site.webmanifest">12<link rel="alternate" type="application/atom+xml" title="daniel daum" href="https://danieldaum.net/feed.xml">13<link rel="stylesheet" href="/static/style.css?v=3ce5aefbd8">14<script src="/static/theme.js?v=3ce5aefbd8"></script>15<script src="/static/copy.js?v=3ce5aefbd8" defer></script>1116</head>12<body class="page--code">17<body>1318<a class="skip-link" href="#site-main">skip to content</a>1419<svg class="sprite" width="0" height="0" aria-hidden="true" focusable="false"><symbol id="i-tag" viewBox="0 0 16 16"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"/></symbol><symbol id="i-history" viewBox="0 0 16 16"><path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"/></symbol><symbol id="i-branch" viewBox="0 0 16 16"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"/></symbol><symbol id="i-check" viewBox="0 0 16 16"><path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"/></symbol><symbol id="i-link" viewBox="0 0 16 16"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"/></symbol><symbol id="i-law" viewBox="0 0 16 16"><path d="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z"/></symbol><symbol id="i-package" viewBox="0 0 16 16"><path d="m8.878.392 5.25 3.045c.54.314.872.89.872 1.514v6.098a1.75 1.75 0 0 1-.872 1.514l-5.25 3.045a1.75 1.75 0 0 1-1.756 0l-5.25-3.045A1.75 1.75 0 0 1 1 11.049V4.951c0-.624.332-1.201.872-1.514L7.122.392a1.75 1.75 0 0 1 1.756 0ZM7.875 1.69l-4.63 2.685L8 7.133l4.755-2.758-4.63-2.685a.248.248 0 0 0-.25 0ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z"/></symbol><symbol id="i-code" viewBox="0 0 16 16"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"/></symbol><symbol id="i-commit" viewBox="0 0 16 16"><path d="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"/></symbol><symbol id="i-pull" viewBox="0 0 16 16"><path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"/></symbol></svg>1520<header class="site-header">16 <a class="site-name" href="/">code.danieldaum.net</a>17 <nav aria-label="site">18 <a href="/">repos</a>19 <a href="https://danieldaum.net">website</a>21 <a class="site-name" href="https://danieldaum.net">Daniel Daum</a>22 <nav aria-label="main navigation">23 <a href="https://danieldaum.net/about/">about</a>24 <a href="https://danieldaum.net/blog/">blog</a>25 <a href="/" aria-current="page">projects</a>26 <a href="https://danieldaum.net/garden/">garden</a>2027 </nav>2128</header>2229<main id="site-main">233031<nav class="breadcrumb" aria-label="breadcrumb">32 <a href="/">projects</a> <span aria-hidden="true">-></span>33 <a href="/repo-a/">repo-a</a>34</nav>2435<header class="repo-head">25 <h1 class="repo-title"><img class="avatar-sm" src="/static/avatar-65da4c2ded.png" alt="" width="24" height="24">26 <a class="repo-owner" href="/">Daniel</a><span class="repo-slash" aria-hidden="true">/</span><a class="repo-name" href="/repo-a/">repo-a</a>36 <h1 class="repo-title">37 <a class="repo-name" href="/repo-a/">repo-a</a>2738 </h1><p class="repo-desc">A small Go service & friends</p>2839 <div class="pills topics"><span class="pill">go</span><span class="pill">web</span><span class="pill">self-hosted</span></div>2940 <ul class="repo-stats" aria-label="repository stats"><li><a class="stat-pill stat-pill--release" href="/repo-a/releases/#v0.2.0" title="latest release"><svg class="icon icon-tag" width="16" height="16" fill="currentColor" aria-hidden="true" focusable="false"><use href="#i-tag"></use></svg>v0.2.0</a></li>@@ -70,9 +81,12 @@7081<footer>7182 <nav aria-label="site links">7283 <p aria-hidden="true">//</p>73 <a href="https://danieldaum.net" rel="me">website</a>74 <a href="https://bsky.app/profile/daum.dev" rel="me">bluesky</a>75 <a href="https://github.com/example" rel="me">github</a>84 <a href="mailto:daniel@danieldaum.net"> email </a>85 <a href="https://tangled.org/danieldaum.net" aria-label="git (opens in new tab)" target="_blank" rel="noopener noreferrer">git</a>86 <a href="https://danieldaum.net/pgp.asc" aria-label="PGP public key (516E97FF)">PGP</a>87 <a href="https://danieldaum.net/changelog/">changelog</a>88 <a href="https://danieldaum.net/privacy/">privacy</a>89 <a href="https://danieldaum.net/feed.xml">feed</a>7690 <button type="button" class="theme-button" hidden>theme</button>7791 </nav>7892</footer>
testdata/golden/repo-a/commit-latest.html
+28 −14
@@ -3,27 +3,38 @@33<head>44<meta charset="utf-8">55<meta name="viewport" content="width=device-width, initial-scale=1">6<title>Add changelog · repo-a</title>6<title>daniel daum - Add changelog · repo-a</title>77<link rel="preload" href="/static/fonts/geistpixel/GeistPixel-Square.woff2" as="font" type="font/woff2" crossorigin>8<link rel="stylesheet" href="/static/style.css?v=4b54dfd8e9">9<script src="/static/theme.js?v=4b54dfd8e9"></script>10<script src="/static/copy.js?v=4b54dfd8e9" defer></script>8<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">9<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">10<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">11<link rel="manifest" href="/static/favicon/site.webmanifest">12<link rel="alternate" type="application/atom+xml" title="daniel daum" href="https://danieldaum.net/feed.xml">13<link rel="stylesheet" href="/static/style.css?v=3ce5aefbd8">14<script src="/static/theme.js?v=3ce5aefbd8"></script>15<script src="/static/copy.js?v=3ce5aefbd8" defer></script>1116</head>12<body class="page--code">17<body>1318<a class="skip-link" href="#site-main">skip to content</a>1419<svg class="sprite" width="0" height="0" aria-hidden="true" focusable="false"><symbol id="i-tag" viewBox="0 0 16 16"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"/></symbol><symbol id="i-history" viewBox="0 0 16 16"><path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"/></symbol><symbol id="i-branch" viewBox="0 0 16 16"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"/></symbol><symbol id="i-check" viewBox="0 0 16 16"><path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"/></symbol><symbol id="i-link" viewBox="0 0 16 16"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"/></symbol><symbol id="i-law" viewBox="0 0 16 16"><path d="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z"/></symbol><symbol id="i-package" viewBox="0 0 16 16"><path d="m8.878.392 5.25 3.045c.54.314.872.89.872 1.514v6.098a1.75 1.75 0 0 1-.872 1.514l-5.25 3.045a1.75 1.75 0 0 1-1.756 0l-5.25-3.045A1.75 1.75 0 0 1 1 11.049V4.951c0-.624.332-1.201.872-1.514L7.122.392a1.75 1.75 0 0 1 1.756 0ZM7.875 1.69l-4.63 2.685L8 7.133l4.755-2.758-4.63-2.685a.248.248 0 0 0-.25 0ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z"/></symbol><symbol id="i-code" viewBox="0 0 16 16"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"/></symbol><symbol id="i-commit" viewBox="0 0 16 16"><path d="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"/></symbol><symbol id="i-pull" viewBox="0 0 16 16"><path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"/></symbol><symbol id="f-changelog" viewBox="0 0 24 24" fill="none"><path d="M0 0h24v24H0z"/><path fill="#8bc34a" d="M13 3a9 9 0 0 0-9 9H1l4 4 4-4H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42A8.95 8.95 0 0 0 13 21a9 9 0 0 0 0-18m-1 5v5l4.25 2.52.77-1.28-3.52-2.09V8z"/></symbol><symbol id="f-go" viewBox="0 0 32 32"><path fill="#00acc1" d="M2 12h4v2H2zm-2 4h6v2H0zm4 4h2v2H4zm16.954-5H14v3h3.239a4.42 4.42 0 0 1-3.531 2 2.65 2.65 0 0 1-2.053-.858 2.86 2.86 0 0 1-.628-2.28A4.515 4.515 0 0 1 15.292 13a2.73 2.73 0 0 1 1.749.584l2.962-1.185A5.6 5.6 0 0 0 15.292 10a7.526 7.526 0 0 0-7.243 6.5 5.614 5.614 0 0 0 5.659 6.5 7.526 7.526 0 0 0 7.243-6.5 6.4 6.4 0 0 0 .003-1.5"/><path fill="#00acc1" d="M26.292 10a7.526 7.526 0 0 0-7.243 6.5 5.614 5.614 0 0 0 5.659 6.5 7.526 7.526 0 0 0 7.243-6.5 5.614 5.614 0 0 0-5.659-6.5m2.681 6.137A4.515 4.515 0 0 1 24.708 20a2.65 2.65 0 0 1-2.053-.858 2.86 2.86 0 0 1-.628-2.28A4.515 4.515 0 0 1 26.292 13a2.65 2.65 0 0 1 2.053.858 2.86 2.86 0 0 1 .628 2.28Z"/></symbol><symbol id="f-file" viewBox="0 0 16 16"><path d="m8.668 6h3.6641l-3.6641-3.668v3.668m-4.668-4.668h5.332l4 4v8c0 0.73828-0.59375 1.3359-1.332 1.3359h-8c-0.73828 0-1.332-0.59766-1.332-1.3359v-10.664c0-0.74219 0.59375-1.3359 1.332-1.3359m3.332 1.3359h-3.332v10.664h8v-6h-4.668z" fill="#90a4ae" /></symbol></svg>1520<header class="site-header">16 <a class="site-name" href="/">code.danieldaum.net</a>17 <nav aria-label="site">18 <a href="/">repos</a>19 <a href="https://danieldaum.net">website</a>21 <a class="site-name" href="https://danieldaum.net">Daniel Daum</a>22 <nav aria-label="main navigation">23 <a href="https://danieldaum.net/about/">about</a>24 <a href="https://danieldaum.net/blog/">blog</a>25 <a href="/" aria-current="page">projects</a>26 <a href="https://danieldaum.net/garden/">garden</a>2027 </nav>2128</header>2229<main id="site-main">233031<nav class="breadcrumb" aria-label="breadcrumb">32 <a href="/">projects</a> <span aria-hidden="true">-></span>33 <a href="/repo-a/">repo-a</a>34</nav>2435<header class="repo-head">25 <h1 class="repo-title"><img class="avatar-sm" src="/static/avatar-65da4c2ded.png" alt="" width="24" height="24">26 <a class="repo-owner" href="/">Daniel</a><span class="repo-slash" aria-hidden="true">/</span><a class="repo-name" href="/repo-a/">repo-a</a>36 <h1 class="repo-title">37 <a class="repo-name" href="/repo-a/">repo-a</a>2738 </h1><p class="repo-desc">A small Go service & friends</p>2839 <div class="pills topics"><span class="pill">go</span><span class="pill">web</span><span class="pill">self-hosted</span></div>2940 <ul class="repo-stats" aria-label="repository stats"><li><a class="stat-pill stat-pill--release" href="/repo-a/releases/#v0.2.0" title="latest release"><svg class="icon icon-tag" width="16" height="16" fill="currentColor" aria-hidden="true" focusable="false"><use href="#i-tag"></use></svg>v0.2.0</a></li>@@ -89,9 +100,12 @@89100<footer>90101 <nav aria-label="site links">91102 <p aria-hidden="true">//</p>92 <a href="https://danieldaum.net" rel="me">website</a>93 <a href="https://bsky.app/profile/daum.dev" rel="me">bluesky</a>94 <a href="https://github.com/example" rel="me">github</a>103 <a href="mailto:daniel@danieldaum.net"> email </a>104 <a href="https://tangled.org/danieldaum.net" aria-label="git (opens in new tab)" target="_blank" rel="noopener noreferrer">git</a>105 <a href="https://danieldaum.net/pgp.asc" aria-label="PGP public key (516E97FF)">PGP</a>106 <a href="https://danieldaum.net/changelog/">changelog</a>107 <a href="https://danieldaum.net/privacy/">privacy</a>108 <a href="https://danieldaum.net/feed.xml">feed</a>95109 <button type="button" class="theme-button" hidden>theme</button>96110 </nav>97111</footer>
testdata/golden/repo-a/index.html
+29 −15
@@ -3,28 +3,39 @@33<head>44<meta charset="utf-8">55<meta name="viewport" content="width=device-width, initial-scale=1">6<title>repo-a</title>6<title>daniel daum - repo-a</title>77<meta name="go-import" content="code.danieldaum.net/repo-a git https://code.danieldaum.net/repo-a.git">88<link rel="preload" href="/static/fonts/geistpixel/GeistPixel-Square.woff2" as="font" type="font/woff2" crossorigin>9<link rel="stylesheet" href="/static/style.css?v=4b54dfd8e9">10<script src="/static/theme.js?v=4b54dfd8e9"></script>11<script src="/static/copy.js?v=4b54dfd8e9" defer></script>9<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">10<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">11<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">12<link rel="manifest" href="/static/favicon/site.webmanifest">13<link rel="alternate" type="application/atom+xml" title="daniel daum" href="https://danieldaum.net/feed.xml">14<link rel="stylesheet" href="/static/style.css?v=3ce5aefbd8">15<script src="/static/theme.js?v=3ce5aefbd8"></script>16<script src="/static/copy.js?v=3ce5aefbd8" defer></script>1217</head>13<body class="page--code">18<body>1419<a class="skip-link" href="#site-main">skip to content</a>1520<svg class="sprite" width="0" height="0" aria-hidden="true" focusable="false"><symbol id="i-tag" viewBox="0 0 16 16"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"/></symbol><symbol id="i-history" viewBox="0 0 16 16"><path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"/></symbol><symbol id="i-branch" viewBox="0 0 16 16"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"/></symbol><symbol id="i-check" viewBox="0 0 16 16"><path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"/></symbol><symbol id="i-link" viewBox="0 0 16 16"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"/></symbol><symbol id="i-law" viewBox="0 0 16 16"><path d="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z"/></symbol><symbol id="i-package" viewBox="0 0 16 16"><path d="m8.878.392 5.25 3.045c.54.314.872.89.872 1.514v6.098a1.75 1.75 0 0 1-.872 1.514l-5.25 3.045a1.75 1.75 0 0 1-1.756 0l-5.25-3.045A1.75 1.75 0 0 1 1 11.049V4.951c0-.624.332-1.201.872-1.514L7.122.392a1.75 1.75 0 0 1 1.756 0ZM7.875 1.69l-4.63 2.685L8 7.133l4.755-2.758-4.63-2.685a.248.248 0 0 0-.25 0ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z"/></symbol><symbol id="i-code" viewBox="0 0 16 16"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"/></symbol><symbol id="i-commit" viewBox="0 0 16 16"><path d="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"/></symbol><symbol id="i-pull" viewBox="0 0 16 16"><path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"/></symbol><symbol id="i-chevron" viewBox="0 0 16 16"><path d="m4.427 7.427 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 7H4.604a.25.25 0 0 0-.177.427Z"/></symbol><symbol id="i-copy" viewBox="0 0 16 16"><path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"/><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"/></symbol><symbol id="f-folder-github" viewBox="0 0 16 16"><path id="xf-folder-github-folder" fill="#546e7a" d="m6.922 3.768-.644-.536A1 1 0 0 0 5.638 3H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H7.562a1 1 0 0 1-.64-.232"/><path id="xf-folder-github-motive" fill="#eceff1" d="M11.5 5A4.516 4.516 0 0 0 7 9.532a4.54 4.54 0 0 0 3.079 4.305c.225.036.296-.105.296-.226v-.766c-1.246.272-1.512-.607-1.512-.607a1.2 1.2 0 0 0-.499-.667c-.41-.28.031-.272.031-.272a.95.95 0 0 1 .689.466.963.963 0 0 0 1.31.377.98.98 0 0 1 .283-.607c-1-.114-2.047-.504-2.047-2.23a1.76 1.76 0 0 1 .463-1.228 1.63 1.63 0 0 1 .045-1.196s.377-.123 1.237.462a4.3 4.3 0 0 1 2.25 0c.86-.585 1.239-.462 1.239-.462a1.63 1.63 0 0 1 .044 1.196 1.76 1.76 0 0 1 .464 1.228c0 1.731-1.053 2.112-2.057 2.225a1.1 1.1 0 0 1 .311.839v1.242c0 .122.072.266.301.226A4.54 4.54 0 0 0 11.501 5"/></symbol><symbol id="f-folder-command" viewBox="0 0 16 16"><path id="xf-folder-command-folder" fill="#03a9f4" d="m6.922 3.768-.644-.536A1 1 0 0 0 5.638 3H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H7.562a1 1 0 0 1-.64-.232"/><path id="xf-folder-command-motive" fill="#b3e5fc" d="M14 14a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1H4v1h12v-1zm0-1h-4v-1h4zM6 8.868l.507-.862L10.019 10v1l-3.512 2L6 12.137l2.779-1.635Z"/></symbol><symbol id="f-folder-docs" viewBox="0 0 16 16"><path id="xf-folder-docs-folder" fill="#0277bd" d="m6.922 3.768-.644-.536A1 1 0 0 0 5.638 3H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H7.562a1 1 0 0 1-.64-.232"/><path id="xf-folder-docs-motive" fill="#b3e5fc" d="M12 5H8.5a.5.5 0 0 0-.5.5v8a.5.5 0 0 0 .5.5h6a.5.5 0 0 0 .5-.5V8Zm0 8H9v-1h3zm2-2H9v-1h5zm-2.414-2.586V6L14 8.414Z"/></symbol><symbol id="f-folder-public" viewBox="0 0 16 16"><path id="xf-folder-public-folder" fill="#039be5" d="m6.922 3.768-.644-.536A1 1 0 0 0 5.638 3H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H7.562a1 1 0 0 1-.64-.232"/><path id="xf-folder-public-motive" fill="#b3e5fc" d="M11 5a5 5 0 1 0 5 5 5 5 0 0 0-5-5m3.459 3H12.98a8 8 0 0 0-.671-1.77A4.02 4.02 0 0 1 14.459 8M11 6a7 7 0 0 1 .945 2h-1.89A7 7 0 0 1 11 6m-1.309.23A8 8 0 0 0 9.02 8H7.541a4.02 4.02 0 0 1 2.15-1.77M7.131 11a3.85 3.85 0 0 1 0-2h1.704a7.8 7.8 0 0 0 0 2zm.41 1H9.02a8 8 0 0 0 .671 1.77A4.02 4.02 0 0 1 7.541 12M11 14a7 7 0 0 1-.945-2h1.89A7 7 0 0 1 11 14m1.155-3h-2.31a6.7 6.7 0 0 1 0-2h2.31a6.7 6.7 0 0 1 0 2m.154 2.77A8 8 0 0 0 12.98 12h1.479a4.02 4.02 0 0 1-2.15 1.77m2.56-2.77h-1.704a7.8 7.8 0 0 0 0-2h1.704a3.85 3.85 0 0 1 0 2"/></symbol><symbol id="f-document" viewBox="0 0 24 24" fill="none"><path d="M0 0h24v24H0z"/><path fill="#42a5f5" d="M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5z"/></symbol><symbol id="f-changelog" viewBox="0 0 24 24" fill="none"><path d="M0 0h24v24H0z"/><path fill="#8bc34a" d="M13 3a9 9 0 0 0-9 9H1l4 4 4-4H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42A8.95 8.95 0 0 0 13 21a9 9 0 0 0 0-18m-1 5v5l4.25 2.52.77-1.28-3.52-2.09V8z"/></symbol><symbol id="f-contributing" viewBox="0 0 24 24"><path fill="#ffca28" d="M17 9H7V7h10m0 6H7v-2h10m-3 6H7v-2h7M12 3a1 1 0 0 1 1 1 1 1 0 0 1-1 1 1 1 0 0 1-1-1 1 1 0 0 1 1-1m7 0h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2"/></symbol><symbol id="f-file" viewBox="0 0 16 16"><path d="m8.668 6h3.6641l-3.6641-3.668v3.668m-4.668-4.668h5.332l4 4v8c0 0.73828-0.59375 1.3359-1.332 1.3359h-8c-0.73828 0-1.332-0.59766-1.332-1.3359v-10.664c0-0.74219 0.59375-1.3359 1.332-1.3359m3.332 1.3359h-3.332v10.664h8v-6h-4.668z" fill="#90a4ae" /></symbol><symbol id="f-docker" viewBox="0 0 24 24"><path fill="#0288d1" d="M21.81 10.25c-.06-.04-.56-.43-1.64-.43-.28 0-.56.03-.84.08-.21-1.4-1.38-2.11-1.43-2.14l-.29-.17-.18.27c-.24.36-.43.77-.51 1.19-.2.8-.08 1.56.33 2.21-.49.28-1.29.35-1.46.35H2.62c-.34 0-.62.28-.62.63 0 1.15.18 2.3.58 3.38.45 1.19 1.13 2.07 2 2.61.98.6 2.59.94 4.42.94.79 0 1.61-.07 2.42-.22 1.12-.2 2.2-.59 3.19-1.16A8.3 8.3 0 0 0 16.78 16c1.05-1.17 1.67-2.5 2.12-3.65h.19c1.14 0 1.85-.46 2.24-.85.26-.24.45-.53.59-.87l.08-.24zm-17.96.99h1.76c.08 0 .16-.07.16-.16V9.5c0-.08-.07-.16-.16-.16H3.85c-.09 0-.16.07-.16.16v1.58c.01.09.07.16.16.16m2.43 0h1.76c.08 0 .16-.07.16-.16V9.5c0-.08-.07-.16-.16-.16H6.28c-.09 0-.16.07-.16.16v1.58c.01.09.07.16.16.16m2.47 0h1.75c.1 0 .17-.07.17-.16V9.5c0-.08-.06-.16-.17-.16H8.75c-.08 0-.15.07-.15.16v1.58c0 .09.06.16.15.16m2.44 0h1.77c.08 0 .15-.07.15-.16V9.5c0-.08-.06-.16-.15-.16h-1.77c-.08 0-.15.07-.15.16v1.58c0 .09.07.16.15.16M6.28 9h1.76c.08 0 .16-.09.16-.18V7.25c0-.09-.07-.16-.16-.16H6.28c-.09 0-.16.06-.16.16v1.57c.01.09.07.18.16.18m2.47 0h1.75c.1 0 .17-.09.17-.18V7.25c0-.09-.06-.16-.17-.16H8.75c-.08 0-.15.06-.15.16v1.57c0 .09.06.18.15.18m2.44 0h1.77c.08 0 .15-.09.15-.18V7.25c0-.09-.07-.16-.15-.16h-1.77c-.08 0-.15.06-.15.16v1.57c0 .09.07.18.15.18m0-2.28h1.77c.08 0 .15-.07.15-.16V5c0-.1-.07-.17-.15-.17h-1.77c-.08 0-.15.06-.15.17v1.56c0 .08.07.16.15.16m2.46 4.52h1.76c.09 0 .16-.07.16-.16V9.5c0-.08-.07-.16-.16-.16h-1.76c-.08 0-.15.07-.15.16v1.58c0 .09.07.16.15.16"/></symbol><symbol id="f-go-mod" viewBox="0 0 32 32"><path fill="#ec407a" d="M2 12h4v2H2zm-2 4h6v2H0zm4 4h2v2H4zm16.954-5H14v3h3.239a4.42 4.42 0 0 1-3.531 2 2.65 2.65 0 0 1-2.053-.858 2.86 2.86 0 0 1-.628-2.28A4.515 4.515 0 0 1 15.292 13a2.73 2.73 0 0 1 1.749.584l2.962-1.185A5.6 5.6 0 0 0 15.292 10a7.526 7.526 0 0 0-7.243 6.5 5.614 5.614 0 0 0 5.659 6.5 7.526 7.526 0 0 0 7.243-6.5 6.4 6.4 0 0 0 .003-1.5"/><path fill="#ec407a" d="M26.292 10a7.526 7.526 0 0 0-7.243 6.5 5.614 5.614 0 0 0 5.659 6.5 7.526 7.526 0 0 0 7.243-6.5 5.614 5.614 0 0 0-5.659-6.5m2.681 6.137A4.515 4.515 0 0 1 24.708 20a2.65 2.65 0 0 1-2.053-.858 2.86 2.86 0 0 1-.628-2.28A4.515 4.515 0 0 1 26.292 13a2.65 2.65 0 0 1 2.053.858 2.86 2.86 0 0 1 .628 2.28Z"/></symbol><symbol id="f-just" viewBox="0 0 16 16" fill="none"><path fill="#ef5350" d="M8 1a7 7 0 0 0-7 7 7 7 0 0 0 7 7 7 7 0 0 0 7-7 7 7 0 0 0-7-7m0 1a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2m0 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2"/></symbol><symbol id="f-license" viewBox="0 0 16 16"><path fill="#ff5722" d="M8 1a5.5 5.5 0 0 0-4 9.26V15l4-1.5 4 1.5v-4.74A5.49 5.49 0 0 0 8 1m0 1.5a4 4 0 1 1 0 8 4 4 0 0 1 0-8m0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4"/></symbol><symbol id="f-readme" viewBox="0 0 16 16" fill="none"><path d="M0 0h24v24H0z"/><path fill="#42a5f5" d="M8 1C4.136 1 1 4.136 1 8s3.136 7 7 7 7-3.136 7-7-3.136-7-7-7m1 11H7V7.5h2zm0-6H7V4h2z"/></symbol><symbol id="f-lock" viewBox="0 0 32 32"><path fill="#ffd54f" d="M25 12h-3V8a6 6 0 0 0-12 0v4H7a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V13a1 1 0 0 0-1-1M14 8a2 2 0 0 1 4 0v4h-4Zm2 17a4 4 0 1 1 4-4 4 4 0 0 1-4 4"/></symbol><symbol id="i-book" viewBox="0 0 16 16"><path d="M0 1.75A.75.75 0 0 1 .75 1h4.253c1.227 0 2.317.59 3 1.501A3.743 3.743 0 0 1 11.006 1h4.245a.75.75 0 0 1 .75.75v10.5a.75.75 0 0 1-.75.75h-4.507a2.25 2.25 0 0 0-1.591.659l-.622.621a.75.75 0 0 1-1.06 0l-.622-.621A2.25 2.25 0 0 0 5.258 13H.75a.75.75 0 0 1-.75-.75Zm7.251 10.324.004-5.073-.002-2.253A2.25 2.25 0 0 0 5.003 2.5H1.5v9h3.757a3.75 3.75 0 0 1 1.994.574ZM8.755 4.75l-.004 7.322a3.752 3.752 0 0 1 1.992-.572H14.5v-9h-3.495a2.25 2.25 0 0 0-2.25 2.25Z"/></symbol><symbol id="i-shield" viewBox="0 0 16 16"><path d="M7.467.133a1.748 1.748 0 0 1 1.066 0l5.25 1.68A1.75 1.75 0 0 1 15 3.48V7c0 1.566-.32 3.182-1.303 4.682-.983 1.498-2.585 2.813-5.032 3.855a1.697 1.697 0 0 1-1.33 0c-2.447-1.042-4.049-2.357-5.032-3.855C1.32 10.182 1 8.566 1 7V3.48a1.75 1.75 0 0 1 1.217-1.667Zm.61 1.429a.25.25 0 0 0-.153 0l-5.25 1.68a.25.25 0 0 0-.174.238V7c0 1.358.275 2.666 1.057 3.86.784 1.194 2.121 2.34 4.366 3.297a.196.196 0 0 0 .154 0c2.245-.956 3.582-2.104 4.366-3.298C13.225 9.666 13.5 8.36 13.5 7V3.48a.251.251 0 0 0-.174-.237l-5.25-1.68ZM8.75 4.75v3a.75.75 0 0 1-1.5 0v-3a.75.75 0 0 1 1.5 0ZM9 10.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"/></symbol><symbol id="i-users" viewBox="0 0 16 16"><path d="M2 5.5a3.5 3.5 0 1 1 5.898 2.549 5.508 5.508 0 0 1 3.034 4.084.75.75 0 1 1-1.482.235 4 4 0 0 0-7.9 0 .75.75 0 0 1-1.482-.236A5.507 5.507 0 0 1 3.102 8.05 3.493 3.493 0 0 1 2 5.5ZM11 4a3.001 3.001 0 0 1 2.22 5.018 5.01 5.01 0 0 1 2.56 3.012.749.749 0 0 1-.885.954.752.752 0 0 1-.549-.514 3.507 3.507 0 0 0-2.522-2.372.75.75 0 0 1-.574-.73v-.352a.75.75 0 0 1 .416-.672A1.5 1.5 0 0 0 11 5.5.75.75 0 0 1 11 4Zm-5.5-.5a2 2 0 1 0-.001 3.999A2 2 0 0 0 5.5 3.5Z"/></symbol><symbol id="i-conduct" viewBox="0 0 16 16"><path d="M8.048 2.241c.964-.709 2.079-1.238 3.325-1.241a4.616 4.616 0 0 1 3.282 1.355c.41.408.757.86.996 1.428.238.568.348 1.206.347 1.968 0 2.193-1.505 4.254-3.081 5.862-1.496 1.526-3.213 2.796-4.249 3.563l-.22.163a.749.749 0 0 1-.895 0l-.221-.163c-1.036-.767-2.753-2.037-4.249-3.563C1.51 10.008.007 7.952.002 5.762a4.614 4.614 0 0 1 1.353-3.407C3.123.585 6.223.537 8.048 2.24Zm-1.153.983c-1.25-1.033-3.321-.967-4.48.191a3.115 3.115 0 0 0-.913 2.335c0 1.556 1.109 3.24 2.652 4.813C5.463 11.898 6.96 13.032 8 13.805c.353-.262.758-.565 1.191-.905l-1.326-1.223a.75.75 0 0 1 1.018-1.102l1.48 1.366c.328-.281.659-.577.984-.887L9.99 9.802a.75.75 0 1 1 1.019-1.103l1.384 1.28c.295-.329.566-.661.81-.995L12.92 8.7l-1.167-1.168c-.674-.671-1.78-.664-2.474.03-.268.269-.538.537-.802.797-.893.882-2.319.843-3.185-.032-.346-.35-.693-.697-1.043-1.047a.75.75 0 0 1-.04-1.016c.162-.191.336-.401.52-.623.62-.748 1.356-1.637 2.166-2.417Zm7.112 4.442c.313-.65.491-1.293.491-1.916v-.001c0-.614-.088-1.045-.23-1.385-.143-.339-.357-.633-.673-.949a3.111 3.111 0 0 0-2.218-.915c-1.092.003-2.165.627-3.226 1.602-.823.755-1.554 1.637-2.228 2.45l-.127.154.562.566a.755.755 0 0 0 1.066.02l.794-.79c1.258-1.258 3.312-1.31 4.594-.032.396.394.792.791 1.173 1.173Z"/></symbol><symbol id="i-heart" viewBox="0 0 16 16"><path d="m8 14.25.345.666a.75.75 0 0 1-.69 0l-.008-.004-.018-.01a7.152 7.152 0 0 1-.31-.17 22.055 22.055 0 0 1-3.434-2.414C2.045 10.731 0 8.35 0 5.5 0 2.836 2.086 1 4.25 1 5.797 1 7.153 1.802 8 3.02 8.847 1.802 10.203 1 11.75 1 13.914 1 16 2.836 16 5.5c0 2.85-2.045 5.231-3.885 6.818a22.066 22.066 0 0 1-3.744 2.584l-.018.01-.006.003h-.002ZM4.25 2.5c-1.336 0-2.75 1.164-2.75 3 0 2.15 1.58 4.144 3.365 5.682A20.58 20.58 0 0 0 8 13.393a20.58 20.58 0 0 0 3.135-2.211C12.92 9.644 14.5 7.65 14.5 5.5c0-1.836-1.414-3-2.75-3-1.373 0-2.609.986-3.029 2.456a.749.749 0 0 1-1.442 0C6.859 3.486 5.623 2.5 4.25 2.5Z"/></symbol></svg>1621<header class="site-header">17 <a class="site-name" href="/">code.danieldaum.net</a>18 <nav aria-label="site">19 <a href="/">repos</a>20 <a href="https://danieldaum.net">website</a>22 <a class="site-name" href="https://danieldaum.net">Daniel Daum</a>23 <nav aria-label="main navigation">24 <a href="https://danieldaum.net/about/">about</a>25 <a href="https://danieldaum.net/blog/">blog</a>26 <a href="/" aria-current="page">projects</a>27 <a href="https://danieldaum.net/garden/">garden</a>2128 </nav>2229</header>2330<main id="site-main">243132<nav class="breadcrumb" aria-label="breadcrumb">33 <a href="/">projects</a> <span aria-hidden="true">-></span>34 <a href="/repo-a/">repo-a</a>35</nav>2536<header class="repo-head">26 <h1 class="repo-title"><img class="avatar-sm" src="/static/avatar-65da4c2ded.png" alt="" width="24" height="24">27 <a class="repo-owner" href="/">Daniel</a><span class="repo-slash" aria-hidden="true">/</span><a class="repo-name" href="/repo-a/">repo-a</a>37 <h1 class="repo-title">38 <a class="repo-name" href="/repo-a/">repo-a</a>2839 </h1><p class="repo-desc">A small Go service & friends</p>2940 <div class="pills topics"><span class="pill">go</span><span class="pill">web</span><span class="pill">self-hosted</span></div>3041 <ul class="repo-stats" aria-label="repository stats"><li><a class="stat-pill stat-pill--release" href="/repo-a/releases/#v0.2.0" title="latest release"><svg class="icon icon-tag" width="16" height="16" fill="currentColor" aria-hidden="true" focusable="false"><use href="#i-tag"></use></svg>v0.2.0</a></li>@@ -189,7 +200,7 @@ and <a href="#usage">the section below</a>.</p>189200<p><img src="/repo-a/raw/docs/logo.png" alt="logo">190201<img src="https://example.com/badge.svg" alt="remote">191202tracker</p>192<!-- raw HTML omitted -->203193204<p><a href="">bad link</a></p>194205<h2 id="usage">Usage</h2>195206<pre><code>go run ./cmd/hello</code></pre>@@ -257,9 +268,12 @@ liberapay: example257268<footer>258269 <nav aria-label="site links">259270 <p aria-hidden="true">//</p>260 <a href="https://danieldaum.net" rel="me">website</a>261 <a href="https://bsky.app/profile/daum.dev" rel="me">bluesky</a>262 <a href="https://github.com/example" rel="me">github</a>271 <a href="mailto:daniel@danieldaum.net"> email </a>272 <a href="https://tangled.org/danieldaum.net" aria-label="git (opens in new tab)" target="_blank" rel="noopener noreferrer">git</a>273 <a href="https://danieldaum.net/pgp.asc" aria-label="PGP public key (516E97FF)">PGP</a>274 <a href="https://danieldaum.net/changelog/">changelog</a>275 <a href="https://danieldaum.net/privacy/">privacy</a>276 <a href="https://danieldaum.net/feed.xml">feed</a>263277 <button type="button" class="theme-button" hidden>theme</button>264278 </nav>265279</footer>
testdata/golden/repo-a/log/index.html
+28 −14
@@ -3,27 +3,38 @@33<head>44<meta charset="utf-8">55<meta name="viewport" content="width=device-width, initial-scale=1">6<title>commits · repo-a</title>6<title>daniel daum - commits · repo-a</title>77<link rel="preload" href="/static/fonts/geistpixel/GeistPixel-Square.woff2" as="font" type="font/woff2" crossorigin>8<link rel="stylesheet" href="/static/style.css?v=4b54dfd8e9">9<script src="/static/theme.js?v=4b54dfd8e9"></script>10<script src="/static/copy.js?v=4b54dfd8e9" defer></script>8<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">9<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">10<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">11<link rel="manifest" href="/static/favicon/site.webmanifest">12<link rel="alternate" type="application/atom+xml" title="daniel daum" href="https://danieldaum.net/feed.xml">13<link rel="stylesheet" href="/static/style.css?v=3ce5aefbd8">14<script src="/static/theme.js?v=3ce5aefbd8"></script>15<script src="/static/copy.js?v=3ce5aefbd8" defer></script>1116</head>12<body class="page--code">17<body>1318<a class="skip-link" href="#site-main">skip to content</a>1419<svg class="sprite" width="0" height="0" aria-hidden="true" focusable="false"><symbol id="i-tag" viewBox="0 0 16 16"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"/></symbol><symbol id="i-history" viewBox="0 0 16 16"><path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"/></symbol><symbol id="i-branch" viewBox="0 0 16 16"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"/></symbol><symbol id="i-check" viewBox="0 0 16 16"><path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"/></symbol><symbol id="i-link" viewBox="0 0 16 16"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"/></symbol><symbol id="i-law" viewBox="0 0 16 16"><path d="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z"/></symbol><symbol id="i-package" viewBox="0 0 16 16"><path d="m8.878.392 5.25 3.045c.54.314.872.89.872 1.514v6.098a1.75 1.75 0 0 1-.872 1.514l-5.25 3.045a1.75 1.75 0 0 1-1.756 0l-5.25-3.045A1.75 1.75 0 0 1 1 11.049V4.951c0-.624.332-1.201.872-1.514L7.122.392a1.75 1.75 0 0 1 1.756 0ZM7.875 1.69l-4.63 2.685L8 7.133l4.755-2.758-4.63-2.685a.248.248 0 0 0-.25 0ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z"/></symbol><symbol id="i-code" viewBox="0 0 16 16"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"/></symbol><symbol id="i-commit" viewBox="0 0 16 16"><path d="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"/></symbol><symbol id="i-pull" viewBox="0 0 16 16"><path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"/></symbol></svg>1520<header class="site-header">16 <a class="site-name" href="/">code.danieldaum.net</a>17 <nav aria-label="site">18 <a href="/">repos</a>19 <a href="https://danieldaum.net">website</a>21 <a class="site-name" href="https://danieldaum.net">Daniel Daum</a>22 <nav aria-label="main navigation">23 <a href="https://danieldaum.net/about/">about</a>24 <a href="https://danieldaum.net/blog/">blog</a>25 <a href="/" aria-current="page">projects</a>26 <a href="https://danieldaum.net/garden/">garden</a>2027 </nav>2128</header>2229<main id="site-main">233031<nav class="breadcrumb" aria-label="breadcrumb">32 <a href="/">projects</a> <span aria-hidden="true">-></span>33 <a href="/repo-a/">repo-a</a>34</nav>2435<header class="repo-head">25 <h1 class="repo-title"><img class="avatar-sm" src="/static/avatar-65da4c2ded.png" alt="" width="24" height="24">26 <a class="repo-owner" href="/">Daniel</a><span class="repo-slash" aria-hidden="true">/</span><a class="repo-name" href="/repo-a/">repo-a</a>36 <h1 class="repo-title">37 <a class="repo-name" href="/repo-a/">repo-a</a>2738 </h1><p class="repo-desc">A small Go service & friends</p>2839 <div class="pills topics"><span class="pill">go</span><span class="pill">web</span><span class="pill">self-hosted</span></div>2940 <ul class="repo-stats" aria-label="repository stats"><li><a class="stat-pill stat-pill--release" href="/repo-a/releases/#v0.2.0" title="latest release"><svg class="icon icon-tag" width="16" height="16" fill="currentColor" aria-hidden="true" focusable="false"><use href="#i-tag"></use></svg>v0.2.0</a></li>@@ -384,9 +395,12 @@384395<footer>385396 <nav aria-label="site links">386397 <p aria-hidden="true">//</p>387 <a href="https://danieldaum.net" rel="me">website</a>388 <a href="https://bsky.app/profile/daum.dev" rel="me">bluesky</a>389 <a href="https://github.com/example" rel="me">github</a>398 <a href="mailto:daniel@danieldaum.net"> email </a>399 <a href="https://tangled.org/danieldaum.net" aria-label="git (opens in new tab)" target="_blank" rel="noopener noreferrer">git</a>400 <a href="https://danieldaum.net/pgp.asc" aria-label="PGP public key (516E97FF)">PGP</a>401 <a href="https://danieldaum.net/changelog/">changelog</a>402 <a href="https://danieldaum.net/privacy/">privacy</a>403 <a href="https://danieldaum.net/feed.xml">feed</a>390404 <button type="button" class="theme-button" hidden>theme</button>391405 </nav>392406</footer>
testdata/golden/repo-a/packages/index.html
+28 −14
@@ -3,27 +3,38 @@33<head>44<meta charset="utf-8">55<meta name="viewport" content="width=device-width, initial-scale=1">6<title>packages · repo-a</title>6<title>daniel daum - packages · repo-a</title>77<link rel="preload" href="/static/fonts/geistpixel/GeistPixel-Square.woff2" as="font" type="font/woff2" crossorigin>8<link rel="stylesheet" href="/static/style.css?v=4b54dfd8e9">9<script src="/static/theme.js?v=4b54dfd8e9"></script>10<script src="/static/copy.js?v=4b54dfd8e9" defer></script>8<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">9<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">10<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">11<link rel="manifest" href="/static/favicon/site.webmanifest">12<link rel="alternate" type="application/atom+xml" title="daniel daum" href="https://danieldaum.net/feed.xml">13<link rel="stylesheet" href="/static/style.css?v=3ce5aefbd8">14<script src="/static/theme.js?v=3ce5aefbd8"></script>15<script src="/static/copy.js?v=3ce5aefbd8" defer></script>1116</head>12<body class="page--code">17<body>1318<a class="skip-link" href="#site-main">skip to content</a>1419<svg class="sprite" width="0" height="0" aria-hidden="true" focusable="false"><symbol id="i-tag" viewBox="0 0 16 16"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"/></symbol><symbol id="i-history" viewBox="0 0 16 16"><path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"/></symbol><symbol id="i-branch" viewBox="0 0 16 16"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"/></symbol><symbol id="i-check" viewBox="0 0 16 16"><path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"/></symbol><symbol id="i-link" viewBox="0 0 16 16"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"/></symbol><symbol id="i-law" viewBox="0 0 16 16"><path d="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z"/></symbol><symbol id="i-package" viewBox="0 0 16 16"><path d="m8.878.392 5.25 3.045c.54.314.872.89.872 1.514v6.098a1.75 1.75 0 0 1-.872 1.514l-5.25 3.045a1.75 1.75 0 0 1-1.756 0l-5.25-3.045A1.75 1.75 0 0 1 1 11.049V4.951c0-.624.332-1.201.872-1.514L7.122.392a1.75 1.75 0 0 1 1.756 0ZM7.875 1.69l-4.63 2.685L8 7.133l4.755-2.758-4.63-2.685a.248.248 0 0 0-.25 0ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z"/></symbol><symbol id="i-code" viewBox="0 0 16 16"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"/></symbol><symbol id="i-commit" viewBox="0 0 16 16"><path d="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"/></symbol><symbol id="i-pull" viewBox="0 0 16 16"><path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"/></symbol><symbol id="i-copy" viewBox="0 0 16 16"><path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"/><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"/></symbol><symbol id="i-chevron" viewBox="0 0 16 16"><path d="m4.427 7.427 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 7H4.604a.25.25 0 0 0-.177.427Z"/></symbol></svg>1520<header class="site-header">16 <a class="site-name" href="/">code.danieldaum.net</a>17 <nav aria-label="site">18 <a href="/">repos</a>19 <a href="https://danieldaum.net">website</a>21 <a class="site-name" href="https://danieldaum.net">Daniel Daum</a>22 <nav aria-label="main navigation">23 <a href="https://danieldaum.net/about/">about</a>24 <a href="https://danieldaum.net/blog/">blog</a>25 <a href="/" aria-current="page">projects</a>26 <a href="https://danieldaum.net/garden/">garden</a>2027 </nav>2128</header>2229<main id="site-main">233031<nav class="breadcrumb" aria-label="breadcrumb">32 <a href="/">projects</a> <span aria-hidden="true">-></span>33 <a href="/repo-a/">repo-a</a>34</nav>2435<header class="repo-head">25 <h1 class="repo-title"><img class="avatar-sm" src="/static/avatar-65da4c2ded.png" alt="" width="24" height="24">26 <a class="repo-owner" href="/">Daniel</a><span class="repo-slash" aria-hidden="true">/</span><a class="repo-name" href="/repo-a/">repo-a</a>36 <h1 class="repo-title">37 <a class="repo-name" href="/repo-a/">repo-a</a>2738 </h1><p class="repo-desc">A small Go service & friends</p>2839 <div class="pills topics"><span class="pill">go</span><span class="pill">web</span><span class="pill">self-hosted</span></div>2940 <ul class="repo-stats" aria-label="repository stats"><li><a class="stat-pill stat-pill--release" href="/repo-a/releases/#v0.2.0" title="latest release"><svg class="icon icon-tag" width="16" height="16" fill="currentColor" aria-hidden="true" focusable="false"><use href="#i-tag"></use></svg>v0.2.0</a></li>@@ -148,9 +159,12 @@148159<footer>149160 <nav aria-label="site links">150161 <p aria-hidden="true">//</p>151 <a href="https://danieldaum.net" rel="me">website</a>152 <a href="https://bsky.app/profile/daum.dev" rel="me">bluesky</a>153 <a href="https://github.com/example" rel="me">github</a>162 <a href="mailto:daniel@danieldaum.net"> email </a>163 <a href="https://tangled.org/danieldaum.net" aria-label="git (opens in new tab)" target="_blank" rel="noopener noreferrer">git</a>164 <a href="https://danieldaum.net/pgp.asc" aria-label="PGP public key (516E97FF)">PGP</a>165 <a href="https://danieldaum.net/changelog/">changelog</a>166 <a href="https://danieldaum.net/privacy/">privacy</a>167 <a href="https://danieldaum.net/feed.xml">feed</a>154168 <button type="button" class="theme-button" hidden>theme</button>155169 </nav>156170</footer>
testdata/golden/repo-a/pulls/index.html
+28 −14
@@ -3,27 +3,38 @@33<head>44<meta charset="utf-8">55<meta name="viewport" content="width=device-width, initial-scale=1">6<title>pulls · repo-a</title>6<title>daniel daum - pulls · repo-a</title>77<link rel="preload" href="/static/fonts/geistpixel/GeistPixel-Square.woff2" as="font" type="font/woff2" crossorigin>8<link rel="stylesheet" href="/static/style.css?v=4b54dfd8e9">9<script src="/static/theme.js?v=4b54dfd8e9"></script>10<script src="/static/copy.js?v=4b54dfd8e9" defer></script>8<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">9<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">10<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">11<link rel="manifest" href="/static/favicon/site.webmanifest">12<link rel="alternate" type="application/atom+xml" title="daniel daum" href="https://danieldaum.net/feed.xml">13<link rel="stylesheet" href="/static/style.css?v=3ce5aefbd8">14<script src="/static/theme.js?v=3ce5aefbd8"></script>15<script src="/static/copy.js?v=3ce5aefbd8" defer></script>1116</head>12<body class="page--code">17<body>1318<a class="skip-link" href="#site-main">skip to content</a>1419<svg class="sprite" width="0" height="0" aria-hidden="true" focusable="false"><symbol id="i-tag" viewBox="0 0 16 16"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"/></symbol><symbol id="i-history" viewBox="0 0 16 16"><path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"/></symbol><symbol id="i-branch" viewBox="0 0 16 16"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"/></symbol><symbol id="i-check" viewBox="0 0 16 16"><path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"/></symbol><symbol id="i-link" viewBox="0 0 16 16"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"/></symbol><symbol id="i-law" viewBox="0 0 16 16"><path d="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z"/></symbol><symbol id="i-package" viewBox="0 0 16 16"><path d="m8.878.392 5.25 3.045c.54.314.872.89.872 1.514v6.098a1.75 1.75 0 0 1-.872 1.514l-5.25 3.045a1.75 1.75 0 0 1-1.756 0l-5.25-3.045A1.75 1.75 0 0 1 1 11.049V4.951c0-.624.332-1.201.872-1.514L7.122.392a1.75 1.75 0 0 1 1.756 0ZM7.875 1.69l-4.63 2.685L8 7.133l4.755-2.758-4.63-2.685a.248.248 0 0 0-.25 0ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z"/></symbol><symbol id="i-code" viewBox="0 0 16 16"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"/></symbol><symbol id="i-commit" viewBox="0 0 16 16"><path d="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"/></symbol><symbol id="i-pull" viewBox="0 0 16 16"><path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"/></symbol></svg>1520<header class="site-header">16 <a class="site-name" href="/">code.danieldaum.net</a>17 <nav aria-label="site">18 <a href="/">repos</a>19 <a href="https://danieldaum.net">website</a>21 <a class="site-name" href="https://danieldaum.net">Daniel Daum</a>22 <nav aria-label="main navigation">23 <a href="https://danieldaum.net/about/">about</a>24 <a href="https://danieldaum.net/blog/">blog</a>25 <a href="/" aria-current="page">projects</a>26 <a href="https://danieldaum.net/garden/">garden</a>2027 </nav>2128</header>2229<main id="site-main">233031<nav class="breadcrumb" aria-label="breadcrumb">32 <a href="/">projects</a> <span aria-hidden="true">-></span>33 <a href="/repo-a/">repo-a</a>34</nav>2435<header class="repo-head">25 <h1 class="repo-title"><img class="avatar-sm" src="/static/avatar-65da4c2ded.png" alt="" width="24" height="24">26 <a class="repo-owner" href="/">Daniel</a><span class="repo-slash" aria-hidden="true">/</span><a class="repo-name" href="/repo-a/">repo-a</a>36 <h1 class="repo-title">37 <a class="repo-name" href="/repo-a/">repo-a</a>2738 </h1><p class="repo-desc">A small Go service & friends</p>2839 <div class="pills topics"><span class="pill">go</span><span class="pill">web</span><span class="pill">self-hosted</span></div>2940 <ul class="repo-stats" aria-label="repository stats"><li><a class="stat-pill stat-pill--release" href="/repo-a/releases/#v0.2.0" title="latest release"><svg class="icon icon-tag" width="16" height="16" fill="currentColor" aria-hidden="true" focusable="false"><use href="#i-tag"></use></svg>v0.2.0</a></li>@@ -126,9 +137,12 @@126137<footer>127138 <nav aria-label="site links">128139 <p aria-hidden="true">//</p>129 <a href="https://danieldaum.net" rel="me">website</a>130 <a href="https://bsky.app/profile/daum.dev" rel="me">bluesky</a>131 <a href="https://github.com/example" rel="me">github</a>140 <a href="mailto:daniel@danieldaum.net"> email </a>141 <a href="https://tangled.org/danieldaum.net" aria-label="git (opens in new tab)" target="_blank" rel="noopener noreferrer">git</a>142 <a href="https://danieldaum.net/pgp.asc" aria-label="PGP public key (516E97FF)">PGP</a>143 <a href="https://danieldaum.net/changelog/">changelog</a>144 <a href="https://danieldaum.net/privacy/">privacy</a>145 <a href="https://danieldaum.net/feed.xml">feed</a>132146 <button type="button" class="theme-button" hidden>theme</button>133147 </nav>134148</footer>
testdata/golden/repo-a/releases/index.html
+28 −15
@@ -3,27 +3,38 @@33<head>44<meta charset="utf-8">55<meta name="viewport" content="width=device-width, initial-scale=1">6<title>releases · repo-a</title>6<title>daniel daum - releases · repo-a</title>77<link rel="preload" href="/static/fonts/geistpixel/GeistPixel-Square.woff2" as="font" type="font/woff2" crossorigin>8<link rel="stylesheet" href="/static/style.css?v=4b54dfd8e9">9<script src="/static/theme.js?v=4b54dfd8e9"></script>10<script src="/static/copy.js?v=4b54dfd8e9" defer></script>8<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">9<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">10<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">11<link rel="manifest" href="/static/favicon/site.webmanifest">12<link rel="alternate" type="application/atom+xml" title="daniel daum" href="https://danieldaum.net/feed.xml">13<link rel="stylesheet" href="/static/style.css?v=3ce5aefbd8">14<script src="/static/theme.js?v=3ce5aefbd8"></script>15<script src="/static/copy.js?v=3ce5aefbd8" defer></script>1116</head>12<body class="page--code">17<body>1318<a class="skip-link" href="#site-main">skip to content</a>1419<svg class="sprite" width="0" height="0" aria-hidden="true" focusable="false"><symbol id="i-tag" viewBox="0 0 16 16"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"/></symbol><symbol id="i-history" viewBox="0 0 16 16"><path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"/></symbol><symbol id="i-branch" viewBox="0 0 16 16"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"/></symbol><symbol id="i-check" viewBox="0 0 16 16"><path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"/></symbol><symbol id="i-link" viewBox="0 0 16 16"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"/></symbol><symbol id="i-law" viewBox="0 0 16 16"><path d="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z"/></symbol><symbol id="i-package" viewBox="0 0 16 16"><path d="m8.878.392 5.25 3.045c.54.314.872.89.872 1.514v6.098a1.75 1.75 0 0 1-.872 1.514l-5.25 3.045a1.75 1.75 0 0 1-1.756 0l-5.25-3.045A1.75 1.75 0 0 1 1 11.049V4.951c0-.624.332-1.201.872-1.514L7.122.392a1.75 1.75 0 0 1 1.756 0ZM7.875 1.69l-4.63 2.685L8 7.133l4.755-2.758-4.63-2.685a.248.248 0 0 0-.25 0ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z"/></symbol><symbol id="i-code" viewBox="0 0 16 16"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"/></symbol><symbol id="i-commit" viewBox="0 0 16 16"><path d="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"/></symbol><symbol id="i-pull" viewBox="0 0 16 16"><path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"/></symbol><symbol id="i-download" viewBox="0 0 16 16"><path d="M2.75 14A1.75 1.75 0 0 1 1 12.25v-2.5a.75.75 0 0 1 1.5 0v2.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-2.5a.75.75 0 0 1 1.5 0v2.5A1.75 1.75 0 0 1 13.25 14Z"/><path d="M7.25 7.689V2a.75.75 0 0 1 1.5 0v5.689l1.97-1.969a.749.749 0 1 1 1.06 1.06l-3.25 3.25a.749.749 0 0 1-1.06 0L4.22 6.78a.749.749 0 1 1 1.06-1.06l1.97 1.969Z"/></symbol></svg>1520<header class="site-header">16 <a class="site-name" href="/">code.danieldaum.net</a>17 <nav aria-label="site">18 <a href="/">repos</a>19 <a href="https://danieldaum.net">website</a>21 <a class="site-name" href="https://danieldaum.net">Daniel Daum</a>22 <nav aria-label="main navigation">23 <a href="https://danieldaum.net/about/">about</a>24 <a href="https://danieldaum.net/blog/">blog</a>25 <a href="/" aria-current="page">projects</a>26 <a href="https://danieldaum.net/garden/">garden</a>2027 </nav>2128</header>2229<main id="site-main">233031<nav class="breadcrumb" aria-label="breadcrumb">32 <a href="/">projects</a> <span aria-hidden="true">-></span>33 <a href="/repo-a/">repo-a</a>34</nav>2435<header class="repo-head">25 <h1 class="repo-title"><img class="avatar-sm" src="/static/avatar-65da4c2ded.png" alt="" width="24" height="24">26 <a class="repo-owner" href="/">Daniel</a><span class="repo-slash" aria-hidden="true">/</span><a class="repo-name" href="/repo-a/">repo-a</a>36 <h1 class="repo-title">37 <a class="repo-name" href="/repo-a/">repo-a</a>2738 </h1><p class="repo-desc">A small Go service & friends</p>2839 <div class="pills topics"><span class="pill">go</span><span class="pill">web</span><span class="pill">self-hosted</span></div>2940 <ul class="repo-stats" aria-label="repository stats"><li><a class="stat-pill stat-pill--release" href="/repo-a/releases/#v0.2.0" title="latest release"><svg class="icon icon-tag" width="16" height="16" fill="currentColor" aria-hidden="true" focusable="false"><use href="#i-tag"></use></svg>v0.2.0</a></li>@@ -64,7 +75,6 @@6475<li>greet the world, not just hello</li>6576<li>smaller image</li>6677</ul>67<!-- raw HTML omitted -->6878</div>6979 </div>7080 <ul class="assets"><li><svg class="icon icon-package" width="16" height="16" fill="currentColor" aria-hidden="true" focusable="false"><use href="#i-package"></use></svg><a href="/repo-a/releases/download/v0.2.0/hello_linux_amd64.tar.gz">hello_linux_amd64.tar.gz</a><svg class="icon icon-download" width="16" height="16" fill="currentColor" aria-hidden="true" focusable="false"><use href="#i-download"></use></svg></li><li><svg class="icon icon-package" width="16" height="16" fill="currentColor" aria-hidden="true" focusable="false"><use href="#i-package"></use></svg><a href="/repo-a/releases/download/v0.2.0/hello_darwin_arm64.tar.gz">hello_darwin_arm64.tar.gz</a><svg class="icon icon-download" width="16" height="16" fill="currentColor" aria-hidden="true" focusable="false"><use href="#i-download"></use></svg></li>@@ -84,9 +94,12 @@8494<footer>8595 <nav aria-label="site links">8696 <p aria-hidden="true">//</p>87 <a href="https://danieldaum.net" rel="me">website</a>88 <a href="https://bsky.app/profile/daum.dev" rel="me">bluesky</a>89 <a href="https://github.com/example" rel="me">github</a>97 <a href="mailto:daniel@danieldaum.net"> email </a>98 <a href="https://tangled.org/danieldaum.net" aria-label="git (opens in new tab)" target="_blank" rel="noopener noreferrer">git</a>99 <a href="https://danieldaum.net/pgp.asc" aria-label="PGP public key (516E97FF)">PGP</a>100 <a href="https://danieldaum.net/changelog/">changelog</a>101 <a href="https://danieldaum.net/privacy/">privacy</a>102 <a href="https://danieldaum.net/feed.xml">feed</a>90103 <button type="button" class="theme-button" hidden>theme</button>91104 </nav>92105</footer>
testdata/golden/repo-a/tags/index.html
+28 −14
@@ -3,27 +3,38 @@33<head>44<meta charset="utf-8">55<meta name="viewport" content="width=device-width, initial-scale=1">6<title>tags · repo-a</title>6<title>daniel daum - tags · repo-a</title>77<link rel="preload" href="/static/fonts/geistpixel/GeistPixel-Square.woff2" as="font" type="font/woff2" crossorigin>8<link rel="stylesheet" href="/static/style.css?v=4b54dfd8e9">9<script src="/static/theme.js?v=4b54dfd8e9"></script>10<script src="/static/copy.js?v=4b54dfd8e9" defer></script>8<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">9<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">10<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">11<link rel="manifest" href="/static/favicon/site.webmanifest">12<link rel="alternate" type="application/atom+xml" title="daniel daum" href="https://danieldaum.net/feed.xml">13<link rel="stylesheet" href="/static/style.css?v=3ce5aefbd8">14<script src="/static/theme.js?v=3ce5aefbd8"></script>15<script src="/static/copy.js?v=3ce5aefbd8" defer></script>1116</head>12<body class="page--code">17<body>1318<a class="skip-link" href="#site-main">skip to content</a>1419<svg class="sprite" width="0" height="0" aria-hidden="true" focusable="false"><symbol id="i-tag" viewBox="0 0 16 16"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"/></symbol><symbol id="i-history" viewBox="0 0 16 16"><path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"/></symbol><symbol id="i-branch" viewBox="0 0 16 16"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"/></symbol><symbol id="i-check" viewBox="0 0 16 16"><path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"/></symbol><symbol id="i-link" viewBox="0 0 16 16"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"/></symbol><symbol id="i-law" viewBox="0 0 16 16"><path d="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z"/></symbol><symbol id="i-package" viewBox="0 0 16 16"><path d="m8.878.392 5.25 3.045c.54.314.872.89.872 1.514v6.098a1.75 1.75 0 0 1-.872 1.514l-5.25 3.045a1.75 1.75 0 0 1-1.756 0l-5.25-3.045A1.75 1.75 0 0 1 1 11.049V4.951c0-.624.332-1.201.872-1.514L7.122.392a1.75 1.75 0 0 1 1.756 0ZM7.875 1.69l-4.63 2.685L8 7.133l4.755-2.758-4.63-2.685a.248.248 0 0 0-.25 0ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z"/></symbol><symbol id="i-code" viewBox="0 0 16 16"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"/></symbol><symbol id="i-commit" viewBox="0 0 16 16"><path d="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"/></symbol><symbol id="i-pull" viewBox="0 0 16 16"><path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"/></symbol></svg>1520<header class="site-header">16 <a class="site-name" href="/">code.danieldaum.net</a>17 <nav aria-label="site">18 <a href="/">repos</a>19 <a href="https://danieldaum.net">website</a>21 <a class="site-name" href="https://danieldaum.net">Daniel Daum</a>22 <nav aria-label="main navigation">23 <a href="https://danieldaum.net/about/">about</a>24 <a href="https://danieldaum.net/blog/">blog</a>25 <a href="/" aria-current="page">projects</a>26 <a href="https://danieldaum.net/garden/">garden</a>2027 </nav>2128</header>2229<main id="site-main">233031<nav class="breadcrumb" aria-label="breadcrumb">32 <a href="/">projects</a> <span aria-hidden="true">-></span>33 <a href="/repo-a/">repo-a</a>34</nav>2435<header class="repo-head">25 <h1 class="repo-title"><img class="avatar-sm" src="/static/avatar-65da4c2ded.png" alt="" width="24" height="24">26 <a class="repo-owner" href="/">Daniel</a><span class="repo-slash" aria-hidden="true">/</span><a class="repo-name" href="/repo-a/">repo-a</a>36 <h1 class="repo-title">37 <a class="repo-name" href="/repo-a/">repo-a</a>2738 </h1><p class="repo-desc">A small Go service & friends</p>2839 <div class="pills topics"><span class="pill">go</span><span class="pill">web</span><span class="pill">self-hosted</span></div>2940 <ul class="repo-stats" aria-label="repository stats"><li><a class="stat-pill stat-pill--release" href="/repo-a/releases/#v0.2.0" title="latest release"><svg class="icon icon-tag" width="16" height="16" fill="currentColor" aria-hidden="true" focusable="false"><use href="#i-tag"></use></svg>v0.2.0</a></li>@@ -70,9 +81,12 @@7081<footer>7182 <nav aria-label="site links">7283 <p aria-hidden="true">//</p>73 <a href="https://danieldaum.net" rel="me">website</a>74 <a href="https://bsky.app/profile/daum.dev" rel="me">bluesky</a>75 <a href="https://github.com/example" rel="me">github</a>84 <a href="mailto:daniel@danieldaum.net"> email </a>85 <a href="https://tangled.org/danieldaum.net" aria-label="git (opens in new tab)" target="_blank" rel="noopener noreferrer">git</a>86 <a href="https://danieldaum.net/pgp.asc" aria-label="PGP public key (516E97FF)">PGP</a>87 <a href="https://danieldaum.net/changelog/">changelog</a>88 <a href="https://danieldaum.net/privacy/">privacy</a>89 <a href="https://danieldaum.net/feed.xml">feed</a>7690 <button type="button" class="theme-button" hidden>theme</button>7791 </nav>7892</footer>
testdata/golden/repo-a/tree/cmd/hello/index.html
+28 −14
@@ -3,27 +3,38 @@33<head>44<meta charset="utf-8">55<meta name="viewport" content="width=device-width, initial-scale=1">6<title>cmd/hello · repo-a</title>6<title>daniel daum - cmd/hello · repo-a</title>77<link rel="preload" href="/static/fonts/geistpixel/GeistPixel-Square.woff2" as="font" type="font/woff2" crossorigin>8<link rel="stylesheet" href="/static/style.css?v=4b54dfd8e9">9<script src="/static/theme.js?v=4b54dfd8e9"></script>10<script src="/static/copy.js?v=4b54dfd8e9" defer></script>8<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">9<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">10<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">11<link rel="manifest" href="/static/favicon/site.webmanifest">12<link rel="alternate" type="application/atom+xml" title="daniel daum" href="https://danieldaum.net/feed.xml">13<link rel="stylesheet" href="/static/style.css?v=3ce5aefbd8">14<script src="/static/theme.js?v=3ce5aefbd8"></script>15<script src="/static/copy.js?v=3ce5aefbd8" defer></script>1116</head>12<body class="page--code">17<body>1318<a class="skip-link" href="#site-main">skip to content</a>1419<svg class="sprite" width="0" height="0" aria-hidden="true" focusable="false"><symbol id="i-tag" viewBox="0 0 16 16"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"/></symbol><symbol id="i-history" viewBox="0 0 16 16"><path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"/></symbol><symbol id="i-branch" viewBox="0 0 16 16"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"/></symbol><symbol id="i-check" viewBox="0 0 16 16"><path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"/></symbol><symbol id="i-link" viewBox="0 0 16 16"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"/></symbol><symbol id="i-law" viewBox="0 0 16 16"><path d="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z"/></symbol><symbol id="i-package" viewBox="0 0 16 16"><path d="m8.878.392 5.25 3.045c.54.314.872.89.872 1.514v6.098a1.75 1.75 0 0 1-.872 1.514l-5.25 3.045a1.75 1.75 0 0 1-1.756 0l-5.25-3.045A1.75 1.75 0 0 1 1 11.049V4.951c0-.624.332-1.201.872-1.514L7.122.392a1.75 1.75 0 0 1 1.756 0ZM7.875 1.69l-4.63 2.685L8 7.133l4.755-2.758-4.63-2.685a.248.248 0 0 0-.25 0ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z"/></symbol><symbol id="i-code" viewBox="0 0 16 16"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"/></symbol><symbol id="i-commit" viewBox="0 0 16 16"><path d="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"/></symbol><symbol id="i-pull" viewBox="0 0 16 16"><path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"/></symbol><symbol id="f-folder-open" viewBox="0 0 16 16"><path d="M14.483 6H4.721a1 1 0 0 0-.949.684L2 12V5h12a1 1 0 0 0-1-1H7.562a1 1 0 0 1-.64-.232l-.644-.536A1 1 0 0 0 5.638 3H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h11l2.403-5.606A1 1 0 0 0 14.483 6" fill="#90a4ae" /></symbol><symbol id="f-go" viewBox="0 0 32 32"><path fill="#00acc1" d="M2 12h4v2H2zm-2 4h6v2H0zm4 4h2v2H4zm16.954-5H14v3h3.239a4.42 4.42 0 0 1-3.531 2 2.65 2.65 0 0 1-2.053-.858 2.86 2.86 0 0 1-.628-2.28A4.515 4.515 0 0 1 15.292 13a2.73 2.73 0 0 1 1.749.584l2.962-1.185A5.6 5.6 0 0 0 15.292 10a7.526 7.526 0 0 0-7.243 6.5 5.614 5.614 0 0 0 5.659 6.5 7.526 7.526 0 0 0 7.243-6.5 6.4 6.4 0 0 0 .003-1.5"/><path fill="#00acc1" d="M26.292 10a7.526 7.526 0 0 0-7.243 6.5 5.614 5.614 0 0 0 5.659 6.5 7.526 7.526 0 0 0 7.243-6.5 5.614 5.614 0 0 0-5.659-6.5m2.681 6.137A4.515 4.515 0 0 1 24.708 20a2.65 2.65 0 0 1-2.053-.858 2.86 2.86 0 0 1-.628-2.28A4.515 4.515 0 0 1 26.292 13a2.65 2.65 0 0 1 2.053.858 2.86 2.86 0 0 1 .628 2.28Z"/></symbol></svg>1520<header class="site-header">16 <a class="site-name" href="/">code.danieldaum.net</a>17 <nav aria-label="site">18 <a href="/">repos</a>19 <a href="https://danieldaum.net">website</a>21 <a class="site-name" href="https://danieldaum.net">Daniel Daum</a>22 <nav aria-label="main navigation">23 <a href="https://danieldaum.net/about/">about</a>24 <a href="https://danieldaum.net/blog/">blog</a>25 <a href="/" aria-current="page">projects</a>26 <a href="https://danieldaum.net/garden/">garden</a>2027 </nav>2128</header>2229<main id="site-main">233031<nav class="breadcrumb" aria-label="breadcrumb">32 <a href="/">projects</a> <span aria-hidden="true">-></span>33 <a href="/repo-a/">repo-a</a>34</nav>2435<header class="repo-head">25 <h1 class="repo-title"><img class="avatar-sm" src="/static/avatar-65da4c2ded.png" alt="" width="24" height="24">26 <a class="repo-owner" href="/">Daniel</a><span class="repo-slash" aria-hidden="true">/</span><a class="repo-name" href="/repo-a/">repo-a</a>36 <h1 class="repo-title">37 <a class="repo-name" href="/repo-a/">repo-a</a>2738 </h1><p class="repo-desc">A small Go service & friends</p>2839 <div class="pills topics"><span class="pill">go</span><span class="pill">web</span><span class="pill">self-hosted</span></div>2940 <ul class="repo-stats" aria-label="repository stats"><li><a class="stat-pill stat-pill--release" href="/repo-a/releases/#v0.2.0" title="latest release"><svg class="icon icon-tag" width="16" height="16" fill="currentColor" aria-hidden="true" focusable="false"><use href="#i-tag"></use></svg>v0.2.0</a></li>@@ -61,9 +72,12 @@6172<footer>6273 <nav aria-label="site links">6374 <p aria-hidden="true">//</p>64 <a href="https://danieldaum.net" rel="me">website</a>65 <a href="https://bsky.app/profile/daum.dev" rel="me">bluesky</a>66 <a href="https://github.com/example" rel="me">github</a>75 <a href="mailto:daniel@danieldaum.net"> email </a>76 <a href="https://tangled.org/danieldaum.net" aria-label="git (opens in new tab)" target="_blank" rel="noopener noreferrer">git</a>77 <a href="https://danieldaum.net/pgp.asc" aria-label="PGP public key (516E97FF)">PGP</a>78 <a href="https://danieldaum.net/changelog/">changelog</a>79 <a href="https://danieldaum.net/privacy/">privacy</a>80 <a href="https://danieldaum.net/feed.xml">feed</a>6781 <button type="button" class="theme-button" hidden>theme</button>6882 </nav>6983</footer>
testdata/golden/repo-a/tree/docs/index.html
+28 −14
@@ -3,27 +3,38 @@33<head>44<meta charset="utf-8">55<meta name="viewport" content="width=device-width, initial-scale=1">6<title>docs · repo-a</title>6<title>daniel daum - docs · repo-a</title>77<link rel="preload" href="/static/fonts/geistpixel/GeistPixel-Square.woff2" as="font" type="font/woff2" crossorigin>8<link rel="stylesheet" href="/static/style.css?v=4b54dfd8e9">9<script src="/static/theme.js?v=4b54dfd8e9"></script>10<script src="/static/copy.js?v=4b54dfd8e9" defer></script>8<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">9<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">10<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">11<link rel="manifest" href="/static/favicon/site.webmanifest">12<link rel="alternate" type="application/atom+xml" title="daniel daum" href="https://danieldaum.net/feed.xml">13<link rel="stylesheet" href="/static/style.css?v=3ce5aefbd8">14<script src="/static/theme.js?v=3ce5aefbd8"></script>15<script src="/static/copy.js?v=3ce5aefbd8" defer></script>1116</head>12<body class="page--code">17<body>1318<a class="skip-link" href="#site-main">skip to content</a>1419<svg class="sprite" width="0" height="0" aria-hidden="true" focusable="false"><symbol id="i-tag" viewBox="0 0 16 16"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"/></symbol><symbol id="i-history" viewBox="0 0 16 16"><path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"/></symbol><symbol id="i-branch" viewBox="0 0 16 16"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"/></symbol><symbol id="i-check" viewBox="0 0 16 16"><path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"/></symbol><symbol id="i-link" viewBox="0 0 16 16"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"/></symbol><symbol id="i-law" viewBox="0 0 16 16"><path d="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z"/></symbol><symbol id="i-package" viewBox="0 0 16 16"><path d="m8.878.392 5.25 3.045c.54.314.872.89.872 1.514v6.098a1.75 1.75 0 0 1-.872 1.514l-5.25 3.045a1.75 1.75 0 0 1-1.756 0l-5.25-3.045A1.75 1.75 0 0 1 1 11.049V4.951c0-.624.332-1.201.872-1.514L7.122.392a1.75 1.75 0 0 1 1.756 0ZM7.875 1.69l-4.63 2.685L8 7.133l4.755-2.758-4.63-2.685a.248.248 0 0 0-.25 0ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z"/></symbol><symbol id="i-code" viewBox="0 0 16 16"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"/></symbol><symbol id="i-commit" viewBox="0 0 16 16"><path d="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"/></symbol><symbol id="i-pull" viewBox="0 0 16 16"><path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"/></symbol><symbol id="f-folder-open" viewBox="0 0 16 16"><path d="M14.483 6H4.721a1 1 0 0 0-.949.684L2 12V5h12a1 1 0 0 0-1-1H7.562a1 1 0 0 1-.64-.232l-.644-.536A1 1 0 0 0 5.638 3H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h11l2.403-5.606A1 1 0 0 0 14.483 6" fill="#90a4ae" /></symbol><symbol id="f-markdown" viewBox="0 0 32 32"><path fill="#42a5f5" d="m14 10-4 3.5L6 10H4v12h4v-6l2 2 2-2v6h4V10zm12 6v-6h-4v6h-4l6 8 6-8z"/></symbol><symbol id="f-image" viewBox="0 0 16 16"><path fill="#26a69a" d="M8.5 6h4l-4-4zM3.875 1H9.5l4 4v8.6c0 .773-.616 1.4-1.375 1.4h-8.25c-.76 0-1.375-.627-1.375-1.4V2.4c0-.777.612-1.4 1.375-1.4M4 13.6h8V8l-2.625 2.8L8 9.4zm1.25-7.7c-.76 0-1.375.627-1.375 1.4s.616 1.4 1.375 1.4c.76 0 1.375-.627 1.375-1.4S6.009 5.9 5.25 5.9"/></symbol></svg>1520<header class="site-header">16 <a class="site-name" href="/">code.danieldaum.net</a>17 <nav aria-label="site">18 <a href="/">repos</a>19 <a href="https://danieldaum.net">website</a>21 <a class="site-name" href="https://danieldaum.net">Daniel Daum</a>22 <nav aria-label="main navigation">23 <a href="https://danieldaum.net/about/">about</a>24 <a href="https://danieldaum.net/blog/">blog</a>25 <a href="/" aria-current="page">projects</a>26 <a href="https://danieldaum.net/garden/">garden</a>2027 </nav>2128</header>2229<main id="site-main">233031<nav class="breadcrumb" aria-label="breadcrumb">32 <a href="/">projects</a> <span aria-hidden="true">-></span>33 <a href="/repo-a/">repo-a</a>34</nav>2435<header class="repo-head">25 <h1 class="repo-title"><img class="avatar-sm" src="/static/avatar-65da4c2ded.png" alt="" width="24" height="24">26 <a class="repo-owner" href="/">Daniel</a><span class="repo-slash" aria-hidden="true">/</span><a class="repo-name" href="/repo-a/">repo-a</a>36 <h1 class="repo-title">37 <a class="repo-name" href="/repo-a/">repo-a</a>2738 </h1><p class="repo-desc">A small Go service & friends</p>2839 <div class="pills topics"><span class="pill">go</span><span class="pill">web</span><span class="pill">self-hosted</span></div>2940 <ul class="repo-stats" aria-label="repository stats"><li><a class="stat-pill stat-pill--release" href="/repo-a/releases/#v0.2.0" title="latest release"><svg class="icon icon-tag" width="16" height="16" fill="currentColor" aria-hidden="true" focusable="false"><use href="#i-tag"></use></svg>v0.2.0</a></li>@@ -73,9 +84,12 @@7384<footer>7485 <nav aria-label="site links">7586 <p aria-hidden="true">//</p>76 <a href="https://danieldaum.net" rel="me">website</a>77 <a href="https://bsky.app/profile/daum.dev" rel="me">bluesky</a>78 <a href="https://github.com/example" rel="me">github</a>87 <a href="mailto:daniel@danieldaum.net"> email </a>88 <a href="https://tangled.org/danieldaum.net" aria-label="git (opens in new tab)" target="_blank" rel="noopener noreferrer">git</a>89 <a href="https://danieldaum.net/pgp.asc" aria-label="PGP public key (516E97FF)">PGP</a>90 <a href="https://danieldaum.net/changelog/">changelog</a>91 <a href="https://danieldaum.net/privacy/">privacy</a>92 <a href="https://danieldaum.net/feed.xml">feed</a>7993 <button type="button" class="theme-button" hidden>theme</button>8094 </nav>8195</footer>
testdata/golden/repo-b/index.html
+28 −14
@@ -3,27 +3,38 @@33<head>44<meta charset="utf-8">55<meta name="viewport" content="width=device-width, initial-scale=1">6<title>repo-b</title>6<title>daniel daum - repo-b</title>77<link rel="preload" href="/static/fonts/geistpixel/GeistPixel-Square.woff2" as="font" type="font/woff2" crossorigin>8<link rel="stylesheet" href="/static/style.css?v=4b54dfd8e9">9<script src="/static/theme.js?v=4b54dfd8e9"></script>10<script src="/static/copy.js?v=4b54dfd8e9" defer></script>8<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">9<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">10<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">11<link rel="manifest" href="/static/favicon/site.webmanifest">12<link rel="alternate" type="application/atom+xml" title="daniel daum" href="https://danieldaum.net/feed.xml">13<link rel="stylesheet" href="/static/style.css?v=3ce5aefbd8">14<script src="/static/theme.js?v=3ce5aefbd8"></script>15<script src="/static/copy.js?v=3ce5aefbd8" defer></script>1116</head>12<body class="page--code">17<body>1318<a class="skip-link" href="#site-main">skip to content</a>1419<svg class="sprite" width="0" height="0" aria-hidden="true" focusable="false"><symbol id="i-code" viewBox="0 0 16 16"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"/></symbol><symbol id="i-commit" viewBox="0 0 16 16"><path d="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"/></symbol><symbol id="i-tag" viewBox="0 0 16 16"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"/></symbol><symbol id="i-pull" viewBox="0 0 16 16"><path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"/></symbol><symbol id="i-package" viewBox="0 0 16 16"><path d="m8.878.392 5.25 3.045c.54.314.872.89.872 1.514v6.098a1.75 1.75 0 0 1-.872 1.514l-5.25 3.045a1.75 1.75 0 0 1-1.756 0l-5.25-3.045A1.75 1.75 0 0 1 1 11.049V4.951c0-.624.332-1.201.872-1.514L7.122.392a1.75 1.75 0 0 1 1.756 0ZM7.875 1.69l-4.63 2.685L8 7.133l4.755-2.758-4.63-2.685a.248.248 0 0 0-.25 0ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z"/></symbol><symbol id="i-book" viewBox="0 0 16 16"><path d="M0 1.75A.75.75 0 0 1 .75 1h4.253c1.227 0 2.317.59 3 1.501A3.743 3.743 0 0 1 11.006 1h4.245a.75.75 0 0 1 .75.75v10.5a.75.75 0 0 1-.75.75h-4.507a2.25 2.25 0 0 0-1.591.659l-.622.621a.75.75 0 0 1-1.06 0l-.622-.621A2.25 2.25 0 0 0 5.258 13H.75a.75.75 0 0 1-.75-.75Zm7.251 10.324.004-5.073-.002-2.253A2.25 2.25 0 0 0 5.003 2.5H1.5v9h3.757a3.75 3.75 0 0 1 1.994.574ZM8.755 4.75l-.004 7.322a3.752 3.752 0 0 1 1.992-.572H14.5v-9h-3.495a2.25 2.25 0 0 0-2.25 2.25Z"/></symbol><symbol id="i-copy" viewBox="0 0 16 16"><path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"/><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"/></symbol><symbol id="i-check" viewBox="0 0 16 16"><path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"/></symbol></svg>1520<header class="site-header">16 <a class="site-name" href="/">code.danieldaum.net</a>17 <nav aria-label="site">18 <a href="/">repos</a>19 <a href="https://danieldaum.net">website</a>21 <a class="site-name" href="https://danieldaum.net">Daniel Daum</a>22 <nav aria-label="main navigation">23 <a href="https://danieldaum.net/about/">about</a>24 <a href="https://danieldaum.net/blog/">blog</a>25 <a href="/" aria-current="page">projects</a>26 <a href="https://danieldaum.net/garden/">garden</a>2027 </nav>2128</header>2229<main id="site-main">233031<nav class="breadcrumb" aria-label="breadcrumb">32 <a href="/">projects</a> <span aria-hidden="true">-></span>33 <a href="/repo-b/">repo-b</a>34</nav>2435<header class="repo-head">25 <h1 class="repo-title"><img class="avatar-sm" src="/static/avatar-65da4c2ded.png" alt="" width="24" height="24">26 <a class="repo-owner" href="/">Daniel</a><span class="repo-slash" aria-hidden="true">/</span><a class="repo-name" href="/repo-b/">repo-b</a>36 <h1 class="repo-title">37 <a class="repo-name" href="/repo-b/">repo-b</a>2738 </h1>2839</header>2940<nav class="tabs" aria-label="repository">@@ -47,9 +58,12 @@4758<footer>4859 <nav aria-label="site links">4960 <p aria-hidden="true">//</p>50 <a href="https://danieldaum.net" rel="me">website</a>51 <a href="https://bsky.app/profile/daum.dev" rel="me">bluesky</a>52 <a href="https://github.com/example" rel="me">github</a>61 <a href="mailto:daniel@danieldaum.net"> email </a>62 <a href="https://tangled.org/danieldaum.net" aria-label="git (opens in new tab)" target="_blank" rel="noopener noreferrer">git</a>63 <a href="https://danieldaum.net/pgp.asc" aria-label="PGP public key (516E97FF)">PGP</a>64 <a href="https://danieldaum.net/changelog/">changelog</a>65 <a href="https://danieldaum.net/privacy/">privacy</a>66 <a href="https://danieldaum.net/feed.xml">feed</a>5367 <button type="button" class="theme-button" hidden>theme</button>5468 </nav>5569</footer>
testdata/golden/repo-b/log/index.html
+28 −14
@@ -3,27 +3,38 @@33<head>44<meta charset="utf-8">55<meta name="viewport" content="width=device-width, initial-scale=1">6<title>commits · repo-b</title>6<title>daniel daum - commits · repo-b</title>77<link rel="preload" href="/static/fonts/geistpixel/GeistPixel-Square.woff2" as="font" type="font/woff2" crossorigin>8<link rel="stylesheet" href="/static/style.css?v=4b54dfd8e9">9<script src="/static/theme.js?v=4b54dfd8e9"></script>10<script src="/static/copy.js?v=4b54dfd8e9" defer></script>8<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">9<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">10<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">11<link rel="manifest" href="/static/favicon/site.webmanifest">12<link rel="alternate" type="application/atom+xml" title="daniel daum" href="https://danieldaum.net/feed.xml">13<link rel="stylesheet" href="/static/style.css?v=3ce5aefbd8">14<script src="/static/theme.js?v=3ce5aefbd8"></script>15<script src="/static/copy.js?v=3ce5aefbd8" defer></script>1116</head>12<body class="page--code">17<body>1318<a class="skip-link" href="#site-main">skip to content</a>1419<svg class="sprite" width="0" height="0" aria-hidden="true" focusable="false"><symbol id="i-code" viewBox="0 0 16 16"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"/></symbol><symbol id="i-commit" viewBox="0 0 16 16"><path d="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"/></symbol><symbol id="i-tag" viewBox="0 0 16 16"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"/></symbol><symbol id="i-pull" viewBox="0 0 16 16"><path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"/></symbol><symbol id="i-package" viewBox="0 0 16 16"><path d="m8.878.392 5.25 3.045c.54.314.872.89.872 1.514v6.098a1.75 1.75 0 0 1-.872 1.514l-5.25 3.045a1.75 1.75 0 0 1-1.756 0l-5.25-3.045A1.75 1.75 0 0 1 1 11.049V4.951c0-.624.332-1.201.872-1.514L7.122.392a1.75 1.75 0 0 1 1.756 0ZM7.875 1.69l-4.63 2.685L8 7.133l4.755-2.758-4.63-2.685a.248.248 0 0 0-.25 0ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z"/></symbol></svg>1520<header class="site-header">16 <a class="site-name" href="/">code.danieldaum.net</a>17 <nav aria-label="site">18 <a href="/">repos</a>19 <a href="https://danieldaum.net">website</a>21 <a class="site-name" href="https://danieldaum.net">Daniel Daum</a>22 <nav aria-label="main navigation">23 <a href="https://danieldaum.net/about/">about</a>24 <a href="https://danieldaum.net/blog/">blog</a>25 <a href="/" aria-current="page">projects</a>26 <a href="https://danieldaum.net/garden/">garden</a>2027 </nav>2128</header>2229<main id="site-main">233031<nav class="breadcrumb" aria-label="breadcrumb">32 <a href="/">projects</a> <span aria-hidden="true">-></span>33 <a href="/repo-b/">repo-b</a>34</nav>2435<header class="repo-head">25 <h1 class="repo-title"><img class="avatar-sm" src="/static/avatar-65da4c2ded.png" alt="" width="24" height="24">26 <a class="repo-owner" href="/">Daniel</a><span class="repo-slash" aria-hidden="true">/</span><a class="repo-name" href="/repo-b/">repo-b</a>36 <h1 class="repo-title">37 <a class="repo-name" href="/repo-b/">repo-b</a>2738 </h1>2839</header>2940<nav class="tabs" aria-label="repository">@@ -41,9 +52,12 @@4152<footer>4253 <nav aria-label="site links">4354 <p aria-hidden="true">//</p>44 <a href="https://danieldaum.net" rel="me">website</a>45 <a href="https://bsky.app/profile/daum.dev" rel="me">bluesky</a>46 <a href="https://github.com/example" rel="me">github</a>55 <a href="mailto:daniel@danieldaum.net"> email </a>56 <a href="https://tangled.org/danieldaum.net" aria-label="git (opens in new tab)" target="_blank" rel="noopener noreferrer">git</a>57 <a href="https://danieldaum.net/pgp.asc" aria-label="PGP public key (516E97FF)">PGP</a>58 <a href="https://danieldaum.net/changelog/">changelog</a>59 <a href="https://danieldaum.net/privacy/">privacy</a>60 <a href="https://danieldaum.net/feed.xml">feed</a>4761 <button type="button" class="theme-button" hidden>theme</button>4862 </nav>4963</footer>
testdata/golden/repo-b/releases/index.html
+28 −14
@@ -3,27 +3,38 @@33<head>44<meta charset="utf-8">55<meta name="viewport" content="width=device-width, initial-scale=1">6<title>releases · repo-b</title>6<title>daniel daum - releases · repo-b</title>77<link rel="preload" href="/static/fonts/geistpixel/GeistPixel-Square.woff2" as="font" type="font/woff2" crossorigin>8<link rel="stylesheet" href="/static/style.css?v=4b54dfd8e9">9<script src="/static/theme.js?v=4b54dfd8e9"></script>10<script src="/static/copy.js?v=4b54dfd8e9" defer></script>8<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">9<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">10<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">11<link rel="manifest" href="/static/favicon/site.webmanifest">12<link rel="alternate" type="application/atom+xml" title="daniel daum" href="https://danieldaum.net/feed.xml">13<link rel="stylesheet" href="/static/style.css?v=3ce5aefbd8">14<script src="/static/theme.js?v=3ce5aefbd8"></script>15<script src="/static/copy.js?v=3ce5aefbd8" defer></script>1116</head>12<body class="page--code">17<body>1318<a class="skip-link" href="#site-main">skip to content</a>1419<svg class="sprite" width="0" height="0" aria-hidden="true" focusable="false"><symbol id="i-code" viewBox="0 0 16 16"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"/></symbol><symbol id="i-commit" viewBox="0 0 16 16"><path d="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"/></symbol><symbol id="i-tag" viewBox="0 0 16 16"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"/></symbol><symbol id="i-pull" viewBox="0 0 16 16"><path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"/></symbol><symbol id="i-package" viewBox="0 0 16 16"><path d="m8.878.392 5.25 3.045c.54.314.872.89.872 1.514v6.098a1.75 1.75 0 0 1-.872 1.514l-5.25 3.045a1.75 1.75 0 0 1-1.756 0l-5.25-3.045A1.75 1.75 0 0 1 1 11.049V4.951c0-.624.332-1.201.872-1.514L7.122.392a1.75 1.75 0 0 1 1.756 0ZM7.875 1.69l-4.63 2.685L8 7.133l4.755-2.758-4.63-2.685a.248.248 0 0 0-.25 0ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z"/></symbol></svg>1520<header class="site-header">16 <a class="site-name" href="/">code.danieldaum.net</a>17 <nav aria-label="site">18 <a href="/">repos</a>19 <a href="https://danieldaum.net">website</a>21 <a class="site-name" href="https://danieldaum.net">Daniel Daum</a>22 <nav aria-label="main navigation">23 <a href="https://danieldaum.net/about/">about</a>24 <a href="https://danieldaum.net/blog/">blog</a>25 <a href="/" aria-current="page">projects</a>26 <a href="https://danieldaum.net/garden/">garden</a>2027 </nav>2128</header>2229<main id="site-main">233031<nav class="breadcrumb" aria-label="breadcrumb">32 <a href="/">projects</a> <span aria-hidden="true">-></span>33 <a href="/repo-b/">repo-b</a>34</nav>2435<header class="repo-head">25 <h1 class="repo-title"><img class="avatar-sm" src="/static/avatar-65da4c2ded.png" alt="" width="24" height="24">26 <a class="repo-owner" href="/">Daniel</a><span class="repo-slash" aria-hidden="true">/</span><a class="repo-name" href="/repo-b/">repo-b</a>36 <h1 class="repo-title">37 <a class="repo-name" href="/repo-b/">repo-b</a>2738 </h1>2839</header>2940<nav class="tabs" aria-label="repository">@@ -41,9 +52,12 @@4152<footer>4253 <nav aria-label="site links">4354 <p aria-hidden="true">//</p>44 <a href="https://danieldaum.net" rel="me">website</a>45 <a href="https://bsky.app/profile/daum.dev" rel="me">bluesky</a>46 <a href="https://github.com/example" rel="me">github</a>55 <a href="mailto:daniel@danieldaum.net"> email </a>56 <a href="https://tangled.org/danieldaum.net" aria-label="git (opens in new tab)" target="_blank" rel="noopener noreferrer">git</a>57 <a href="https://danieldaum.net/pgp.asc" aria-label="PGP public key (516E97FF)">PGP</a>58 <a href="https://danieldaum.net/changelog/">changelog</a>59 <a href="https://danieldaum.net/privacy/">privacy</a>60 <a href="https://danieldaum.net/feed.xml">feed</a>4761 <button type="button" class="theme-button" hidden>theme</button>4862 </nav>4963</footer>
testdata/golden/repos/index.html
+29 −12
@@ -3,24 +3,38 @@33<head>44<meta charset="utf-8">55<meta name="viewport" content="width=device-width, initial-scale=1">6<title>Repositories · Daniel Daum</title>6<title>daniel daum - repositories</title>77<link rel="preload" href="/static/fonts/geistpixel/GeistPixel-Square.woff2" as="font" type="font/woff2" crossorigin>8<link rel="stylesheet" href="/static/style.css?v=4b54dfd8e9">9<script src="/static/theme.js?v=4b54dfd8e9"></script>10<script src="/static/copy.js?v=4b54dfd8e9" defer></script>8<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">9<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">10<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">11<link rel="manifest" href="/static/favicon/site.webmanifest">12<link rel="alternate" type="application/atom+xml" title="daniel daum" href="https://danieldaum.net/feed.xml">13<link rel="stylesheet" href="/static/style.css?v=3ce5aefbd8">14<script src="/static/theme.js?v=3ce5aefbd8"></script>15<script src="/static/copy.js?v=3ce5aefbd8" defer></script>1116</head>1217<body>1318<a class="skip-link" href="#site-main">skip to content</a>1419<svg class="sprite" width="0" height="0" aria-hidden="true" focusable="false"><symbol id="i-book" viewBox="0 0 16 16"><path d="M0 1.75A.75.75 0 0 1 .75 1h4.253c1.227 0 2.317.59 3 1.501A3.743 3.743 0 0 1 11.006 1h4.245a.75.75 0 0 1 .75.75v10.5a.75.75 0 0 1-.75.75h-4.507a2.25 2.25 0 0 0-1.591.659l-.622.621a.75.75 0 0 1-1.06 0l-.622-.621A2.25 2.25 0 0 0 5.258 13H.75a.75.75 0 0 1-.75-.75Zm7.251 10.324.004-5.073-.002-2.253A2.25 2.25 0 0 0 5.003 2.5H1.5v9h3.757a3.75 3.75 0 0 1 1.994.574ZM8.755 4.75l-.004 7.322a3.752 3.752 0 0 1 1.992-.572H14.5v-9h-3.495a2.25 2.25 0 0 0-2.25 2.25Z"/></symbol></svg>1520<header class="site-header">16 <a class="site-name" href="/">code.danieldaum.net</a>17 <nav aria-label="site">18 <a href="/">repos</a>19 <a href="https://danieldaum.net">website</a>21 <a class="site-name" href="https://danieldaum.net">Daniel Daum</a>22 <nav aria-label="main navigation">23 <a href="https://danieldaum.net/about/">about</a>24 <a href="https://danieldaum.net/blog/">blog</a>25 <a href="/" aria-current="page">projects</a>26 <a href="https://danieldaum.net/garden/">garden</a>2027 </nav>2128</header>2229<main id="site-main">23<h1 class="page-title">Repositories <span class="page-count">2</span></h1>30<nav class="breadcrumb" aria-label="breadcrumb">31 <a href="/">projects</a> <span aria-hidden="true">-></span>32 <a href="/repos/" aria-current="page">repositories</a>33</nav>34<header class="page-header">35 <h1><span aria-hidden="true">/</span>repositories</h1>36 <p class="meta">All 2 public repositories, most recently updated first</p>37</header>2438<div class="repo-grid">2539 <a class="repo-card repo-card--active" href="/repo-a/">2640 <span class="repo-card-name"><svg class="icon icon-book" width="16" height="16" fill="currentColor" aria-hidden="true" focusable="false"><use href="#i-book"></use></svg><span class="repo-card-title">repo-a</span><span class="pill-active" title="commits in the last 7 days">2 commits this week</span><span class="badge badge--release">v0.2.0</span></span>@@ -47,9 +61,12 @@4761<footer>4862 <nav aria-label="site links">4963 <p aria-hidden="true">//</p>50 <a href="https://danieldaum.net" rel="me">website</a>51 <a href="https://bsky.app/profile/daum.dev" rel="me">bluesky</a>52 <a href="https://github.com/example" rel="me">github</a>64 <a href="mailto:daniel@danieldaum.net"> email </a>65 <a href="https://tangled.org/danieldaum.net" aria-label="git (opens in new tab)" target="_blank" rel="noopener noreferrer">git</a>66 <a href="https://danieldaum.net/pgp.asc" aria-label="PGP public key (516E97FF)">PGP</a>67 <a href="https://danieldaum.net/changelog/">changelog</a>68 <a href="https://danieldaum.net/privacy/">privacy</a>69 <a href="https://danieldaum.net/feed.xml">feed</a>5370 <button type="button" class="theme-button" hidden>theme</button>5471 </nav>5572</footer>
web/static/favicon/android-chrome-192x192.pngadded
+0 −0
Binary file, not shown.
web/static/favicon/android-chrome-512x512.pngadded
+0 −0
Binary file, not shown.
web/static/favicon/apple-touch-icon.pngadded
+0 −0
Binary file, not shown.
web/static/favicon/favicon-16x16.pngadded
+0 −0
Binary file, not shown.
web/static/favicon/favicon-32x32.pngadded
+0 −0
Binary file, not shown.
web/static/favicon/site.webmanifestadded
+23 −0
@@ -0,0 +1,23 @@1{2 "name": "Daniel Daum",3 "short_name": "Daniel Daum",4 "description": "Software engineer based in Oakland",5 "icons": [6 {7 "src": "/static/favicon/android-chrome-192x192.png",8 "sizes": "192x192",9 "type": "image/png"10 },11 {12 "src": "/static/favicon/android-chrome-512x512.png",13 "sizes": "512x512",14 "type": "image/png"15 }16 ],17 "theme_color": "#1a1e0c",18 "background_color": "#1a1e0c",19 "display": "standalone",20 "start_url": "/",21 "scope": "/",22 "orientation": "portrait-primary"23}
web/static/style.css
+23 −116
@@ -562,15 +562,17 @@ footer nav p {562562 color: var(--accent-muted);563563}564564565/* the footer links point at danieldaum.net, so the selectors match the566 path, not the full url, as in saturn */565567@media (max-width: 600px) {566568 footer nav p,567 footer nav a[href="/pgp.asc"] {569 footer nav a[href$="/pgp.asc"] {568570 display: none;569571 }570572}571573572574@media (max-width: 480px) {573 footer nav a[href="/changelog/"] {575 footer nav a[href$="/changelog/"] {574576 display: none;575577 }576578}@@ -1425,17 +1427,18 @@ footer nav a,14251427 --add: var(--syn-string);14261428 --del: var(--syn-variable);142714291428 /* layers, darkest first. Same steps as the Paint themes for Gitea1429 (body, box, box header, hover, border): saturn's background tinted1430 into a neutral grey ladder, so each palette keeps its hue at low1431 chroma. web/contrast_test.go checks the text on them. */1432 --page: color-mix(in oklab, var(--background-dark) 55%, #141414);1433 --box: color-mix(in oklab, var(--background-dark) 55%, #1c1c1c);1434 --box-head: color-mix(in oklab, var(--background-dark) 55%, #282828);1435 --hover: color-mix(in oklab, var(--background-dark) 55%, #343434);1436 --rule: color-mix(in oklab, var(--background-dark) 55%, #4e4e4e);1437 --edge: color-mix(in oklab, var(--background-dark) 55%, #6d6d6d);1438 --line: color-mix(in oklab, var(--background-dark) 55%, #808080);1430 /* layers, darkest first. The page is saturn's own background, so1431 moving between danieldaum.net and here doesn't change it. Each layer1432 above it lifts the lightness by about the steps of the Paint themes1433 for Gitea (box, box header, hover, border) and keeps the palette's1434 hue. web/contrast_test.go checks the text on them. */1435 --page: var(--background-dark);1436 --box: color-mix(in oklab, var(--background-dark) 98%, white);1437 --box-head: color-mix(in oklab, var(--background-dark) 95%, white);1438 --hover: color-mix(in oklab, var(--background-dark) 92%, white);1439 --rule: color-mix(in oklab, var(--background-dark) 86%, white);1440 --edge: color-mix(in oklab, var(--background-dark) 80%, white);1441 --line: color-mix(in oklab, var(--background-dark) 76%, white);1439144214401443 /* text: content near the heading colour, --text-secondary for metadata */14411444 --body-text: color-mix(in oklab, var(--text-body) 45%, var(--text-headings));@@ -1452,12 +1455,14 @@ footer nav a,14521455 --depth: var(--highlight), 0 1px 1px rgb(0 0 0 / 0.25);14531456}145414571455body {1458/* body keeps saturn's size, colour and background, so the header, the1459 footer and the 78ch page width match danieldaum.net exactly. The code1460 browser's own type starts at main. */1461main {14561462 font-family: var(--ui);14571463 font-size: 15px;14581464 line-height: 1.55;14591465 color: var(--body-text);1460 background-color: var(--page);14611466}1462146714631468p {@@ -1489,23 +1494,14 @@ input:focus-visible {14891494 outline-offset: 2px;14901495}149114961492/* rem, not saturn's 78ch: ch follows the font, and Geist Pixel is wide */1493body {1494 max-width: 50rem;1495}14961497body.page--code {1498 max-width: 60rem;1499}150015011497h1, h2, h3,15021498.site-name {15031499 font-family: var(--pixel);15041500 font-weight: normal;15051501}150615021507/* saturn capitalises nav and labels; a code browser reads better without */1508.breadcrumb,1503/* saturn capitalises nav and labels; a code browser reads better without.1504 The chrome and the page breadcrumb keep saturn's capitals. */15091505.pill,15101506.card-title {15111507 text-transform: none;@@ -1560,8 +1556,7 @@ h1, h2, h3,1560155615611557/* avatars are images; saturn styles every img as a full-width bordered photo */15621558img.avatar-xs,1563img.avatar-sm,1564img.avatar-lg {1559img.avatar-sm {15651560 display: inline-block;15661561 flex: none;15671562 border: 0;@@ -1577,15 +1572,6 @@ img.avatar-lg {15771572.avatar-xs { width: 20px; height: 20px; }15781573.avatar-sm { width: 24px; height: 24px; }157915741580/* the profile picture: a rounded square, as on Gitea */1581.avatar-lg {1582 width: 160px;1583 height: 160px;1584 border-radius: var(--radius) !important;1585 object-fit: cover;1586 box-shadow: 0 0 0 1px var(--edge);1587}158815891575.avatar-none {15901576 display: inline-grid;15911577 place-items: center;@@ -2029,48 +2015,6 @@ a.row-title:hover,20292015 }20302016}203120172032/* site header */2033.site-header {2034 padding-inline: 0;2035}20362037.site-header nav a {2038 font-size: 0.85rem;2039}20402041/* profile */2042.profile {2043 display: flex;2044 gap: 1.5rem;2045 align-items: center;2046 margin-bottom: 2rem;2047}20482049.profile h1 {2050 margin: 0;2051 color: var(--accent-bright);2052 font-size: 1.9rem;2053}20542055.profile-handle {2056 margin: 0.2rem 0 0;2057 color: var(--text-secondary);2058 font-size: 0.95rem;2059}20602061.profile-bio {2062 margin: 0.6rem 0 0;2063 font-size: 1rem;2064}20652066@media (max-width: 480px) {2067 .profile {2068 flex-direction: column;2069 align-items: flex-start;2070 gap: 1rem;2071 }2072}207320742018/* heatmap: fits its box at any width; colours follow the palette */20752019.heat-body {20762020 padding: 1rem 1rem 0.75rem;@@ -2254,19 +2198,6 @@ a.row-title:hover,22542198 color: var(--accent-bright);22552199}225622002257.page-title {2258 display: flex;2259 align-items: baseline;2260 gap: 0.6rem;2261 margin: 0 0 1.25rem;2262}22632264.page-count {2265 color: var(--text-secondary);2266 font-family: var(--ui);2267 font-size: 1rem;2268}226922702201/* recently active: a small accent pill on the card, and an accent edge */22712202.repo-card--active {22722203 border-color: var(--accent-edge);@@ -2318,17 +2249,6 @@ a.row-title:hover,23182249 padding: 0.2rem 0;23192250}232022512321/* the thread line through the avatars */2322.tl-item:not(:last-child)::before {2323 content: "";2324 position: absolute;2325 top: 1.75rem;2326 bottom: -0.2rem;2327 left: calc(3rem + 0.7rem + 0.625rem);2328 width: 1px;2329 background: var(--rule);2330}233123322252.tl-time {23332253 grid-area: time;23342254 padding-top: 0.1rem;@@ -2491,11 +2411,6 @@ a.tl-sha:hover {24912411 gap: 0 0.6rem;24922412 }249324132494 .tl-item:not(:last-child)::before {2495 left: 0.625rem;2496 top: 1.6rem;2497 }249824992414 .tl-time {25002415 padding: 0;25012416 font-size: 0.68rem;@@ -2633,14 +2548,6 @@ a.tl-sha:hover {26332548 color: var(--accent-bright);26342549}263525502636.repo-title .repo-owner {2637 color: var(--text-secondary);2638}26392640.repo-slash {2641 color: var(--rule);2642}264326442551.repo-title .pill {26452552 font-family: var(--ui);26462553 font-size: 0.72rem;
web/templates/_repo.html
+5 −2
@@ -1,9 +1,12 @@11{{define "repohead" -}}22{{- $r := .Repo}}{{$base := printf "/%s" $r.Name}}3<nav class="breadcrumb" aria-label="breadcrumb">4 <a href="/">projects</a> <span aria-hidden="true">-></span>5 <a href="{{$base}}/">{{$r.Name}}</a>6</nav>37<header class="repo-head">48 <h1 class="repo-title">5 {{- with $r.Avatar}}<img class="avatar-sm" src="{{.}}" alt="" width="24" height="24">{{end}}6 <a class="repo-owner" href="/">{{$r.Owner}}</a><span class="repo-slash" aria-hidden="true">/</span><a class="repo-name" href="{{$base}}/">{{$r.Name}}</a>9 <a class="repo-name" href="{{$base}}/">{{$r.Name}}</a>710 {{- if $r.Archived}}<span class="pill">archived</span>{{end}}811 </h1>912 {{- with $r.Description}}<p class="repo-desc">{{.}}</p>{{end}}
web/templates/base.html
+32 −11
@@ -4,25 +4,43 @@44<head>55<meta charset="utf-8">66<meta name="viewport" content="width=device-width, initial-scale=1">7<title>{{.Title}}</title>7<title>daniel daum - {{.Title}}</title>8{{- with .Meta}}9<meta name="description" content="{{.}}">10<meta property="og:type" content="website">11<meta property="og:site_name" content="daniel daum">12<meta property="og:title" content="daniel daum - {{$.Title}}">13<meta property="og:description" content="{{.}}">14<meta property="og:image" content="https://assets.danieldaum.net/img/misc/og.jpg">15<meta property="og:image:type" content="image/jpeg">16<meta property="og:image:width" content="1200">17<meta property="og:image:height" content="630">18<meta property="og:image:alt" content="daniel daum - software engineer, avid reader, aspiring game dev - danieldaum.net">19<meta name="twitter:card" content="summary_large_image">20{{- end}}821{{- with .GoImport}}922<meta name="go-import" content="{{.}}">1023{{- end}}1124<link rel="preload" href="/static/fonts/geistpixel/GeistPixel-Square.woff2" as="font" type="font/woff2" crossorigin>25<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">26<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">27<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">28<link rel="manifest" href="/static/favicon/site.webmanifest">29<link rel="alternate" type="application/atom+xml" title="daniel daum" href="https://danieldaum.net/feed.xml">1230<link rel="stylesheet" href="/static/style.css?v={{.CSS}}">1331<script src="/static/theme.js?v={{.CSS}}"></script>1432<script src="/static/copy.js?v={{.CSS}}" defer></script>1533</head>16<body{{if .Wide}} class="page--code"{{end}}>34<body>1735<a class="skip-link" href="#site-main">skip to content</a>1836{{template "sprite"}}1937<header class="site-header">20 <a class="site-name" href="/">{{.Site}}</a>21 <nav aria-label="site">22 <a href="/">repos</a>23 {{- range .Links}}{{if eq .Name "website"}}24 <a href="{{.URL}}">website</a>25 {{- end}}{{end}}38 <a class="site-name" href="https://danieldaum.net">Daniel Daum</a>39 <nav aria-label="main navigation">40 <a href="https://danieldaum.net/about/">about</a>41 <a href="https://danieldaum.net/blog/">blog</a>42 <a href="/" aria-current="page">projects</a>43 <a href="https://danieldaum.net/garden/">garden</a>2644 </nav>2745</header>2846<main id="site-main">@@ -31,9 +49,12 @@3149<footer>3250 <nav aria-label="site links">3351 <p aria-hidden="true">//</p>34 {{- range .Links}}35 <a href="{{.URL}}" rel="me">{{.Name}}</a>36 {{- end}}52 <a href="mailto:daniel@danieldaum.net"> email </a>53 <a href="https://tangled.org/danieldaum.net" aria-label="git (opens in new tab)" target="_blank" rel="noopener noreferrer">git</a>54 <a href="https://danieldaum.net/pgp.asc" aria-label="PGP public key (516E97FF)">PGP</a>55 <a href="https://danieldaum.net/changelog/">changelog</a>56 <a href="https://danieldaum.net/privacy/">privacy</a>57 <a href="https://danieldaum.net/feed.xml">feed</a>3758 <button type="button" class="theme-button" hidden>theme</button>3859 </nav>3960</footer>
web/templates/notfound.html
+1 −1
@@ -1,7 +1,7 @@11{{define "content" -}}22<section class="notfound">33 <h1>404</h1>4 <p>Nothing lives at this address.</p>4 <p>this page doesn't exist</p>55 {{- with .}}{{with .Featured}}66 <ul class="nf-repos" aria-label="repositories">77 {{- range .}}<li><a class="chip" href="/{{.Name}}/">{{template "icon" "book"}}{{.Name}}</a></li>{{end}}
web/templates/profile.html
+3 −7
@@ -1,11 +1,7 @@11{{define "content" -}}2<header class="profile">3 {{- with .Avatar}}<img class="avatar-lg" src="{{.}}" alt="" width="160" height="160">{{end}}4 <div class="profile-text">5 <h1>{{or .User.FullName .User.Login}}</h1>6 <p class="profile-handle">{{.User.Login}}{{with .User.Location}} · {{.}}{{end}}</p>7 {{- with .User.Description}}<p class="profile-bio">{{.}}</p>{{end}}8 </div>2<header class="page-header">3 <h1><span aria-hidden="true">/</span>projects</h1>4 <p class="meta">Things I've built or projects in development</p>95</header>106117<section class="box heat">
web/templates/repos.html
+8 −1
@@ -1,5 +1,12 @@11{{define "content" -}}2<h1 class="page-title">Repositories <span class="page-count">{{len .Repos}}</span></h1>2<nav class="breadcrumb" aria-label="breadcrumb">3 <a href="/">projects</a> <span aria-hidden="true">-></span>4 <a href="/repos/" aria-current="page">repositories</a>5</nav>6<header class="page-header">7 <h1><span aria-hidden="true">/</span>repositories</h1>8 <p class="meta">All {{len .Repos}} public repositories, most recently updated first</p>9</header>310<div class="repo-grid">411 {{- range .Repos}}512 {{template "repocard" .}}