acaloiaro / hugo-htmx-go-template

Make static Hugo sites dyanmic with htmx and Go
https://adriano.fyi/posts/2023/2023-07-04-making-hugo-static-sites-dynamic-with-htmx-and-go/
117 stars 13 forks source link

feat: templ templates #2

Closed joerdav closed 1 year ago

acaloiaro commented 1 year ago

Very cool. Thanks for taking the time to do this.

If you don't mind my contributing to your PR, there are a couple things I'd like to do.

  1. Since Hugo users seem to like simplicity over all, I'd like to retain the raw HTML and html/template endpoints and give templ its own, so there are clear and distinct examples of both.
  2. Document in README the templ generation steps required to make changes to the templ templates.

In any case, this is very cool and I plan to incorporate this templ approach into a current project as well! I'll wait to hear back from you before making any changes.

joerdav commented 1 year ago

Happy for you to make those changes yep.