From 34dbdc20ea051463e5753e13b298fdf9358fe8fa Mon Sep 17 00:00:00 2001
From: Eloi Perdereau <eloi@perdereau.eu>
Date: Sat, 23 Nov 2019 00:32:44 +0100
Subject: [PATCH] revert footer stuffs

---
 _config.yml           | 30 ++++++++++--------------------
 _data/authors.yml     |  2 +-
 _includes/footer.html | 35 +++++++++++++++++++++--------------
 3 files changed, 32 insertions(+), 35 deletions(-)

diff --git a/_config.yml b/_config.yml
index 67cada3..10f494a 100644
--- a/_config.yml
+++ b/_config.yml
@@ -109,29 +109,19 @@ analytics:
 # Site Footer
 footer:
   links:
-    - label: "Poèmes"
-      url: "/poemes/"
-    - label: "Témoignages"
-      url: "/poemes/"
-    - label: "À propos"
-      url: "/about/"
-    - label: "Contribuer"
-      url: "/contribute/"
-    - label: "Contact webmaster"
-      url: "/contact/"
     # - label: "Twitter"
     #   icon: "fab fa-fw fa-twitter-square"
       # url:
-    # - label: "Facebook"
-    #   icon: "fab fa-fw fa-facebook-square"
-    #   url: "https://facebook.com/CCLuminy"
-    # - label: "HelloAsso"
-    #   url: "https://www.helloasso.com/associations/centre-culturel-de-luminy"
-    # - label: "GitHub"
-    #   icon: "fab fa-fw fa-github"
-    #   url: "https://github.com/CCLuminy/CCL-site"
-    # - label: "À propos"
-    #   url: "/contacts/#fonctionnement-associatif"
+    - label: "Facebook"
+      icon: "fab fa-fw fa-facebook-square"
+      url: "https://facebook.com/CCLuminy"
+    - label: "HelloAsso"
+      url: "https://www.helloasso.com/associations/centre-culturel-de-luminy"
+    - label: "GitHub"
+      icon: "fab fa-fw fa-github"
+      url: "https://github.com/CCLuminy/CCL-site"
+    - label: "À propos"
+      url: "/contacts/#fonctionnement-associatif"
     # - label: "GitLab"
     #   icon: "fab fa-fw fa-gitlab"
       # url:
diff --git a/_data/authors.yml b/_data/authors.yml
index 28c3f04..6b58c8c 100644
--- a/_data/authors.yml
+++ b/_data/authors.yml
@@ -1,6 +1,6 @@
 # /_data/authors.yml
 authors:
-  - name             : "Centre Culturel de Luminy"
+  - name             : "CCL"
     prefix           : "ccl"
     avatar           : /assets/images/authors-logo/indien-petit.png
     og_image         : /assets/images/logo-ccl-grand.png
diff --git a/_includes/footer.html b/_includes/footer.html
index 54c10ed..ef1e25c 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -1,16 +1,23 @@
-ul class social-icons
 <div class="page__footer-follow">
-    <ul class="social-icons">
-    {% for link in site.footer.links %}
-      <li>
-        <a href="{{ link.url }}/">{{ link.label }}</a>
-      </li>
-    {% endfor %}
-    <ul class="social-icons">
-    {% for author in site.data.authors.authors %}
-      <li>
-        <a href="/{{ author.prefix }}/">{{ author.name }}</a>
-      </li>
-    {% endfor %}
+  <ul class="social-icons">
+    <!-- {% if site.data.ui-text[site.locale].follow_label %} -->
+    <!--   <li><strong>{{ site.data.ui-text[site.locale].follow_label }}</strong></li> -->
+    <!-- {% endif %} -->
+
+    {% if site.footer.links %}
+      {% for link in site.footer.links %}
+        {% if link.label and link.url %}
+          <li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
+        {% endif %}
+      {% endfor %}
+    {% endif %}
+
+    {% if site.rss %}
+    <li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</a></li>
+    {% endif %}
+  </ul>
 </div>
-<div class="page__footer-copyright">&copy; 2002-{{ site.time | date: '%Y' }} {{ site.name | default: site.title }}</div>
+
+<div class="page__footer-copyright">&copy; 2000-{{ site.time | date: '%Y' }} {{ site.name | default: site.title }}</div>
+
+<!-- {{ site.data.ui-text[site.locale].website_label | default: "Website" }} {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" | downcase }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>, {{ site.data.ui-text[site.locale].hosted_by | default: "Hosted by" | downcase }} <a href="https://www.netlify.com/" rel="nofollow">Netlify</a>. -->
-- 
GitLab