Skip to content

bencroker/templating-for-performance-in-craft-cms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Templating for Performance in Craft CMS

A set of templates that demonstrate good vs. poor practices when outputting elements in templates.

Watch the presentation at https://youtu.be/RGK1JHDxHhY.

Requirements

Craft CMS 3.0.0 or later.

Usage

  1. Set up a section with the slug articles and the fields order (number field) and relatedEntries (entries field).
  2. Copy the templates in the templates folder to your project.
  3. Optionally create and import a feed using the FeedMe plugin pointed at the feed.twig template.
  4. Visit http://your-domain/slides in your browser.

License

All code is licensed under the MIT License with attribution.

Created by PutYourLightsOn.

About

Templating for Performance in Craft CMS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published