Compare commits
No commits in common. "2a740210bd21a20732d764a80d82f8f8ca5b948a" and "955b8fc3f638a1087cd3d01915205312cd2dc6fa" have entirely different histories.
2a740210bd
...
955b8fc3f6
|
|
@ -4,10 +4,7 @@
|
|||
<span></span>
|
||||
<div class="links">
|
||||
{%- for link in links -%}
|
||||
{% capture href %}{{ link.link }}{% endcapture %}
|
||||
{% capture classes %}{{ link.icon }}{% endcapture %}
|
||||
{% capture label %}{{ link.title }}{% endcapture %}
|
||||
{% render 'partials/components/link', showLabel: false, label: label, href: href, class: classes, target: "_blank" %}
|
||||
<a href="{{ link.link }}" target="_blank" title="{{ link.title }}" class="{{ link.icon }}"></a>
|
||||
{%- endfor -%}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
<a
|
||||
href="{{ href }}"
|
||||
{% if rel %}rel="{{ rel }}"{% endif %}
|
||||
{% if class %}class="{{ class }}"{% endif %}
|
||||
{% if title %}title="{{ title }}"
|
||||
{% else %}title="{{ label }}"{% endif %}
|
||||
{% if target %}target="{{ target }}"{% endif %}
|
||||
>{% if showLabel == true or showLabel == nil %}{{ label }}{% endif %}
|
||||
</a>
|
||||
|
|
@ -1,19 +1,10 @@
|
|||
<ul class="list-inline socials-list {% if showLabel == true %}socials-list--label{% endif %}">
|
||||
{% if socials %}
|
||||
{% for social in socials %}
|
||||
<li>
|
||||
{% capture href %}{{ social.link }}{% endcapture %}
|
||||
{% capture classes %}{{ social.icon }} {% if showLabel == true %}{{ position | default: "icon--left" }}{% endif %}{% endcapture %}
|
||||
{% capture label %}{{ social.title }}{% endcapture %}
|
||||
{% render 'partials/components/link', showLabel: showLabel, label: label, href: href, class: classes, target: "_blank" %}
|
||||
</li>
|
||||
<li><a href="{{ social.link }}" class="{{ social.icon }} {% if showLabel == true %}{{ position | default: "icon--left" }}{% endif %}" title="{{ social.title }}" target="_blank">{% if showLabel == true %}{{ social.title }}{% endif %}</a></li>
|
||||
{% endfor %}
|
||||
{% if mail %}
|
||||
<li>
|
||||
{% capture href %}mailto:{{ mail }}{% endcapture %}
|
||||
{% capture classes %}icon-mail {% if showLabel == true %}{{ position | default: "icon--left" }}{% endif %}{% endcapture %}
|
||||
{% render 'partials/components/link', showLabel: showLabel, label: "Contactez moi par mail", href: href, class: classes, target: "_blank" %}
|
||||
</li>
|
||||
<li><a href="mailto:{{ mail }}" class="icon-mail {% if showLabel == true %}{{ position | default: "icon--left" }}{% endif %}" title="Contactez moi par mail" target="_blank">{% if showLabel == true %}Contactez moi par mail{% endif %}</a></li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
|
@ -1,11 +1,9 @@
|
|||
<footer class="wrapper-full">
|
||||
<div>
|
||||
<ul class="list-inline">
|
||||
<li>Réalisé avec {% render 'partials/components/link', label: "Eleventy", href: "https://11ty.dev/", target: "_blank", rel: "nofollow" %}</li>
|
||||
<li>Réalisé avec <a href='https://11ty.dev/' target='_blank' rel='nofollow'>Eleventy</a></li>
|
||||
{% if site.repository and site.repository != "" %}
|
||||
{% capture href %}{{ site.repository }}{% endcapture %}
|
||||
{% capture label %}{{ site.repoSrc }}{% endcapture %}
|
||||
<li>Source sur {% render 'partials/components/link', label: label, href: href, target: "_blank", rel: "nofollow" %}</li>
|
||||
<li>Source sur <a href="{{site.repository}}" target="_blank" rel="nofollow">{{site.repoSrc}}</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
|
|
|
|||
|
|
@ -179,7 +179,7 @@ section {
|
|||
gap: .2rem;
|
||||
|
||||
&--label {
|
||||
gap: 2rem;
|
||||
gap: 1rem;
|
||||
|
||||
a {
|
||||
--item-color: black;
|
||||
|
|
|
|||
Loading…
Reference in a new issue