Ajout de la page contact
This commit is contained in:
28
templates/shortcodes/services.html
Normal file
28
templates/shortcodes/services.html
Normal file
@@ -0,0 +1,28 @@
|
||||
{% set data = load_data(path="social.toml") -%}
|
||||
|
||||
<table class="contact center">
|
||||
<tr>
|
||||
<th> Service </th>
|
||||
<th> Compte </th>
|
||||
</tr>
|
||||
|
||||
|
||||
{% for service in data.services %}
|
||||
{% if service.obfuscate %}
|
||||
<tr>
|
||||
<td> {{ service.name }} </td>
|
||||
<td class="obfuscate"> {{ service.address }} </td>
|
||||
</tr>
|
||||
{% else %}
|
||||
<tr>
|
||||
<td> {{ service.name }} </td>
|
||||
<td> <a href="mailto:{{ service.address }}">
|
||||
{{ service.address }}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
</table>
|
||||
Reference in New Issue
Block a user