templates

The templates directory contains templates that can be combined with nodes and other templates.

When Uriel builds your web site, it combines the nodes and templates together to create rendered pages in the public directory containing your finished web site.

How Pages Are Constructed

Each dynamically-generated page on your web site starts with a content node.

Each node has a template associated with it. The template is defined in the node, using the Template header. If a template header is not defined, then the default.html template is used instead.

Templates can use substitution parameters, which can include all sorts of dynamically-generated content on the page, including user-defined Python code.

When the page is rendered, the template is the first thing that is included in the rendered page.

If you want the node body contents to show up on the page (and you almost certainly do), then the {{node:body}} substitution parameter should be included somewhere in the template. This is where the node body content will be merged into the middle of your template.

Templates can include other templates using the {{include:default.html}} substitution parameter. The node body contents can also include templates using the same parameter.

Tags:

This page was generated by Uriel with the following settings:

Page Details

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

Node Headers

Header (Lowercase) Value
title templates
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
template default.html

Node Timestamps

Type Value
Created
Modified 2026-06-07T22:39:01-04:00

Node Methods

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