Using Live Templates

Overview

Ever had to create new pages where they were all the same layout and had similar content?

You could create a global template or a space template to make the job easier but if you had to make a minor edit in the template, it wouldn't be reflected in all the pages that used the same global or space template. You'd have to edit each page one by one!

Scaffolding can make your life easier with the Live Template macro.

Live Templates are dynamic templates that you only need to edit once, and the changes are reflected automatically across all the pages that use that template. No extra action required.

Ingredients

Apps

Scaffolding

Macros

Live Template

Guide

The macro works with both options.

  • type {live-template} on an empty page

  • edit the Live Template macro

    • choose the template type

    • enter the name (of the template you created above)

  • Save the page

Now every time you edit the template, the page or any other page with the Live Template set to that template it updates automatically.