For example, let's say I have a custom template, "bitofcode.html" , in my templates folder with a bit of code that I would like to include on other pages using a variable like {bitofcode} . This way when "bitofcode" needs updating I can do it easily at bitofcode.html instead of fussing with the multiple templates I am displaying it on. How to? Thanks!