Template Syntax
When Aino LifeOS creates periodic notes or theme notes, it renders variables in the template before writing the final Markdown file. This syntax is built in and does not require Templater.
Where to Edit in the App
- Aino Desktop: Open a daily or weekly note, then click Edit Template in the top toolbar. You can also open Settings → Periodic Notes and edit periodic templates or theme templates there.
- Obsidian: Edit the template file directly in the current vault. Periodic templates are usually under
0. 周期笔记/Templates/in the example vault, and theme templates are usuallyTemplate.mdfiles in project, area, or resource folders. - Preview: Aino Desktop's template editor shows common variable examples and a rendered preview, so you can verify changes before saving.
Basic Variables
These variables can be used in periodic note templates and theme note templates:
Weekday Date Variables
In weekly note templates, use {{monday:FORMAT}} through {{sunday:FORMAT}} to reference each day in the current week. Chinese locales default to Monday-start weeks; other locales default to Sunday-start weeks. A custom week-start setting takes precedence.
For example, if your daily note filename is YYYY-MM-DD:
If your daily note filename is YYYYMMDD dddd, you can write:
Snapshot Variables
Snapshot variables generate a numbered list of index files under the matching theme folder:
For example, {{snapshot:Project}} scans the project folder, finds each project's index file, and generates:
If the current vault uses the *.README.md index mode, Aino LifeOS follows that setting when finding index files.
Conditional Blocks
You can switch template content between weekdays and weekends:
weekday means Monday through Friday. Saturday and Sunday use the content after {{else}}; without {{else}}, weekends output nothing.
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:
Difference From Legacy Templater Syntax
Aino LifeOS uses the built-in template syntax. Replace legacy Templater placeholders with variables such as {{snapshot:Project}}, {{tags}}, and {{date+7:YYYY-MM-DD}}.