Template

Sets the template that the node will use.

The template file name given is relative to the templates directory.

For example, the default template can be found at templates/default.html. If you wanted to specify this template specifically (even though it is the default value), you would set the header like this:

Template: default.html

Subdirectories within the template directory are also allowed:

Template: foo/bar/quux.html

If you delete an inherited Template header on a node, then you are back to the default value of default.html.

The null Template

If you want to avoid using a template altogether, and only include the contents of the node body, you can specify the null template like this:

Template: null

What happens if you create a template file named null? Uriel will not read it, and instead treat the null template as an instruction to render the node without any template. Additionally, it is not possible to include the null template using the {{include:default.html}} substitution parameter.

Tags: headers

This page was generated by Uriel with the following settings:

Page Details

Resource Path Project File
Node headers/template nodes/headers/template
Template default.html templates/default.html
URL /headers/template/ public/headers/template/index.html

Node Headers

Header (Lowercase) Value
template default.html
title Template
+-tags *
breadcrumb-separator »
canonical-url https://documentation.uriel.foo
rss-description Uriel Documentation
rss-image-height 32
rss-image-url /favicon-32x32.png
rss-image-width 32
rss-max-entries 50
rss-title Uriel Documentation
rss-url /rss.xml
sitemap-max-entries 10000
sitemap-url /sitemap.xml
tag-node tag
tags headers

Node Timestamps

Type Value
Created
Modified 2026-06-11T18:33:35-04:00

Node Methods

Method Value
get_parent_node() headers/index
get_path() headers/template
get_node_type() file
get_url() /headers/template/
get_canonical_url() https://documentation.uriel.foo/headers/template/
get_name() template
get_display_name() Template
get_title() Template
get_escaped_title() Template
get_link() <a href="/headers/template/">Template</a>
get_canonical_link() <a href="https://documentation.uriel.foo/headers/template/">Template</a>
get_link_prefix() <p>
get_link_suffix() </p>
get_tags() ['headers']
get_dest_dir() ./public/headers/template
get_dest_file() ./public/headers/template/index.html
get_breadcrumb_separator() &raquo;