Author Topic: How do I call a custom template inside another?  (Read 1954 times)

0 Members and 1 Guest are viewing this topic.

Offline hismaimai2000

  • Pre-Newbie
  • Posts: 1
    • View Profile
    • rut ham cau gia re
How do I call a custom template inside another?
« on: September 20, 2018, 08:57:03 AM »
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!
Dịch vụ  *Link Removed*  tận tâm công ty  *Link Removed*  chuyên nghiệp