- 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>
17 lines
248 B
Go
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))
|
|
}
|