A fast and simple blog backend.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
mediocre-blog/srv/src/tpl/tpl.go

12 lines
221 B

// Package tpl contains template files which are used to render the blog.
package tpl
import (
"embed"
html_tpl "html/template"
)
//go:embed *
var fs embed.FS
var HTML = html_tpl.Must(html_tpl.ParseFS(fs, "html/*"))