1
0
Fork 0
forked from github/pelican

feat: image floats, wcag, remove target blank links

This commit is contained in:
Oliver Ladner 2025-02-17 11:08:37 +01:00
commit f8ca328568
4 changed files with 93 additions and 23 deletions

View file

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block html_lang %}{{ article.lang }}{% endblock %}
{% block title %}{{ SITENAME|striptags }} - {{ article.title|striptags }}{% endblock %}
{% block title %}{{ article.title|striptags }} - {{ SITENAME|striptags }}{% endblock %}
{% block head %}
{{ super() }}
@ -17,11 +17,11 @@
{% endblock %}
{% block content %}
<article class="prose dark:prose-dark md:prose-base lg:prose-lg prose-img:rounded hyphens-auto">
<article class="prose dark:prose-dark md:prose-base lg:prose-lg prose-img:rounded prose-img:mx-auto hyphens-auto">
<header>
<h1 class="text-3xl md:text-5xl">
{{ article.title }}
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}" class="no-underline text-rp-dawn-overlay">#</a>
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}" class="no-underline text-rp-dawn-pine dark:text-rp-moon-iris">#</a>
</h1>
<ul class="list-none border-b-2 border-rp-dawn-overlay dark:border-rp-moon-overlay">
<li>