26 lines
1.4 KiB
Plaintext
26 lines
1.4 KiB
Plaintext
{% set node_type_label = node.type | title -%}
|
|
- {% if node.status == "draft" %}🚧{% elif node.status == "active" %}✅{% elif node.status == "superseded" %}📦{% elif node.status == "archived" %}🗄️{% endif %} **{{ node.title }}** #[[{{ node_type_label }}]]
|
|
id:: {{ node.id }}
|
|
created:: [[{{ node.created | date(format="%Y-%m-%d") }}]]
|
|
modified:: [[{{ node.modified | date(format="%Y-%m-%d") }}]]
|
|
{% if node.tags and node.tags | length > 0 -%}
|
|
tags:: {% for tag in node.tags %}#[[{{ tag }}]]{% if not loop.last %}, {% endif %}{% endfor %}
|
|
{% endif -%}
|
|
{% if node.project -%}
|
|
project:: [[{{ node.project }}]]
|
|
{% endif -%}
|
|
{% if node.relates_to and node.relates_to | length > 0 -%}
|
|
relates-to:: {% for rel in node.relates_to %}[[{{ rel }}]]{% if not loop.last %}, {% endif %}{% endfor %}
|
|
{% endif -%}
|
|
{% if node.depends_on and node.depends_on | length > 0 -%}
|
|
depends-on:: {% for dep in node.depends_on %}[[{{ dep }}]]{% if not loop.last %}, {% endif %}{% endfor %}
|
|
{% endif -%}
|
|
{% if node.implements and node.implements | length > 0 -%}
|
|
implements:: {% for impl in node.implements %}[[{{ impl }}]]{% if not loop.last %}, {% endif %}{% endfor %}
|
|
{% endif -%}
|
|
{% if node.extends and node.extends | length > 0 -%}
|
|
extends:: {% for ext in node.extends %}[[{{ ext }}]]{% if not loop.last %}, {% endif %}{% endfor %}
|
|
{% endif -%}
|
|
-
|
|
{{ node.content | replace(from="\n", to="\n ") }}
|