restore how holes looked like next to posts in WPD

pull/215/head
Aevann 2023-10-08 14:32:10 +03:00
parent 81ab004f54
commit 113346c3e3
1 changed files with 5 additions and 1 deletions

View File

@ -10,7 +10,11 @@
{% macro post_meta(p) %}
{% if p.hole %}
<a class="mr-2 font-weight-bold" href='/h/{{p.hole}}'>/h/{{p.hole}}</a>
{% if SITE_NAME == 'WPD -%}
<a href='/h/{{p.hole}}' class="hole-flair font-weight-bold">{{p.hole|capitalize}}</a>
{%- else -%}
<a class="mr-2 font-weight-bold" href='/h/{{p.hole}}'>/h/{{p.hole}}</a>
{%- endif %}
{% endif %}
{% if p.hole and p.author.exiler_username(p.hole) %}