---
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 %}
