mirror of
https://gitlab.com/free_zed/free_zed.gitlab.io.git
synced 2024-06-17 14:12:31 +00:00
Freezed
1a9da4a291
For that theme must be updated : * Add a `social.html` template : to list social links set in SOCIAL * Resize social icons to 16x16 * Lower social icon filenamme * Capitalize 1st letter of SOCIAL.name in `base.html` * Add CSS to remove bullet list * Add a condition in `page.html` to include social only for `contact` page slug Set `contact-en.md` status to draft, this was just a test for the translation feature
13 lines
408 B
HTML
13 lines
408 B
HTML
{% if SOCIAL %}
|
|
<ul class="social">
|
|
{% for name, link in SOCIAL %}
|
|
<li class="style-none">
|
|
<a href="{{ link }}" title="{{ name|title }}">
|
|
<img src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/{{ name }}.png" title="Image pour le site {{ name|title }}" />
|
|
{{ name|title }}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|