thuliteio / docs

Thulite documentation
https://docs.thulite.io
2 stars 3 forks source link

Documentation request #1

Open pensivedog opened 2 years ago

pensivedog commented 2 years ago

The standard Hugo setup includes a themes/ folder and allows for specifying theme components, as described here. This makes it easy to have an updateable base theme and simply include customizations as overrides in a sub/child theme.

I'm looking for an intuitive way to do build a site with hyas, adding my own style and layout customizations, while being able to easily update the hyas base code in the future. Any guidance on this is greatly appreciated.

h-enk commented 2 years ago

Please see https://github.com/h-enk/hyas/discussions/311#discussioncomment-3075756 + https://github.com/h-enk/hyas/issues/312

So, in short:

pensivedog commented 2 years ago

Great, thank you for the reply and your work on this. Looking forward to the restructured starter theme.

h-enk commented 1 year ago

Or, is it possible to use hyas but add a themes/ directory that allows for overriding/customizing some components, while keeping hyas updateable (I guess by excluding config/_default/config.toml and content/ and themes/ from updates)?

The new Hyas setup caters for this (using Hugo's module mounts) — see e.g. for Doks: themes and integrations. More detailed documentation on how tu use this is in the making.

pensivedog commented 1 year ago

Requesting documentation or a tutorial on how to add tailwind css to Hyas and make it work with the newly available /themes directory mentioned above.