summaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorMiran Bastaja <ihazpink@pm.me>2024-07-29 02:02:42 +0300
committerMiran Bastaja <ihazpink@pm.me>2024-07-29 02:02:42 +0300
commit767d900874dc803319f57a066c8b97f80f66697b (patch)
tree1c8a81f088ab4a4d2da03feb4ce97db892e9f760 /templates/index.html
parent0c08d40a703ec4b4e377a8bb3decf0227b43ab3a (diff)
parent29b670de0bcf65eeaae7e95eb4607ced912c4a27 (diff)
Merge pull request 'Update site theme' (#1) from theming into main
Reviewed-on: https://git.sorre.xyz/miranb/sorre-website/pulls/1
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html33
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