Skip to content
Snippets Groups Projects
Commit fc112788 authored by Eloi Perdereau's avatar Eloi Perdereau
Browse files

Squashed commit of the following (merge netlify-cms):

commit fe32196955557067b2dd485e7512c110da358886
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Mon Nov 18 02:33:37 2019 +0100

    rename to lepuget

commit adc3d0d5eb727f764661be559db54218b816261a
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Mon Nov 18 02:31:52 2019 +0100

    clean authors.yms

commit 3841164eb093a217c23ec6ab90932656eb023399
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Mon Nov 18 02:18:32 2019 +0100

    add navigations and authors to cms

        - change how _data/(authors|navigation).yml are structured
        - try not to break everything

commit ab86d863550f7f4a794bbc3b96239e19a06e1e31
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Mon Nov 18 01:07:02 2019 +0100

    cms collections

commit 729a8314f23b91551d9e673e4e7ed6bbbfdc39a4
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Mon Nov 18 01:02:56 2019 +0100

    clean

commit 10a236463c39f6bc8d1c182a57c038aa52b238ef
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Mon Nov 18 01:02:29 2019 +0100

    complete replacement of header.overlay_image

commit f94ed28430fcf65b85b376dba3e5898236d9c17d
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Mon Nov 18 00:41:59 2019 +0100

    revert media_folder to assets/images

commit 309f6fe363ab3c81862cd794ac19a738fe3b9da8
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Mon Nov 18 00:36:34 2019 +0100

    Revert "try locale fr"

    This reverts commit b3f0c60ad8f6942e8f983cf4fa465cf7625fab4a.

commit a210cb41085d7ec0a4189bc3f66079c9a21c910e
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Mon Nov 18 00:36:22 2019 +0100

    remove editorial workflow + fix? media_folder

commit b9d764b3ace04db34134b0030e627f2eb31ef5a1
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Mon Nov 18 00:26:55 2019 +0100

    fix: add labels to collections

commit 61196b9adf78e335342eb33473bfbece93031738
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Mon Nov 18 00:18:45 2019 +0100

    update cms config

commit b3f0c60ad8f6942e8f983cf4fa465cf7625fab4a
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Sun Nov 17 23:51:20 2019 +0100

    try locale fr

commit eabb17d48da3392d17180091cce5cdbbb37ed5e5
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Sun Nov 17 23:45:34 2019 +0100

    move header.overlay_image attribute up

commit 96e92f2e350216e47679339c3bc8f0267dc5a63c
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Sun Nov 17 21:28:43 2019 +0100

    try out url as identifier and slug

commit 565b3b163b481ba6acf42b479bd781e92b38d760
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Sun Nov 17 19:22:25 2019 +0100

    hotfix

commit 4cd0cbe17642d93e99e2840a57e54cf817315359
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Sun Nov 17 19:19:59 2019 +0100

    cms config: fixes jardin + add ccl subfolders

commit d6f9c029aea2e754bd12bbc34ee90c4a053af4f4
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Sun Nov 17 19:08:47 2019 +0100

    update cms

        - title
        - redirection from home page to /admin/
        - backend repo
        - test preview: true
        - add jardin folder collection

commit a129c8247b1cfda9bea65882ee9a207dc74efb37
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Sun Nov 17 18:38:44 2019 +0100

    add admin/ config for netlify cms

commit 00eb56d61803d6394e09f7917e12a4926d71dcc2
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Sun Nov 17 05:29:45 2019 +0100

    large update

        - refonte structure: 1 auteur par dossier
        - navigation par auteur
        - auteur déduit du path
        - maj des priorités sur og_image
        - ajout og_image par défaut par auteur
        - ...

commit df5922e608914e52f3919ffd108fc84990ceedeb
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Sun Nov 17 00:48:33 2019 +0100

    clean toulouleur

commit 391560e76bad5215b1c3bfcb2f5bddbe4392ee7c
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Sun Nov 17 00:48:23 2019 +0100

    saner defaults in single layout

commit 651431c76bfbf00af49d73df5907732881f57035
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Sun Nov 17 00:15:06 2019 +0100

    font of title page tempura

commit 74d807f18ffea47c804d019643995a032b8e0517
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Sun Nov 17 00:13:43 2019 +0100

    centraliser les auteurs

commit b1b72285001ea0036ad53e6500f9679655cf914c
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Sat Nov 16 22:25:19 2019 +0100

    clean unrelated files from mmistakes

commit 643283df585f1a4ac84525ea738d99c9961fa525
Author: Eloi Perdereau <eloi@perdereau.eu>
Date:   Sat Nov 16 19:01:20 2019 +0100

    home: paniers bio a la place de toukouleur cassé
parent 69292f76
No related branches found
No related tags found
No related merge requests found
Showing with 259 additions and 160 deletions
# /_data/authors.yml
ccl:
name : "CCL"
prefix : "ccl"
avatar : /assets/images/authors-logo/indien-petit.png
og_image : /assets/images/logo-ccl-grand.png
banner : /assets/images/banniere-ccl-intime.png
bio : "Animer, partager, avancer, s'améliorer, s'amuser"
location : "Luminy"
email : "centre-culturel@luminy.org"
# uri : "ccl.luminy.org"
facebook : "CCLuminy"
helloasso : "centre-culturel-de-luminy"
links:
# - label: "GitHub"
# icon: "fab fa-fw fa-github"
# url: "https://github.com/perelo/CCL-site"
# - label: "Instagram"
# icon: "fab fa-fw fa-instagram"
# url: "https://instagram.com/"
# - label: "HelloAsso"
# icon: "fas fa-fw fa-link"
# url: "https://www.helloasso.com/associations/centre-culturel-de-luminy"
authors:
- name : "CCL"
prefix : "ccl"
avatar : /assets/images/authors-logo/indien-petit.png
og_image : /assets/images/logo-ccl-grand.png
banner : /assets/images/banniere-ccl-intime.png
bio : "Animer, partager, avancer, s'améliorer, s'amuser"
location : "Luminy"
email : "centre-culturel@luminy.org"
facebook : "CCLuminy"
helloasso : "centre-culturel-de-luminy"
jardin:
name : "Jardin Universitaire"
prefix : "jardin"
avatar : /assets/images/authors-logo/logo-jardin.png
banner : /assets/images/banniere-jardin.jpg
bio : "Jardin partagé chaleureux et ouvert à tous ! "
location : "Bât. D"
email : "jardin@luminy.org"
# uri : "jardin.luminy.org"
facebook : "jardinluminy"
helloasso : "jardin-universitaire-de-luminy"
links:
# - label: "HelloAsso"
# icon: "fas fa-fw fa-link"
# url: "https://www.helloasso.com/associations/centre-culturel-de-luminy"
- name : "Jardin Universitaire"
prefix : "jardin"
avatar : /assets/images/authors-logo/logo-jardin.png
banner : /assets/images/banniere-jardin.jpg
bio : "Jardin partagé chaleureux et ouvert à tous ! "
location : "Bât. D"
email : "jardin@luminy.org"
facebook : "jardinluminy"
helloasso : "jardin-universitaire-de-luminy"
links:
comnsea:
name : "Com & Sea"
prefix : "comnsea"
avatar : /assets/images/authors-logo/logo-com.png
bio : "Association d'Océanologie"
location : "Hexagone"
email : "comandseaass@gmail.com"
# uri : "jardin.luminy.org"
facebook : "comandseaAMU"
helloasso : #"jardin-universitaire-de-luminy"
links:
# - label: "HelloAsso"
# icon: "fas fa-fw fa-link"
# url: "https://www.helloasso.com/associations/centre-culturel-de-luminy"
club-science:
name : "Club de Science Luminy"
prefix : "club-science"
avatar : /assets/images/authors-logo/logo-club-sciences.jpeg
bio : "Organisation de conférences, de cours d'histoire et de philosophie des sciences"
location : "Luminy"
email : "club.science.luminy@gmail.com"
# uri : "jardin.luminy.org"
facebook : "Club-de-Science-Luminy-114357542612098/"
helloasso : #"jardin-universitaire-de-luminy"
links:
# - label: "HelloAsso"
# icon: "fas fa-fw fa-link"
# url: "https://www.helloasso.com/associations/centre-culturel-de-luminy"
- name : "Com & Sea"
prefix : "comnsea"
avatar : /assets/images/authors-logo/logo-com.png
bio : "Association d'Océanologie"
location : "Hexagone"
email : "comandseaass@gmail.com"
facebook : "comandseaAMU"
helloasso : #"jardin-universitaire-de-luminy"
links:
- name : "Club de Science Luminy"
prefix : "club-science"
avatar : /assets/images/authors-logo/logo-club-sciences.jpeg
bio : "Organisation de conférences, de cours d'histoire et de philosophie des sciences"
location : "Luminy"
email : "club.science.luminy@gmail.com"
facebook : "Club-de-Science-Luminy-114357542612098/"
......@@ -9,67 +9,45 @@ main:
- title: "Contacts"
url: /contacts/
ccl:
- 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: "Club de science"
url: /ccl/activites/club-science/
- 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/
jardin:
- title: ""
url: "/jardin/"
children:
- title: "Paniers bio"
url: /jardin/paniers/
- title: "Gallerie"
url: /jardin/gallerie/
# autre:
# - title: "Asso ALLIE"
# url: /luminy/allie/
# - title: "Conseil des résidents"
# url: /luminy/conseil-residents/
# - title: "Asso ERASMUS"
# url: /luminy/erasmus/
# - title: "Asso Com & Sea"
# url: /luminy/comnsea/
# - title: "FSE"
# url: /luminy/fse/
# # navigation sidebar
# footer:
# - title: "Agenda"
# url: "/agenda/"
# - title: "Luminy"
# url: "/luminy/"
# children:
# - title: "Votre projet"
# url: /luminy/votre-projet/
# - title: "Notre projet"
# url: /luminy/votre-projet/
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: "Club de science"
url: /ccl/activites/club-science/
- 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/
<!-- {% assign author = page.author | default: page.authors[0] | default: site.author %} -->
{% assign author = page.url | split: "/" %}
{% assign author = author[1] %}
{% assign author = site.data.authors[author] | default: author %}
{% assign author = site.data.authors.authors | where: "prefix", author | first %}
<div itemscope itemtype="https://schema.org/Person">
......
{% assign navigation = site.data.navigation[include.nav] %}
{% assign navigation = site.data.navigation.navs | where: "name", include.nav | map: "nav" | first %}
<nav class="nav__list">
{% if page.sidebar.title %}<h3 class="nav__title" style="padding-left: 0;">{{ page.sidebar.title }}</h3>{% endif %}
......
......@@ -10,10 +10,10 @@
{% capture cta_path %}{{ page.header.cta_url | relative_url }}{% endcapture %}
{% endif %}
{% if page.header.overlay_image contains "://" %}
{% capture overlay_img_path %}{{ page.header.overlay_image }}{% endcapture %}
{% elsif page.header.overlay_image %}
{% capture overlay_img_path %}{{ page.header.overlay_image | relative_url }}{% endcapture %}
{% if page.overlay_image contains "://" %}
{% capture overlay_img_path %}{{ page.overlay_image }}{% endcapture %}
{% elsif page.overlay_image %}
{% capture overlay_img_path %}{{ page.overlay_image | relative_url }}{% endcapture %}
{% elsif author.banner %}
{% capture overlay_img_path %}{{ author.banner | relative_url }}{% endcapture %}
{% endif %}
......@@ -32,10 +32,10 @@
{% assign image_description = image_description | markdownify | strip_html | strip_newlines | escape_once %}
<div class="page__hero{% if page.header.overlay_color or page.header.overlay_image or author.banner %}--overlay{% endif %}"
<div class="page__hero{% if page.header.overlay_color or page.overlay_image or author.banner %}--overlay{% endif %}"
style="{% if page.header.overlay_color %}background-color: {{ page.header.overlay_color | default: 'transparent' }};{% endif %} {% if overlay_img_path %}background-image: {% if overlay_filter %}linear-gradient({{ overlay_filter }}, {{ overlay_filter }}), {% endif %}url('{{ overlay_img_path }}');{% endif %}"
>
{% if page.header.overlay_color or page.header.overlay_image or author.banner %}
{% if page.overlay_image or author.banner %}
<div class="wrapper">
<h1 id="page-title" class="page__title" itemprop="headline">
{% if paginator and site.paginate_show_page_num %}
......
......@@ -27,13 +27,13 @@
{% assign author = page.url | split: "/" %}
{% assign author = author[1] %}
{% assign author = site.data.authors[author] | default: author %}
{% assign author = site.data.authors.authors | where: "prefix", author | first %}
{%- if author.twitter -%}
{%- assign author_twitter = author.twitter | replace: "@", "" -%}
{%- endif -%}
{%- assign page_large_image = page.og_image | default: author.og_image | default: author.avatar | default: page.header.overlay_image | default: page.header.image -%}
{%- assign page_large_image = page.og_image | default: author.og_image | default: author.avatar | default: page.overlay_image | default: page.header.image -%}
{%- unless page_large_image contains '://' -%}
{%- assign page_large_image = page_large_image | absolute_url -%}
{%- endunless -%}
......
......@@ -2,7 +2,7 @@
layout: default
---
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
{% if page.header.overlay_color or page.overlay_image or page.header.image %}
{% include page__hero.html %}
{% elsif page.header.video.id and page.header.video.provider %}
{% include page__hero_video.html %}
......@@ -18,7 +18,7 @@ layout: default
{% include sidebar.html %}
<div class="archive">
{% unless page.header.overlay_color or page.header.overlay_image %}
{% unless page.header.overlay_color or page.overlay_image %}
<h1 id="page-title" class="page__title">{{ page.title }}</h1>
{% endunless %}
{{ content }}
......
......@@ -2,7 +2,7 @@
layout: default
---
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
{% if page.header.overlay_color or page.overlay_image or page.header.image %}
{% include page__hero.html %}
{% endif %}
......@@ -16,7 +16,7 @@ layout: default
{% include sidebar.html %}
<div class="archive">
{% unless page.header.overlay_color or page.header.overlay_image %}
{% unless page.header.overlay_color or page.overlay_image %}
<h1 id="page-title" class="page__title">{{ page.title }}</h1>
{% endunless %}
......
......@@ -4,9 +4,9 @@ layout: default
{% assign author = page.url | split: "/" %}
{% assign author = author[1] %}
{% assign author = site.data.authors[author] | default: author %}
{% assign author = site.data.authors.authors | where: "prefix", author | first %}
{% if page.header.overlay_color or page.header.overlay_image or page.header.image or author.banner %}
{% if page.header.overlay_color or page.overlay_image or page.header.image or author.banner %}
{% include page__hero.html %}
{% elsif page.header.video.id and page.header.video.provider %}
{% include page__hero_video.html %}
......@@ -28,7 +28,7 @@ layout: default
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date: "%B %d, %Y" }}">{% endif %}
<div class="page__inner-wrap">
{% unless page.header.overlay_color or page.header.overlay_image or author.banner %}
{% unless page.header.overlay_color or page.overlay_image or author.banner %}
{% unless page.no_title %}
<header>
{% if page.title %}<h1 id="page-title" class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
......
......@@ -2,7 +2,7 @@
layout: default
---
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
{% if page.header.overlay_color or page.overlay_image or page.header.image %}
{% include page__hero.html %}
{% elsif page.header.video.id and page.header.video.provider %}
{% include page__hero_video.html %}
......
---
title: Ateliers
author_profile: true
header:
overlay_image: assets/images/atelier-combat.jpg
overlay_image: assets/images/atelier-combat.jpg
---
- dessin
......
---
title: Club de Science
author: club-science
header:
overlay_image: assets/images/banniere-club-science.png
overlay_image: assets/images/banniere-club-science.png
---
{{ site.data.external-links.facebook.link }}
......
......@@ -2,8 +2,7 @@
title: Nos activités
category_name: "activite"
toc: true
header:
overlay_image: assets/images/banniere-parvis.jpg
overlay_image: assets/images/banniere-parvis.jpg
---
# Le jardin universitaire
......
......@@ -2,9 +2,8 @@
title: Adhésion et soutiens
toc: true
share: true
header:
overlay_image: assets/images/banniere-bulles.png
og_image: assets/images/logo-ccl-grand.png
overlay_image: assets/images/banniere-bulles.png
og_image: assets/images/logo-ccl-grand.png
---
# Adhérez à l'asso du CCL
......
---
layout: splash
title: Centre Culturel de Luminy
overlay_image: assets/images/puget-fleuri.png
header:
overlay_image: assets/images/puget-fleuri.png
actions:
- label: "<i class='fas fa-users'></i> Adhérez"
url: "/ccl/adherer/"
......@@ -37,6 +37,17 @@ feature_row:
btn_class: "btn--primary"
btn_label: "Plus"
---
<script>
if (window.netlifyIdentity) {
window.netlifyIdentity.on("init", user => {
if (!user) {
window.netlifyIdentity.on("login", () => {
document.location.href = "/admin/";
});
}
});
}
</script>
{% include feature_row %}
......
---
title: Les paniers bio !
header:
overlay_image: assets/images/banniere-bulles.png
overlay_image: assets/images/banniere-bulles.png
---
Tous les jeudis, les paniers marseillais proposent des produits bio en direct de chez les producteurs ; légumes, fruits, œufs, pain, jus, vin, huile, olives, fruits secs, vinaigre, viande, fromages, ...
......
# config.yml
backend:
name: git-gateway
repo: CCLuminy/CCL-site
branch: cms # Branch to update (optional; defaults to master)
media_folder: 'assets/images/'
slug:
encoding: "ascii"
clean_accents: true
collections:
- name: 'data'
label: "Auteurs et Navigations"
editor:
preview: false
files:
- name: "authors"
label: "Auteurs"
file: "_data/authors.yml"
fields:
- label: "Auteurs"
name: "authors"
widget: "list"
fields:
- { label: "Nom à afficher", name: "name", widget: string }
- { required: false, label: "Nom court (pour l'url)", name: "prefix", widget: string }
- { label: "Avatar", name: "avatar", widget: image }
- { required: false, label: "Image de partage", name: "og_image", widget: string }
- { required: false, label: "Bannière par défaut", name: "banner", widget: string }
- { label: "Petite description", name: "bio", widget: string }
- { required: false, label: "Localisation", name: "location", widget: string }
- { required: false, label: "Email", name: "email", widget: string }
- { required: false, label: "Site internet", name: "uri", widget: string }
- { required: false, label: "Facebook", name: "facebook", widget: string }
- { required: false, label: "Helloasso", name: "helloasso", widget: string }
- required: false
label: "Autre"
name: "links"
widget: "list"
fields:
- {label: "Label", name: "label", widget: string}
- {label: "URL", name: "url", widget: string}
- {label: "Icone Fontawesome", name: "icon", widget: string, required: false}
- name: "navigation"
label: "Navigations"
file: "_data/navigation.yml"
fields:
- label: "Navigation d'entête"
name: "main"
widget: "list"
fields:
- {label: "Titre", name: "title", widget: string}
- {label: "Lien", name: "url", widget: string}
- label: "Navigations par 'auteur'"
name: "navs"
widget: "list"
fields:
- {label: "Nom court (pour url)", name: "name", widget: string}
- label: "Sections"
name: "nav"
widget: list
fields:
- {label: "Titre", name: "title", widget: string}
- {label: "Lien", name: "url", widget: string}
- label: "Sous-sections"
name: "children"
required: false
widget: "list"
fields:
- {label: "Titre", name: "title", widget: string}
- {label: "Lien", name: "url", widget: string}
- name: 'general'
label: 'Pages générales'
folder: '_pages/'
create: true
editor:
preview: true
fields:
- {label: "Titre de la page", name: "title", widget: "string"}
- {label: "Date de dernière mise à jour", name: "last_modified_at", widget: "date"}
- {label: "Remplacer le bandeau par défaut par un autre ?", name: "overlay_image", widget: "image", default: false}
- {label: "Body", name: "body", widget: "markdown"}
- name: 'ccl'
label: 'CCL'
folder: '_pages/ccl'
create: true
fields:
- {label: "Titre de la page", name: "title", widget: "string"}
- {label: "Date de dernière mise à jour", name: "last_modified_at", widget: "date"}
- {label: "Bandeau ?", name: "overlay_image", widget: "image", required: false}
- {label: "Body", name: "body", widget: "markdown"}
- name: 'l-asso'
label: "CCL/l'asso"
folder: '_pages/ccl/l-asso'
fields:
- {label: "Titre de la page", name: "title", widget: "string"}
- {label: "Date de dernière mise à jour", name: "last_modified_at", widget: "date"}
- {label: "Remplacer le bandeau par défaut par un autre ?", name: "overlay_image", widget: "image", required: false}
- {label: "Body", name: "body", widget: "markdown"}
- name: 'activites'
label: 'CCL/Activites'
folder: '_pages/ccl/activites/'
create: true
fields:
- {label: "Titre de la page", name: "title", widget: "string"}
- {label: "Date de dernière mise à jour", name: "last_modified_at", widget: "date"}
- {label: "Remplacer le bandeau par défaut par un autre ?", name: "overlay_image", widget: "image", required: false}
- {label: "Body", name: "body", widget: "markdown"}
- name: 'grenier'
label: 'CCL/Grenier'
folder: '_pages/ccl/grenier/'
create: true
fields:
- {label: "Titre de la page", name: "title", widget: "string"}
- {label: "Date de dernière mise à jour", name: "last_modified_at", widget: "date"}
- {label: "Remplacer le bandeau par défaut par un autre ?", name: "overlay_image", widget: "image", required: false}
- {label: "Body", name: "body", widget: "markdown"}
- name: 'jardin'
label: 'Jardin'
description: 'Tout est là'
folder: '_pages/jardin'
create: true
fields:
- {label: "Titre de la page", name: "title", widget: "string"}
- {label: "Date de dernière mise à jour", name: "last_modified_at", widget: "date"}
- {label: "Remplacer le bandeau par défaut par un autre ?", name: "overlay_image", widget: "image", required: false}
- {label: "Body", name: "body", widget: "markdown"}
<!-- admin/index.html -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CCLuminy CMS</title>
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>
<body>
<!-- Include the script that builds the page and powers Netlify CMS -->
<script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script>
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment