vault backup: 2025-12-07 17:19:19
All checks were successful
Deploy Quartz site to GitHub Pages / build (push) Successful in 4m16s
All checks were successful
Deploy Quartz site to GitHub Pages / build (push) Successful in 4m16s
This commit is contained in:
20
wip/templates/note.jinja2
Normal file
20
wip/templates/note.jinja2
Normal file
@@ -0,0 +1,20 @@
|
||||
{% extends 'base.html' %}
|
||||
{% 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 %}
|
||||
Reference in New Issue
Block a user