Getting templates and partials to work with a theme

I am having trouble working out where to put my partials and templates.

I have a site with the DocDock theme and in my site I have the following folders under themes/docdock/layouts:

themes/docdock/layouts/_default/
themes/docdock/layouts/partials/
themes/docdock/layouts/shortcodes/
themes/docdock/layouts/slide/

I figured out I can modify themes/docdock/layouts/_default/single.html to make some changes, which is great, but this is in a git submodule, so I can’t check in that change right? How do I make my own changes to override the theme?

Rob
:slight_smile:

Put them in your own layouts dir. For example to override the default single template, copy the theme’s template and then paste it to:

layouts/_default/single.html
1 Like