Template Syntax
LifeOS currently has two template syntaxes. Choose the one that matches your version:
- LifeOS Pro / Aino LifeOS: use the built-in syntax, such as
{{snapshot:Project}},{{date}}, and{{tags}}. This syntax does not require Templater. - Community / open-source LifeOS: only supports the legacy Templater syntax, such as
<% LifeOS.Project.snapshot() %>. If you use the open-source version, do not replace those templates with the new syntax.
Basic Variables
These variables work in periodic note templates and theme note templates:
Snapshot Variables
LifeOS Pro snapshot variables use this syntax:
They generate a numbered list of theme index files under the matching folder. For example, {{snapshot:Project}} scans the project folder, finds each project's index file, and generates:
If you use the *.README.md index mode, LifeOS Pro follows your current setting when resolving index files.
Conditional Blocks
You can render different content for weekdays and weekends:
weekday means Monday through Friday. Saturday and Sunday use the {{else}} branch. If there is no {{else}}, weekends render empty content.
Periodic Note Example
Theme Note Example
When creating a theme note, {{tags}} is replaced with the current theme tag. When writing it as an inline tag, add # yourself:
Community / Open-Source Compatibility
Community / open-source LifeOS relies on Templater and only supports the legacy syntax:
Theme tags still use Templater frontmatter variables:
If you maintain an open-source vault or an older example vault, keep using this legacy syntax and make sure Templater has Trigger Templater on new file creation enabled.

