Skip to content

Optional page resources and important bugfix

Latest
Compare
Choose a tag to compare
@rur rur released this 26 Apr 02:19
· 17 commits to main since this release
db3657e

Bugfix to correct slice-abuse while generating entries from the route map for the
routes.go template. Rolled into previous alpha to tighten up some code and make
page resources optional

Fix

  • Slice bug in code that generates entries for the routes.go code template.

Added

  • Added --no-resources flag to the page generation command

Remove

  • Trim unused resources and handlers in some of the page starter templates

Improve

  • Make site main file generally easier to read
  • Env singleton instance is scopes to the main function
  • Initializing Env resources in main func allows the use of defer for teardown