1
Fork 0
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-12-22 17:55:58 +00:00
notes/theme/home.html

24 lines
655 B
HTML
Raw Normal View History

2024-02-15 18:07:13 +00:00
{% extends "base.html" %}
{% block content %}
{{ super() }}
<h2>Recent notes</h2>
{% set notes_index = get_page('notes/index.md') %}
{% set notes = get_notes() %}
2024-02-15 18:07:13 +00:00
<ul>
{% for page in notes[:10] %}
2024-02-15 18:07:13 +00:00
<li>
<a href="{{ page.url }}">{{ page.title }}</a> - {{ page.meta.git_creation_date_localized_raw_iso_date }}
{% for tag in page.meta.tags %}
<span class="md-tag">{{ tag }}</span>
{% endfor %}
</li>
{% endfor %}
</ul>
2024-02-18 16:53:04 +00:00
<p><a href="{{ notes_index.url }}">View all {{ notes|length }} notes &rarr;</a></p>
2024-02-15 18:07:13 +00:00
{% endblock %}