all repos — website @ a2feb8c63c80a1f52830f562af2deb2c6065eaae

My website

move templ templates into separate package

Alan Pearce
commit

a2feb8c63c80a1f52830f562af2deb2c6065eaae

parent

8623948592fa14958d340b006653fc57861c4fc4

1 file changed, 3 insertions(+), 3 deletions(-)

changed files
M internal/builder/homepage.templtemplates/homepage.templ
@@ -1,12 +1,12 @@
-package builder +package templates import ( "website/internal/config" "website/internal/content" ) -templ homepage(config config.Config, posts []content.Post, content string) { - @page(config, PageSettings{ +templ Homepage(config config.Config, posts []content.Post, content string) { + @Page(config, PageSettings{ Title: config.Title, TitleAttrs: templ.Attributes{ "class": "p-name u-url",