vole
Clone
Read only, no credentials:
https://rodent.software/git/vole.git
Write over SSH with a registered key:
git clone ssh://git@0.0.0.0:2222/vole.git
A free and open-source forge that lives in your Git repo.
Offer instance theme packs in the appearance picker
f7a34d8749054b7ff9e1a304a3fc90ccf3786877 · Keenan Nemetz · 1d ago · parent bc95767f
Offer instance theme packs in the appearance picker Add profile/themes/index.json and one scoped stylesheet per theme. The loader validates ids and names, pairs each manifest entry with profile/themes/<id>.css, and exposes the list to the account picker and to theme.js before first paint. Theme stylesheets are linked before profile/custom.css, so an instance-wide override still wins. The starter repository now includes an empty manifest and documents the format in its root README. The configuration docs and the Admin Configuration path table describe the same convention.
forge/instance_test.go +7
| @@ -46,6 +46,13 @@ func TestInitOpenAndRepoLifecycle(t *testing.T) { | |||
| 46 | 46 | if err != nil || !strings.Contains(string(custom), ":root[data-theme]") { | |
| 47 | 47 | t.Fatalf("starter custom.css does not show the override selector: %q, %v", custom, err) | |
| 48 | 48 | } | |
| 49 | themes, err := theme.Git().BlobAt("refs/heads/"+theme.DefaultBranch, "profile/themes/index.json") | ||
| 50 | if err != nil || !strings.Contains(string(themes), `"themes"`) { | ||
| 51 | t.Fatalf("starter theme manifest = %q, %v", themes, err) | ||
| 52 | } | ||
| 53 | if !strings.Contains(string(readme), "profile/themes/index.json") { | ||
| 54 | t.Fatal("the starter README does not document the theme manifest") | ||
| 55 | } | ||
| 49 | 56 | ||
| 50 | 57 | pub, _, err := ed25519.GenerateKey(rand.Reader) | |
| 51 | 58 | if err != nil { | |