Templates

  • Template Basics

    Learn how to create different templates for your pages, how to handle default pages and where to store templates.

  • Your first template

    Create your first template and learn how to dynamically fetch content from your pages.

  • Snippets

    Learn how to keep your templates clean by storing reusable code in snippets.

  • Kirby’s API

    Learn the basics about Kirby's extensive API and how to use it to build any template you want.

  • Thumbnails

    Learn how to create resized and cropped images in your templates on the fly.

  • Controllers

    Learn how to store more complex template code in controllers to separate logic from your HTML.

  • Page Models

    Learn how to create page models with extended functionalities.