writekit/internal/tenant/assets/assets.go
Josh 6e2959f619 refactor: move tenant templates to internal/tenant
- Move internal/build/ to internal/tenant/
- Rename assets for clarity
- Add tenant-blog.js for shared blog functionality
- Update style.css with improved code block styling

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 02:06:19 +02:00

17 lines
248 B
Go

package assets
import (
"embed"
"io/fs"
"net/http"
)
// Embedded static assets for tenant blogs
//
//go:embed css js
var staticFS embed.FS
func Handler() http.Handler {
sub, _ := fs.Sub(staticFS, ".")
return http.FileServer(http.FS(sub))
}