1
0
Fork 0
forked from github/pelican

fix: headings hierarchy, font sizes, optimize sizes for breakpoints

This commit is contained in:
Oliver Ladner 2024-12-19 23:22:34 +01:00
commit 49ea09bbbe
9 changed files with 298 additions and 215 deletions

View file

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block content %}
{% block content_title %}
<h1 class="text-5xl">Recent blog posts</h1>
<h2>Recent blog posts</h2>
{% endblock %}
<!--This needs to align to the PAGINATION value in pelicanconf.py-->
<div class="grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 gap-8">
@ -12,8 +12,8 @@
<time datetime="{{ article.date.isoformat() }}" class="italic">{{ article.locale_date }}</time>
</footer>
<header>
<h2 class="text-3xl mb-3 hyphens-auto"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a>
</h2>
<h3 class="text-3xl mb-3 hyphens-auto"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a>
</h3>
</header>
<section>{{ article.summary }}</section>
</article>