refactor: migrate template renderer to embedded fs
This commit is contained in:
7
templates/template_fs.go
Normal file
7
templates/template_fs.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package templates
|
||||
|
||||
import "embed"
|
||||
|
||||
//go:embed *.gohtml anime/*.gohtml components/*.gohtml
|
||||
var templateFS embed.FS
|
||||
|
||||
Reference in New Issue
Block a user