Prototype for a Perch-inspired CMS template.
- Tags based on handlebars, using JS syntax for arguments
- Four tags:
block- defines a named section in the CMSrepeat- allows items to repeated; can set min, max or exact number of repetitionscontent- defines a piece of content, same kind of configuration as Perch, sensible defaults based on where the tag is used (i.e. text in a<p>, URL in ahref, text in analt),template- loads another file as a template, templates can contain any of the four tags
Thinking about something like: {{ template('shared/content', {shared: true}) }} to allow templates to be shared across different pages.
Also thinking about something like: {{ content('home:title') }} to pull in content from another page.