valberg.dk/theme/templates/index.html

39 lines
1.4 KiB
HTML
Raw Normal View History

2023-05-16 15:39:44 +00:00
{% extends "base.html" %}
2023-05-16 19:30:09 +00:00
{% block jumbotron %}
2023-05-19 15:15:52 +00:00
<div class="container p-5 text-center bg-body-tertiary rounded-3 mb-5">
2023-05-16 19:30:09 +00:00
<h1 class="text-body-emphasis">Hi!</h1>
<p class="lead">
I'm Víðir Valberg Guðmundsson. I'm a software developer and this is my blog.
</p>
</div>
2023-05-16 15:39:44 +00:00
{% endblock %}
2023-05-16 19:30:09 +00:00
{% block content %}
<section id="content">
{% for article in articles_page.object_list %}
<article class="hentry">
<header><h2 class="entry-title">
<a href="{{ SITEURL }}/{{ article.url }}"
rel="bookmark"
title="Permalink to {{ article.title|striptags }}">
{{ article.title }}
</a>
</h2></header>
2023-05-16 15:39:44 +00:00
<footer class="post-info">
2023-05-16 19:30:09 +00:00
<time class="published"
datetime="{{ article.date.isoformat() }}">
{{ article.locale_date }}
</time>
2023-05-16 15:39:44 +00:00
</footer><!-- /.post-info -->
<div class="entry-content"> {{ article.summary }} </div><!-- /.entry-content -->
2023-05-16 19:30:09 +00:00
</article>
{% endfor %}
{% if articles_page.has_other_pages() %}
{% include 'pagination.html' %}
{% endif %}
</section><!-- /#content -->
2023-05-16 15:39:44 +00:00
{% endblock content %}