Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Refs ¶
type Refs struct {
CSS string
JSHead string
JS string
FlexSearch string
KaTeX string
Extra map[string]string // original basename → fingerprinted URL
}
Refs holds the final URLs for fingerprinted assets.
func ProcessAssets ¶
ProcessAssets fingerprints CSS/JS files and copies static assets. staticDir: source directory (e.g. site/static/) outputDir: destination (e.g. public/) Returns asset refs with fingerprinted URLs.
Click to show internal directories.
Click to hide internal directories.