From 68a426422d1fcac8d672b656c472dec30f08aa22 Mon Sep 17 00:00:00 2001
From: Eloi Perdereau <eloi@perdereau.eu>
Date: Sun, 8 Dec 2019 20:22:28 +0100
Subject: [PATCH] pages de chacun ok avec fb + liens + details

---
 _data/authors.yml                             | 10 +++
 _data/extlinks.yml                            |  1 +
 _data/navigation.yml                          | 67 +++----------------
 _includes/author-profile.html                 |  3 +-
 _pages/about.md                               |  1 +
 _pages/agenda.md                              |  4 +-
 _pages/allie.md                               | 15 +++++
 _pages/allie/index.md                         |  5 --
 .../index.md => cafe-des-langues.md}          |  3 +-
 _pages/cafe-des-langues/.gitkeep              |  0
 .../index.md => club-science.md}              |  1 +
 _pages/comnsea.md                             | 13 ++++
 _pages/{fse/index.md => fse.md}               |  3 +-
 _pages/index.md                               | 14 ++--
 ...{logo-jardin-grand.png => logo-jardin.png} |  0
 15 files changed, 64 insertions(+), 76 deletions(-)
 create mode 100644 _pages/allie.md
 delete mode 100644 _pages/allie/index.md
 rename _pages/{cafe-des-langues/index.md => cafe-des-langues.md} (70%)
 delete mode 100644 _pages/cafe-des-langues/.gitkeep
 rename _pages/{club-science/index.md => club-science.md} (97%)
 create mode 100644 _pages/comnsea.md
 rename _pages/{fse/index.md => fse.md} (54%)
 rename assets/images/authors-logo/{logo-jardin-grand.png => logo-jardin.png} (100%)

diff --git a/_data/authors.yml b/_data/authors.yml
index 96c83e0..395ee96 100644
--- a/_data/authors.yml
+++ b/_data/authors.yml
@@ -76,3 +76,13 @@ authors:
   banner: ''
   helloasso: ''
   og_image: ''
+- name: Com&Sea
+  prefix: comnsea
+  avatar: "/assets/images/authors-logo/logo-com.png"
+  bio: Association d'océano
+  location: Hexagone
+  email: comandseaass@gmail.com
+  facebook: https://www.facebook.com/comandseaAMU/
+  banner: ''
+  helloasso: ''
+  og_image: ''
diff --git a/_data/extlinks.yml b/_data/extlinks.yml
index 891143f..9655cb0 100644
--- a/_data/extlinks.yml
+++ b/_data/extlinks.yml
@@ -8,6 +8,7 @@ fb-ccl: https://www.facebook.com/CCLuminy/
 fb-jardin: https://www.facebook.com/jardinluminy/
 fb-club-science: https://www.facebook.com/Club-de-Science-Luminy-114357542612098/
 fb-fse: https://www.facebook.com/Club-de-Science-Luminy-114357542612098/
+fb-allie: https://www.facebook.com/allie.luminy
 helloasso-ccl: https://www.helloasso.com/associations/centre-culturel-de-luminy
 github-ccl:  https://github.com/CCLuminy/CCL-site/
 cagette: http://app.cagette.net/group/2003
diff --git a/_data/navigation.yml b/_data/navigation.yml
index 2df005e..dec87e8 100644
--- a/_data/navigation.yml
+++ b/_data/navigation.yml
@@ -2,64 +2,13 @@
 main:
 - title: Agenda
   url: "/agenda/"
-- title: Le Grenier
-  url: "/grenier/"
 - title: À Propos
   url: "/about/"
-navs:
-- name: ccl
-  nav:
-  - title: Activités
-    url: "/ccl/activites/"
-    children:
-    - title: Concerts et festivals
-      url: "/ccl/activites/concerts/"
-    - title: Toukouleur
-      url: "/ccl/activites/toukouleur/"
-    - title: Les jeudis du CCL
-      url: "/ccl/activites/jeudis/"
-    - title: Campus propre
-      url: "/ccl/activites/campus-propre/"
-    - title: Projections
-      url: "/ccl/activites/projections/"
-    - title: Ateliers et animation
-      url: "/ccl/activites/ateliers/"
-    - title: Projets
-      url: "/ccl/activites/projets/"
-  - title: L'association
-    url: "/ccl/"
-    children:
-    - title: Qui sommes-nous ?
-      url: "/ccl/l-asso/presentation-longue/"
-    - title: Adhérer
-      url: "/ccl/l-asso/adherer/"
-    - title: Statuts
-      url: "/ccl/l-asso/statuts/"
-    - title: Contacts
-      url: "/ccl/l-asso/contacts/"
-- name: jardin
-  nav:
-  - title: ''
-    url: "/jardin/"
-    children:
-    - title: Paniers bio
-      url: "/jardin/paniers/"
-    - title: Gallerie
-      url: "/jardin/gallerie/"
-- name: club-science
-  nav:
-  - title: Club science
-    url: "/club-science/"
-    children:
-    - title: Ressources
-      url: "/club-science/ressources/"
-    - title: Contacts
-      utl: "/club-science/contacts/"
-      url: ''
-- name: fse
-  nav:
-  - title: FSE Luminy
-    url: "/fse/"
-    children:
-    - title: Communiqués de presse
-      url: "/fse/communiques"
+nav:
+# - title: Activités
+#   url: "/ccl/activites/"
+#   children:
+#   - title: Concerts et festivals
+#     url: "/ccl/activites/concerts/"
+#   - title: Toukouleur
+#     url: "/ccl/activites/toukouleur/"
diff --git a/_includes/author-profile.html b/_includes/author-profile.html
index 9ef529c..aee652d 100644
--- a/_includes/author-profile.html
+++ b/_includes/author-profile.html
@@ -1,5 +1,6 @@
 <!-- {% assign author = page.author | default: page.authors[0] | default: site.author %} -->
-{% assign author = site.data.authors.authors | where: "prefix", site.author | first %}
+{% assign author_prefix = page.author | default: site.author %}
+{% assign author = site.data.authors.authors | where: "prefix", author | first %}
 
 <div itemscope itemtype="https://schema.org/Person">
 
diff --git a/_pages/about.md b/_pages/about.md
index ebdac9e..56a1cdd 100644
--- a/_pages/about.md
+++ b/_pages/about.md
@@ -1,5 +1,6 @@
 ---
 title: Votre projet sur `luminy.org`
+author_profile: false
 ---
 ## Contribuez au référencement des activités luminyennes
 Vous êtes actifs sur Luminy ? Vous participez, contribuez ou organisez des
diff --git a/_pages/agenda.md b/_pages/agenda.md
index d060a0b..1f3cd37 100644
--- a/_pages/agenda.md
+++ b/_pages/agenda.md
@@ -4,9 +4,9 @@ description: Agenda commun luminy.org
 has_header: false
 header:
   type: default
-
+author_profile: false
 ---
 <iframe
 src="https://calendar.google.com/calendar/b/1/embed?height=600&amp;wkst=2&amp;bgcolor=%23ffffff&amp;ctz=Europe%2FParis&amp;src=bGVwdWdldEBsdW1pbnkub3Jn&amp;src=ZnIuZnJlbmNoI2hvbGlkYXlAZ3JvdXAudi5jYWxlbmRhci5nb29nbGUuY29t&amp;src=dm9ubTE3aG5jcDJtcWJmMXA0NGk4dDUxMjdydGszZmFAaW1wb3J0LmNhbGVuZGFyLmdvb2dsZS5jb20&amp;color=%23D6AE00&amp;color=%233366CC&amp;color=%233366CC&amp;showCalendars=1&amp;showPrint=0&amp;showNav=1"
 style="border-width:0" width="800" height="600" frameborder="0"
-scrolling="no"></iframe>
\ No newline at end of file
+scrolling="no"></iframe>
diff --git a/_pages/allie.md b/_pages/allie.md
new file mode 100644
index 0000000..302bfea
--- /dev/null
+++ b/_pages/allie.md
@@ -0,0 +1,15 @@
+---
+title: ALLIE
+author: allie
+---
+
+{{ site.data.external-links.facebook.link }}
+
+# Actualités sur [<i class='fab fa-facebook-square'></i>]({{ site.data.extlinks.fb-allie }})
+
+<!-- TODO: move this up, it should be executed only once -->
+<div id="fb-root"></div>
+<script async defer crossorigin="anonymous"
+src="https://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v5.0"></script>
+
+<div class="fb-page" data-href="https://www.facebook.com/alliejournal/" data-tabs="timeline" data-width="500" data-height="700" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/alliejournal/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/alliejournal/">ALLIÉ Luminy</a></blockquote></div>
diff --git a/_pages/allie/index.md b/_pages/allie/index.md
deleted file mode 100644
index d9ba142..0000000
--- a/_pages/allie/index.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: Café des Langues Luminy
----
-
-Go!
diff --git a/_pages/cafe-des-langues/index.md b/_pages/cafe-des-langues.md
similarity index 70%
rename from _pages/cafe-des-langues/index.md
rename to _pages/cafe-des-langues.md
index ebdc961..eefbfda 100644
--- a/_pages/cafe-des-langues/index.md
+++ b/_pages/cafe-des-langues.md
@@ -1,6 +1,7 @@
 ---
 title: Café des Langues Luminy
 last_modified_at: 2019-11-18 23:00:00 +0000
+author: cafe-des-langues
 ---
 Venez discuter avec des étudiants internationaux dans leur langue maternelle autour d'un bon café (italien, bien sûr), tous les jours, du lundi au vendredi, de 13h à 14h au Foyer étudiants (premier étage de l'Hexagone).
 
@@ -20,4 +21,4 @@ Vendredi : Français
 <script async defer crossorigin="anonymous"
 src="https://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v5.0"></script>
 
-<div class="fb-page" data-href="https://www.facebook.com/cafedeslanguesluminy" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/cafedeslanguesluminy" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/cafedeslanguesluminy">Café des Langues Luminy</a></blockquote></div>
+<div class="fb-page" data-href="https://www.facebook.com/cafedeslanguesluminy" data-tabs="timeline" data-width="500" data-height="700" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/cafedeslanguesluminy" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/cafedeslanguesluminy">Café des Langues Luminy</a></blockquote></div>
diff --git a/_pages/cafe-des-langues/.gitkeep b/_pages/cafe-des-langues/.gitkeep
deleted file mode 100644
index e69de29..0000000
diff --git a/_pages/club-science/index.md b/_pages/club-science.md
similarity index 97%
rename from _pages/club-science/index.md
rename to _pages/club-science.md
index 5b7d612..e7d7a0e 100644
--- a/_pages/club-science/index.md
+++ b/_pages/club-science.md
@@ -2,6 +2,7 @@
 title: Club de Science
 author: club-science
 overlay_image: assets/images/banniere-club-science.png
+author: club-science
 ---
 
 {{ site.data.external-links.facebook.link }}
diff --git a/_pages/comnsea.md b/_pages/comnsea.md
new file mode 100644
index 0000000..021356a
--- /dev/null
+++ b/_pages/comnsea.md
@@ -0,0 +1,13 @@
+---
+title: Com & Sea
+author: comnsea
+---
+
+# Actualités sur [<i class='fab fa-facebook-square'></i>]({{ site.data.extlinks.fb-fse }})
+<!-- TODO: move this up, it should be executed only once -->
+<div id="fb-root"></div>
+<script async defer crossorigin="anonymous"
+src="https://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v5.0"></script>
+
+<div class="fb-page" data-href="https://www.facebook.com/comandseaAMU/" data-tabs="timeline" data-width="500" data-height="700" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/comandseaAMU/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/comandseaAMU/">Com&amp;Sea (officiel)</a></blockquote></div>
+
diff --git a/_pages/fse/index.md b/_pages/fse.md
similarity index 54%
rename from _pages/fse/index.md
rename to _pages/fse.md
index 6d0988b..68c3b28 100644
--- a/_pages/fse/index.md
+++ b/_pages/fse.md
@@ -1,5 +1,6 @@
 ---
 title: Fédération Syndicale Étudiante
+author: fse
 ---
 
 # Actualités sur [<i class='fab fa-facebook-square'></i>]({{ site.data.extlinks.fb-fse }})
@@ -8,4 +9,4 @@ title: Fédération Syndicale Étudiante
 <script async defer crossorigin="anonymous"
 src="https://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v5.0"></script>
 
-<div class="fb-page" data-href="https://www.facebook.com/FSE.Luminy/" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/FSE.Luminy/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/FSE.Luminy/">FSE Luminy</a></blockquote></div>
+<div class="fb-page" data-href="https://www.facebook.com/FSE.Luminy/" data-tabs="timeline" data-width="500" data-height="700" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/FSE.Luminy/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/FSE.Luminy/">FSE Luminy</a></blockquote></div>
diff --git a/_pages/index.md b/_pages/index.md
index 8fc69b8..9caa430 100644
--- a/_pages/index.md
+++ b/_pages/index.md
@@ -96,13 +96,13 @@ last_modified_at: 2019-12-01 00:00:00 +0100
 
 <div class="cards-list">
 
-<a href="luminy.org">
+<a href="https://ccl.test.luminy.org">
   <div class="card">
     <div class="card_image"><img src="assets/images/authors-logo/logo-ccl-nb.png" /></div>
   </div>
 </a>
 
-<a href="">
+<a href="https://jardin.test.luminy.org">
   <div class="card">
     <div class="card_image">
       <img src="assets/images/authors-logo/logo-jardin.png" />
@@ -113,7 +113,7 @@ last_modified_at: 2019-12-01 00:00:00 +0100
   </div>
 </a>
 
-<a href="">
+<a href="club-science">
   <div class="card">
     <div class="card_image">
       <img src="assets/images/authors-logo/logo-club-sciences.jpeg" />
@@ -124,7 +124,7 @@ last_modified_at: 2019-12-01 00:00:00 +0100
   </div>
 </a>
 
-<a href="">
+<a href="allie">
   <div class="card">
     <div class="card_image">
       <img src="assets/images/authors-logo/allie.png" />
@@ -132,7 +132,7 @@ last_modified_at: 2019-12-01 00:00:00 +0100
   </div>
 </a>
 
-<a href="">
+<a href="fse">
   <div class="card">
     <div class="card_image">
       <img src="assets/images/authors-logo/fse-transparent.png" />
@@ -140,7 +140,7 @@ last_modified_at: 2019-12-01 00:00:00 +0100
   </div>
 </a>
 
-<a href="">
+<a href="comnsea">
   <div class="card">
     <div class="card_image">
       <img src="assets/images/authors-logo/logo-com.png" />
@@ -148,7 +148,7 @@ last_modified_at: 2019-12-01 00:00:00 +0100
   </div>
 </a>
 
-<a href="">
+<a href="cafe-des-langues">
   <div class="card">
     <div class="card_image">
       <img src="assets/images/authors-logo/cafe-des-langues.png" />
diff --git a/assets/images/authors-logo/logo-jardin-grand.png b/assets/images/authors-logo/logo-jardin.png
similarity index 100%
rename from assets/images/authors-logo/logo-jardin-grand.png
rename to assets/images/authors-logo/logo-jardin.png
-- 
GitLab