Import aside class from another file instead specifying it in post.hbs & index.hbs

Hey guys, I created my own theme for my blog (Peter Gerhards / · GitLab), forked from GitHub - mityalebedev/The-Shell: Ghost Theme 👻. I heavily modified the sidebar.
Yesterday I integraded a recommended articles list to the sidebar.
Currently the list is specified in index.hbs & post.hbs, which feels very uncomfortable to update manually in both files. How can I just include another file, which contains the

Yep, you want a ‘partial’ file. Check this out: Ghost Handlebars Theme Helpers: partials


Awesome! Works without any problem :slight_smile:

1 Like