kogral/templates/journal.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

61 lines
1.1 KiB
Plaintext

---
id: {{ id }}
type: journal
title: {{ title }}
created: {{ created }}
modified: {{ modified }}
tags: [{% for tag in tags %}"{{ tag }}"{% if not loop.last %}, {% endif %}{% endfor %}]
status: active
{% if date -%}
date: {{ date }}
{% endif -%}
{% if relates_to and relates_to | length > 0 -%}
relates_to:
{% for rel in relates_to %} - {{ rel }}
{% endfor %}
{%- endif %}
{% if project -%}
project: {{ project }}
{% endif -%}
---
# {{ title }}
{% if date %}**Date:** {{ date }}{% endif %}
## Notes
{{ content | default(value="") }}
{% if tasks and tasks | length > 0 %}
## Tasks
{% for task in tasks %}
- [{% if task.completed %}x{% else %} {% endif %}] {{ task.description }}
{% endfor %}
{% endif %}
{% if highlights and highlights | length > 0 %}
## Highlights
{% for highlight in highlights %}
- {{ highlight }}
{% endfor %}
{% endif %}
{% if learnings and learnings | length > 0 %}
## Learnings
{% for learning in learnings %}
- {{ learning }}
{% endfor %}
{% endif %}
{% if links and links | length > 0 %}
## Links
{% for link in links %}
- [[{{ link }}]]
{% endfor %}
{% endif %}