Update servers with invite link

This commit is contained in:
Elnu 2023-06-20 10:07:38 -07:00
parent 56f54553ce
commit e4bf1e733c
4 changed files with 24 additions and 2 deletions

View file

@ -4,10 +4,11 @@
<h2>Join a participating server</h2>
<div class="servers">
{% for guild in settings.guilds %}
{% if guild.hidden %}{% continue %}{% endif %}
{% if guild.hidden or not guild.invite %}{% continue %}{% endif %}
<div{% if guild.recommended %} class="recommended"{% endif %}>
<img src="https://cdn.discordapp.com/icons/{{ guild.id }}/{{ guild.icon }}.webp?size=96" alt="Server icon">
<div class="name">{{ guild.name }}</div>
<a href="https://discord.gg/{{ guild.invite }}">Join</a>
{% if guild.recommended %}
<div class="label-wrapper">
<div class="label">Recommended</div>