chore: merge in comment mentions as webmention replies; show some mention links

This commit is contained in:
Cory Dransfeldt 2023-09-07 11:53:14 -07:00
parent 029a758733
commit 72d4710178
No known key found for this signature in database
4 changed files with 31 additions and 6 deletions

View file

@ -0,0 +1,14 @@
{% if mentions['link-to'].size > 0 %}
<h2 class="text-lg md:text-xl font-black leading-tight dark:text-gray-200">Links</h2>
<div class="mt-2.5 flex flex-col not-prose">
<ul class="list-inside list-disc pl-5 md:pl-10">
{% for mention in mentions['link-to'] %}
<li class="mt-1.5 mb-2">
<a href="{{ mention.url }}" class="text-blue-500 hover:text-blue-600 dark:text-blue-400 dark:hover:text-blue-300">
{{ mention.name }}
</a>
</li>
{% endfor %}
</ul>
</div>
{% endif %}