kogral/templates/note.md.tera
Jesús Pérez 9ea04852a8
Some checks failed
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled
Nickel Type Check / Nickel Type Checking (push) Has been cancelled
chore: add schemas and just recipes
2026-01-23 16:12:50 +00:00

45 lines
972 B
Plaintext

---
id: {{ id }}
type: note
title: {{ title }}
created: {{ created }}
modified: {{ modified }}
tags: [{% for tag in tags %}"{{ tag }}"{% if not loop.last %}, {% endif %}{% endfor %}]
status: {{ status | default(value="draft") }}
{% if relates_to and relates_to | length > 0 -%}
relates_to:
{% for rel in relates_to %} - {{ rel }}
{% endfor %}
{%- endif %}
{% if depends_on and depends_on | length > 0 -%}
depends_on:
{% for dep in depends_on %} - {{ dep }}
{% endfor %}
{%- endif %}
{% if implements and implements | length > 0 -%}
implements:
{% for impl in implements %} - {{ impl }}
{% endfor %}
{%- endif %}
{% if extends and extends | length > 0 -%}
extends:
{% for ext in extends %} - {{ ext }}
{% endfor %}
{%- endif %}
{% if project -%}
project: {{ project }}
{% endif -%}
---
# {{ title }}
{{ content | default(value="") }}
{% if references and references | length > 0 %}
## References
{% for ref in references %}
- [[{{ ref }}]]
{% endfor %}
{% endif %}