{# default module #}
{% if module is defined %}
<div class="module {{ module.class is defined ? module.class : '' }}">
{% block module_title %}
{% if module.title is defined and module.title == 'Latest Classifieds' %}
<a href="/our-listings">
<h3 class="module-title">
{{ module.title }}
</h3>
</a>
{% elseif module.title is defined and module.title == 'Directory of Everything' %}
<a href="/our-directory">
<h3 class="module-title">
{{ module.title }}
</h3>
</a>
{% elseif module.title is defined and module.title == 'RCS Forum' %}
<a href="/forum">
<h3 class="module-title">
{{ module.title }}
</h3>
</a>
{% elseif module.title is defined and module.title == 'Events' %}
<a href="/events">
<h3 class="module-title">
{{ module.title }}
</h3>
</a>
{% elseif module.title is defined and module.title is not empty %}
<h3 class="module-title">
{% if module.visit_link is defined and (module.data is not defined or (module.data is defined and module.data is not empty)) %}
<a href="{{ module.visit_link }}" style="color:white;">
{% endif %}
{{ module.title }}
{% if module.visit_link is defined and (module.data is not defined or (module.data is defined and module.data is not empty)) %}
</a>
{% endif %}
</h3>
{% endif %}
{% endblock %}
<div class="module-content">
{% block module_content %}
{{ module.content }}
{% endblock %}
{% if module.title is defined and module.title == 'RCS Forum' %}
<hr style="margin-top: 2rem;"><a href="/forum" class="module-visit-link" style="color: #A6252A;">See more topics</a>
{% elseif module.title is defined and module.title == 'Events' %}
<hr style="margin-top: 2rem;"><a href="/events" class="module-visit-link" style="color: #A6252A;">See more events</a>
{% endif %}
</div>
</div>
{% endif %}