mirror of
https://github.com/RealOrangeOne/notes.git
synced 2024-11-17 23:39:03 +00:00
23 lines
655 B
HTML
23 lines
655 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
{{ super() }}
|
|
|
|
<h2>Recent notes</h2>
|
|
|
|
{% set notes_index = get_page('notes/index.md') %}
|
|
{% set notes = get_notes() %}
|
|
|
|
<ul>
|
|
{% for page in notes[:10] %}
|
|
<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>
|
|
|
|
<p><a href="{{ notes_index.url }}">View all {{ notes|length }} notes →</a></p>
|
|
{% endblock %}
|