1
0
Files
medical-notes/wip/templates/base.html
Johan Dahlin fc5133b214
All checks were successful
Deploy Quartz site to GitHub Pages / build (push) Successful in 1m21s
vault backup: 2025-12-07 12:39:26
2025-12-07 12:39:26 +01:00

31 lines
738 B
HTML

<html lang="en">
<head>
<meta charset="utf-8">
<base href="{{base_path}}">
<link rel="stylesheet" href="style.css">
<title>{{note.title}}</title>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
</head>
<body>
<div class="sidebar"></div>
<div class="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}}
</div>
<script src="script.js"></script>
</body>
</html>