// Package vidarchive embeds the web assets (templates and static files) into the // binary so it runs correctly regardless of the working directory or where the // binary is installed — no reliance on locating the source tree at runtime. package vidarchive import "embed" // TemplatesFS holds the HTML templates under web/templates. // //go:embed web/templates/*.html var TemplatesFS embed.FS // StaticFS holds the static assets (CSS, icons) under web/static. The all: prefix // ensures files that would otherwise be skipped (none currently, but future // dotfiles) are still embedded. // //go:embed all:web/static var StaticFS embed.FS