Skip to content

Images in params.toml get sourced from doks node module #317

Answered by h-enk
cameronelliott asked this question in Support
Discussion options

You must be logged in to vote

When changing config/_default/params.toml, there are two variables: images, schemaLogo which
refer to doks.png and logo-doks.png, so if I change them to my images, where do I put them???

In the ./static/ directory. The parent theme lives in ./node_modules/@hyas/doks/, The child theme lives in ./, following the structure of the parent theme. A child theme file overrides the corresponding parent theme file.

And files in static also get copied into the public, ...

True.

.. so I should be able to put the images there.

Don't. The public directory is a temporary directory, and is deleted when starting the development server (npm run start), or building your site for production (npm run build

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@h-enk
Comment options

h-enk Jun 8, 2021
Maintainer

Answer selected by cameronelliott
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants