Make the entire article card clickable (fixes #92)

Plus change the title font, since it no longer has an underline
This commit is contained in:
daudix
2024-10-06 06:25:26 +03:00
parent e2c3f7581b
commit 636fad2fd5
3 changed files with 34 additions and 16 deletions

View File

@ -9,6 +9,7 @@
<div id="article-list">
{%- for page in pages %}
<article {% include "partials/article_type.html" %}>
<a href="{{ page.permalink | safe }}"></a>
{%- if page.draft %}
<span class="draft-badge">
<i class="icon"></i>
@ -35,7 +36,7 @@
{{- macros_translate::translate(key="poor", default="Poor", language_strings=language_strings) -}}
</span>
{%- endif %}
<h3><a href="{{ page.permalink | safe }}">{{ page.title }}</a></h3>
<h3>{{ page.title }}</h3>
{%- if page.description %}
{{ page.description | markdown | safe }}
{%- endif %}