diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2022-05-14 16:14:11 -0600 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2022-05-14 17:02:16 -0600 |
commit | 4c04177c05355ddb92d3d31a4c5cfbaa86555a13 (patch) | |
tree | d40a4dcb70ef84ba9356751a9bd96fed99f7f5d2 /srv/src/tpl/tpl.go | |
parent | dd354bc323cd3176c9676444f99b33b69d0a2062 (diff) |
Move template rendering logic into api package
Diffstat (limited to 'srv/src/tpl/tpl.go')
-rw-r--r-- | srv/src/tpl/tpl.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/srv/src/tpl/tpl.go b/srv/src/tpl/tpl.go deleted file mode 100644 index 1dd98ba..0000000 --- a/srv/src/tpl/tpl.go +++ /dev/null @@ -1,12 +0,0 @@ -// 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/*")) |