From f5a2f960d0a9fbab6fdc6357c80f19fe63b3d729 Mon Sep 17 00:00:00 2001
From: Eloi Perdereau <eloi@perdereau.eu>
Date: Fri, 22 Nov 2019 19:21:17 +0100
Subject: [PATCH] remplace le contenu du footer (2 listes atm)

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

diff --git a/_config.yml b/_config.yml
index 10f494a..67cada3 100644
--- a/_config.yml
+++ b/_config.yml
@@ -109,19 +109,29 @@ 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 6b58c8c..28c3f04 100644
--- a/_data/authors.yml
+++ b/_data/authors.yml
@@ -1,6 +1,6 @@
 # /_data/authors.yml
 authors:
-  - name             : "CCL"
+  - name             : "Centre Culturel de Luminy"
     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 ef1e25c..b24726a 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -1,23 +1,21 @@
 <div class="page__footer-follow">
-  <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>
+    Luminy.org :
+    <ul>
+    {% for link in site.footer.links %}
+      <li>
+        <a href="{{ link.url }}/">{{ link.label }}</a>
+      </li>
+    {% endfor %}
+  </div>
+  <div>
+    Raccourcis :
+    <ul>
+    {% for author in site.data.authors.authors %}
+      <li>
+        <a href="/{{ author.prefix }}/">{{ author.name }}</a>
+      </li>
+    {% endfor %}
+  </div>
 </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>. -->
+<div class="page__footer-copyright">&copy; 2002-{{ site.time | date: '%Y' }} {{ site.name | default: site.title }}</div>
-- 
GitLab