diff options
| author | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-07-29 00:56:12 +0200 |
|---|---|---|
| committer | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-07-29 00:56:12 +0200 |
| commit | 29b670de0bcf65eeaae7e95eb4607ced912c4a27 (patch) | |
| tree | 1c8a81f088ab4a4d2da03feb4ce97db892e9f760 /templates/index.html | |
| parent | 3c97a3d8e52e4d96058e0b52ae347bccdb0360f6 (diff) | |
Apply "no style, please!" theme
Diffstat (limited to 'templates/index.html')
| -rw-r--r-- | templates/index.html | 33 |
1 files changed, 21 insertions, 12 deletions
diff --git a/templates/index.html b/templates/index.html index d894455..f57baf5 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,23 +1,32 @@ {% extends "base.html" %} {% block content %} -<h1 class="title"> +<h1 id="page-title"> {{ section.title }} </h1> <p>{{ section.description }}</p> <nav> - Posts: - <ul> - {% for page in section.pages %} - <li> - <a href="{{ page.permalink | safe }}">{{ page.title }}</a> - <p>written: {{ page.date }}, </p> - <p>updated: {{ page.updated }}</p> - </li> - {% endfor %} - </ul> + <table> + <caption> + Posts + </caption> + <thead> + <tr> + <td>Title</td> + <td>Date</td> + </tr> + </thead> + <tbody> + {% for page in section.pages %} + <tr> + <td><a href="{{ page.permalink | safe }}">{{page.title}}</a></td> + <td>{{ page.date }}</td> + </tr> + {% endfor %} + </tbody> + </table> </nav> -{% endblock %} +{% endblock %}
\ No newline at end of file |
