1
0
Files
medical-notes/wip/templates/note.jinja2
Johan Dahlin 2e231ec64c
All checks were successful
Deploy Quartz site to GitHub Pages / build (push) Successful in 2m48s
vault backup: 2025-12-07 17:19:42
2025-12-07 17:19:42 +01:00

21 lines
463 B
Django/Jinja

{% extends 'base.jinja2' %}
{% block title %}{{note.title}}{% endblock %}
{% block content %}
<h1>{{note.title}}</h1>
<ul>
{% for key, value in note.frontmatter.items() %}
<li>
<strong>{{key}}</strong>
{% if key == 'tags' %}
{% for tag in value %}
#{{tag}}
{% endfor %}
{% else %}
{{value}}
{% endif %}
</li>
{% endfor %}
</ul>
{{note.our_content | markdown}}
{% endblock %}