Registry / web-framework / kataras-blocks

kataras-blocks

JSON →
library0.0.12gogounverified

A Go package for rendering HTML templates with blocks and inheritance.

go get github.com/kataras/blocks
INSTALL
IMPORT
SIG · KATARAS-BLOCKS
K
kataras-blocks
web-frameworkgov0.0.12
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

blocks
github.com/kataras/blocks

Load and render a template with blocks.

package main import ( "fmt" "github.com/kataras/blocks" ) func main() { b := blocks.New("templates/*.html") if err := b.Load(); err != nil { panic(err) } fmt.Println(b.RenderString("index", nil)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.12latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
kataras-blocks — go get kataras-blocks · libregistry