Headers
All Nodes
Header | Default | Notes |
---|---|---|
Title | [no default] | My Page Title |
Escape-Title | true | |
Template | default.html | |
Format | html | html or text |
Created | [no default] | `date -Is` |
Modified | [node mtime] | `date -Is` |
Breadcrumb-Separator | » | » |
Breadcrumb-Separator-Spaces | true | |
Flat-URL | false | |
Link-Prefix | <p> | |
Link-Suffix | </p> | |
Tags | [no default] | foo, bar, baz, quux |
RSS-Include | false | |
Sitemap-Include | true |
Root Node Only
Header | Default | Notes |
---|---|---|
Canonical-URL | [no default] | https://example.com |
Tag-Node | [no default] | path/to/tag/node |
RSS-URL | [no default] | /rss.xml |
RSS-Title | <value of Title> | |
RSS-Add-Node-Title-Header | true | |
RSS-Description | [no default] | |
RSS-Image-URL | [no default] | |
RSS-Image-Width | [no default] | |
RSS-Image-Height | [no default] | |
Sitemap-URL | [no default] | /sitemap.xml |
Inheritance
Headers not inherited by default: Title, Created, Modified
Delete an inherited header named Foo from the current node: -Foo: *
Set a header named Foo in child nodes, but not the current node: +Foo: bar
Substitution Parameters
Parameter | Notes |
---|---|
{{node:body}} | |
{{include:some_template_name.html}} | |
{{value:foo}} | value:<lowercase-header-name> |
{{value-unescaped:foo}} | value-unescaped:<lowercase-header-name> |
{{breadcrumbs:*}} | |
{{created:%B %d, %Y}} | `man strftime` |
{{modified:%B %d, %Y}} | `man strftime` |
{{static-url:foo.jpg}} | a.jpg, i/a.jpg, /a.jpg |
{{static-hash-url:foo.css}} | a.jpg, i/a.jpg, /a.jpg |
{{rss:url}} | |
{{node:url}} | |
{{node:name}} | |
{{node:title}} | |
{{node:link}} | |
{{node-url:foo/bar}} | |
{{node-name:foo/bar}} | |
{{node-title:foo/bar}} | |
{{node-link:foo/bar}} | |
{{node-list:*}} | |
{{tag-list:*}} | |
{{soju:your_code_here(page, node, project_root, use_canonical_url)}} |