summaryrefslogtreecommitdiff
path: root/packages/blog/templates/index.html
blob: 6e8a2af60814c30ce8880c2948d09e4efc12f27a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{% extends "base.html" %} {% block content %}

<div>
  {% set section = get_section(path="posts/_index.md") %}

  <ul style="list-style: none; padding-left: 0">
    {% for page in section.pages %}
    <li style="display: flex; gap: 1em; margin-bottom: 0.3em">
      <span sty>{{ page.date }}</span>
      <a href="{{ page.permalink | safe }}">{{ page.title }}</a>
    </li>
    {% endfor %}
  </ul>

  {% endblock content %}
</div>