diff options
| author | 2022-02-01 20:21:10 +0100 | |
|---|---|---|
| committer | 2022-02-01 20:21:10 +0100 | |
| commit | 11cbc008ee5f5bafb9ca24fbd8564202310fa6f4 (patch) | |
| tree | 1ad27c68a0090b3321bb1c7b269b5742cf929f67 /pydis_site/templates | |
| parent | Add type annotations for sort key method. (diff) | |
Kaizen: Make jchrists wildest dreams come true
Co-authored-by: Johannes Christ <[email protected]>
Diffstat (limited to 'pydis_site/templates')
| -rw-r--r-- | pydis_site/templates/resources/resource_box.html | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/pydis_site/templates/resources/resource_box.html b/pydis_site/templates/resources/resource_box.html index 0ba8b0ec..2ec233cb 100644 --- a/pydis_site/templates/resources/resource_box.html +++ b/pydis_site/templates/resources/resource_box.html @@ -14,8 +14,8 @@      <p>{{ resource.description|safe }}</p>      <div class="is-flex is-align-items-center"> -        {#  Add primary link #} -        {% if 'title_url' in resource %} +        {# Add primary link #} +        {% if "title_url" in resource %}              <span class="icon is-size-4" style="margin: 5px;">                  <a href="{{ resource.title_url }}">                      <i class="fas fa-external-link-alt fa-fw is-size-4 resource-icon is-hoverable is-primary"></i>  |