Template Aliases

Canvas uses template aliasing to make page templates more expressive and compatible. This directory checks if the template aliases work as expected.



I am the blog template

Published on January 24, 2023.

This is the blog template. This is intended as the template for showing page collections. A blog template usually should have a content.items definition in its frontmatter, but theme designers can code a default collection behavior when there is no content.items defined.


Continue reading...

I am the index template

Published on January 24, 2023.

This is the index template. This is an alias of the blog template. If you are a theme designer, you can choose to extend this look in the templates folder. If you are using the canvas theme, don't forget to check the template alias arrays in partials/base.html.twig


Continue reading...

I am the archive template

Published on January 24, 2023.

This is the archive template. This is an alias of the blog template. If you are a theme designer, you can choose to extend this look in the templates folder. If you are using the canvas theme, don't forget to check the template alias arrays in partials/base.html.twig


Continue reading...

I am the folder template

Published on January 24, 2023.

This is the folder template. This is an alias of the blog template. If you are a theme designer, you can choose to extend this look in the templates folder. If you are using the canvas theme, don't forget to check the template alias arrays in partials/base.html.twig


Continue reading...