(feat) Partially added function handling to Sections in template.rs