valberg.dk/theme/templates/index.html

45 lines
1.6 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 %}
<div class="container p-5 text-center bg-body rounded-3 mb-5">
<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
<address class="vcard author">By
2023-05-16 19:30:09 +00:00
{% for author in article.authors %}
<a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
{% endfor %}
2023-05-16 15:39:44 +00:00
</address>
</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 %}