github varabyte/kobweb v0.9.7

latest releases: v0.24.0, v0.23.3, v0.23.2...
pre-release4 years ago

The main feature in this release is the addition of the new routePrefix setting, which, when set in your project's conf.yaml will tell Kobweb that your site lives under a subfolder in the domain.

So if you owned the domain example.com and set the routePrefix of a/b/c would mean that the root of your site would map to https://example.com/a/b/c/


Frontend

  • You can now set routePrefix in your conf.yaml
  • Update Silk Link widget to be routePrefix aware
  • Add new Image widget to Silk (which is essentially an Img that is routePrefix aware)
  • Add new Divider widget to Silk (which is essentially an Hr tag but Silk-theme aware plus some better defaults)
  • Fixed bugs with relative paths and mailto, etc. URLs not working
  • Screen now resets to the top when you change the current path
  • Allow users to customize the link opening strategy so, e.g., they can always make sure that links open in new pages instead of the current one
    • Also, control keys are now respected, e.g. "Ctrl + left click" opens a link in a new browser
  • Fixed a bug with overwriting Silk theme styles being rejected as a duplicate incorrectly

Markdown

  • Markdown now uses the new Silk Image and Divider classes if available
  • Markdown logic around computing header IDs is improved
    • Duplicate header IDs are now made unique by appending an incrementally counting number
    • The IDs are stored in a per page data map so that they can be checked against later instead of recalculated

Misc

  • Gradle updated to version 7.4

Don't miss a new kobweb release

NewReleases is sending notifications on new releases.