You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How about you transfer the Skeleton over to Kickstrap? It's Bootstrap based so pretty similar and it has built in support for themes via LESS, which would be conveniently and automatically compiled by Docpad.
That seems more of writing a new skeleton, rather than properly adding theme support into docpad.
The idea of themes, is so:
You will have a src/themes directory, new themes will be installed here, each theme will contain the same src directories we are use to, e.g. documents, files, layouts, partials. The theme is set via the docpad configuration (which can be set via your website's package.json). It would work by adding extra "parths" to the requires, e.g. specifying layout: post - would first try src/layouts/post, then if that fails (the file doesn't exist) it would try your theme's src/themes/yourChosenTheme/layouts/post. In regards to partials, it would work like so: @partial('document-list',theme: 'blah')
This way themes can be dropped in, regardless of which skeleton your are using.
Would be a pretty a big change, however a very valuable one.
Current thoughts is that your stylesheet will reference which theme you want to use.
The text was updated successfully, but these errors were encountered: