remotes/1693055039339581669/master
Igor Laborie 5 years ago
parent eb24938f1c
commit c052fc4c0b
  1. 4
      .gitignore
  2. 6
      .gitmodules
  3. 16
      package.json
  4. 7
      test-hugo/config.toml
  5. 130
      test-hugo/data/parteners.yml
  6. 126
      test-hugo/data/partners.yml
  7. 1116
      test-hugo/data/sessions.yml
  8. 1039
      test-hugo/data/speakers.yml
  9. 289
      test-hugo/data/team.yml
  10. 40
      test-hugo/data/tickets.yml
  11. 1
      test-hugo/themes/ga-hugo-theme
  12. 2
      test-hugo/themes/test-theme-hugo/layouts/_default/baseof.html
  13. 12
      test-hugo/themes/test-theme-hugo/layouts/_default/list.html
  14. 12
      test-hugo/themes/test-theme-hugo/layouts/_default/single.html
  15. 4
      test-hugo/themes/test-theme-hugo/layouts/partials/head.html
  16. 38
      tools/extract-data.js
  17. 3564
      yarn.lock

4
.gitignore vendored

@ -1,3 +1,5 @@
_gen/
test-hugo/themes/ananke/
test-hugo/public/
test-hugo/public/
node_modules/

6
.gitmodules vendored

@ -0,0 +1,6 @@
[submodule "themes/ga-hugo-theme"]
path = themes/ga-hugo-theme
url = https://github.com/giraffeacademy/ga-hugo-theme
[submodule "test-hugo/themes/ga-hugo-theme"]
path = test-hugo/themes/ga-hugo-theme
url = https://github.com/giraffeacademy/ga-hugo-theme

@ -0,0 +1,16 @@
{
"name": "proto-site-2019",
"version": "1.0.0",
"main": "index.js",
"author": "Igor Laborie <ilaborie@gmail.com>",
"license": "MIT",
"scripts": {
"extract-data": "node tools/extract-data.js",
"publish": "echo 'TODO: firebase deploy'",
"publish:prod": "echo 'TODO: firebase deploy -P devfest-prod'"
},
"devDependencies": {
"firebase-tools": "^6.2.2",
"js-yaml": "^3.12.0"
}
}

@ -3,9 +3,8 @@ languageCode = "fr-FR"
title = "Devfest Toulouse 2019"
# Theme
theme = "test-theme-hugo"
# theme = "ananke"
#theme = "test-theme-hugo"
theme = "ga-hugo-theme"
# Params
@ -38,4 +37,4 @@ verbose = true
simple = false
[privacy.youtube]
disable = false
privacyEnhanced = false
privacyEnhanced = false

@ -1,130 +0,0 @@
- title: "Platinium"
style: "partner-pt"
logos:
- name: "Delair"
url: "https://delair.aero/"
logoUrl: "/images/partners/Delair.png"
- name: "Continental"
url: "https://www.continental-corporation.com/fr-fr/"
logoUrl: "/images/partners/logo-continental.png"
- name: "Airbus"
url: "https://www.airbus.com/"
logoUrl: "/images/partners/logo-airbus.png"
- name: "Toulouse Métropole"
url: "https://www.toulouse-metropole.fr/"
logoUrl: "/images/partners/tls-metropole.png"
- title: "Gold"
style: "partner-au"
logos:
- name: "Stack Labs"
url: "https://www.stack-labs.com/"
logoUrl: "/images/partners/logo-stacklab.png"
- name: "Monkey Patch"
url: "http://www.monkeypatch.io/"
logoUrl: "/images/partners/Logo_MonkeyPatch_Bleu.png"
- name: "CS Systèmes d'information"
url: "https://www.c-s.fr/"
logoUrl: "/images/partners/logo-cs.png"
- name: "Informatique Banque Populaire"
url: "https://informatique.banquepopulaire.fr/"
logoUrl: "/images/partners/logo_i-BP2.png"
- name: "Sigfox"
url: "https://www.sigfox.com/en"
logoUrl: "/images/partners/logo-sigfox.svg"
- name: "Cirruseo"
url: "https://www.cirruseo.com/"
logoUrl: "/images/partners/logo-cirruseo.png"
- name: "OnePoint"
url: "https://www.groupeonepoint.com/"
logoUrl: "/images/partners/logo-onepoint.png"
- name: "FullSave"
url: "https://www.fullsave.com/"
logoUrl: "/images/partners/logo-fullsave.png"
- name: "JFrog"
url: "https://jfrog.com/"
logoUrl: "/images/partners/logo-jfrog.svg"
- name: "Palo IT"
url: "http://fr.palo-it.com/"
logoUrl: "/images/partners/logo-paloit.png"
- name: "Lyra Network"
url: "https://www.lyra-network.com/"
logoUrl: "/images/partners/logo-lyra.png"
- name: "PROJIXI"
url: "http://www.projixi-europe.com/"
logoUrl: "/images/partners/logo-projixi.png"
- name: "FittingBox"
url: "https://www.fittingbox.com/"
logoUrl: "/images/partners/logo-fittingbox.png"
- name: "Ippon"
url: "https://fr.ippon.tech/"
logoUrl: "/images/partners/logo-ippon.svg"
- name: "Capgemini"
url: "https://www.capgemini.com/fr-fr/"
logoUrl: "/images/partners/logo-capgemini.svg"
- name: "Sogeti"
url: "https://www.fr.sogeti.com/"
logoUrl: "/images/partners/logo-sogeti.jpg"
- title: "Soutien"
style: "partner"
logos:
- name: "Commit42"
url: "https://www.commit42.fr/"
logoUrl: "/images/partners/commit42.png"
- name: "SQLI"
url: "http://www.sqli.com/"
logoUrl: "/images/partners/logo-sqli.png"
- name: "Gisaia"
url: "http://gisaia.fr/"
logoUrl: "/images/partners/logo-gisaia.png"
- name: "DocDoku"
url: "https://www.docdoku.com/"
logoUrl: "/images/partners/docdoku_inverse_web.png"
- name: "CNES"
url: "https://cnes.fr/"
logoUrl: "/images/partners/logo-cnes.jpg"
- name: "VISEO"
url: "http://www.viseo.com/fr"
logoUrl: "/images/partners/logo-viseo.png"
- name: "Pierre Fabre"
url: "https://www.pierre-fabre.com/fr"
logoUrl: "/images/partners/logo-pierrefabre.png"
- name: "Étincelle Coworking"
url: "http://www.coworking-toulouse.com/"
logoUrl: "/images/partners/logo-etincelle.gif"
- name: "SII"
url: "http://www.groupe-sii.com/fr"
logoUrl: "/images/partners/logo-sii.png"
- name: "Morning"
url: "https://morning.com/fr/"
logoUrl: "/images/partners/logo-morning.svg"
- title: "Média"
style: "partner"
logos:
- name: "Programmez"
url: "https://www.programmez.com/"
logoUrl: "/images/partners/media/logo_programmez.svg"
- title: "Communautés"
style: "partner"
logos:
- name: "Toulouse Data Science"
url: "http://www.tlse-data-science.fr/"
logoUrl: "/images/partners/community/tds.png"
- name: "Toulouse JUG"
url: "https://www.toulousejug.org/"
logoUrl: "/images/partners/community/toulouse_jug.png"
- name: "Duchess FR"
url: "https://www.duchess-france.org/"
logoUrl: "/images/partners/community/duchess_fr.svg"
- name: "ToulouseJS"
url: "https://twitter.com/ToulouseJS"
logoUrl: "/images/partners/community/toulousejs.png"
- name: "Toulouse Devops"
url: "http://toulousedevops.org/"
logoUrl: "/images/partners/community/toulousedevops.jpg"
- name: "GDG Toulouse"
url: "https://www.gdgtoulouse.fr/"
logoUrl: "/images/partners/community/gdgtoulouse.jpeg"

@ -0,0 +1,126 @@
- title: Platinium
style: partner-pt
logos:
- name: Delair
url: 'https://delair.aero/'
logoUrl: /images/partners/Delair.png
- name: Continental
url: 'https://www.continental-corporation.com/fr-fr/'
logoUrl: /images/partners/logo-continental.png
- name: Airbus
url: 'https://www.airbus.com/'
logoUrl: /images/partners/logo-airbus.png
- name: Toulouse Métropole
url: 'https://www.toulouse-metropole.fr/'
logoUrl: /images/partners/tls-metropole.png
- title: Gold
style: partner-au
logos:
- name: Stack Labs
url: 'https://www.stack-labs.com/'
logoUrl: /images/partners/logo-stacklab.png
- name: Monkey Patch
url: 'http://www.monkeypatch.io/'
logoUrl: /images/partners/Logo_MonkeyPatch_Bleu.png
- name: CS Systèmes d'information
url: 'https://www.c-s.fr/'
logoUrl: /images/partners/logo-cs.png
- name: Informatique Banque Populaire
url: 'https://informatique.banquepopulaire.fr/'
logoUrl: /images/partners/logo_i-BP2.png
- name: Sigfox
url: 'https://www.sigfox.com/en'
logoUrl: /images/partners/logo-sigfox.svg
- name: Cirruseo
url: 'https://www.cirruseo.com/'
logoUrl: /images/partners/logo-cirruseo.png
- name: OnePoint
url: 'https://www.groupeonepoint.com/'
logoUrl: /images/partners/logo-onepoint.png
- name: FullSave
url: 'https://www.fullsave.com/'
logoUrl: /images/partners/logo-fullsave.png
- name: JFrog
url: 'https://jfrog.com/'
logoUrl: /images/partners/logo-jfrog.svg
- name: Palo IT
url: 'http://fr.palo-it.com/'
logoUrl: /images/partners/logo-paloit.png
- name: Lyra Network
url: 'https://www.lyra-network.com/'
logoUrl: /images/partners/logo-lyra.png
- name: PROJIXI
url: 'http://www.projixi-europe.com/'
logoUrl: /images/partners/logo-projixi.png
- name: FittingBox
url: 'https://www.fittingbox.com/'
logoUrl: /images/partners/logo-fittingbox.png
- name: Ippon
url: 'https://fr.ippon.tech/'
logoUrl: /images/partners/logo-ippon.svg
- name: Capgemini
url: 'https://www.capgemini.com/fr-fr/'
logoUrl: /images/partners/logo-capgemini.svg
- name: Sogeti
url: 'https://www.fr.sogeti.com/'
logoUrl: /images/partners/logo-sogeti.jpg
- title: Soutien
style: partner
logos:
- name: Commit42
url: 'https://www.commit42.fr/'
logoUrl: /images/partners/commit42.png
- name: SQLI
url: 'http://www.sqli.com/'
logoUrl: /images/partners/logo-sqli.png
- name: Gisaia
url: 'http://gisaia.fr/'
logoUrl: /images/partners/logo-gisaia.png
- name: DocDoku
url: 'https://www.docdoku.com/'
logoUrl: /images/partners/docdoku_inverse_web.png
- name: CNES
url: 'https://cnes.fr/'
logoUrl: /images/partners/logo-cnes.jpg
- name: VISEO
url: 'http://www.viseo.com/fr'
logoUrl: /images/partners/logo-viseo.png
- name: Pierre Fabre
url: 'https://www.pierre-fabre.com/fr'
logoUrl: /images/partners/logo-pierrefabre.png
- name: Étincelle Coworking
url: 'http://www.coworking-toulouse.com/'
logoUrl: /images/partners/logo-etincelle.gif
- name: SII
url: 'http://www.groupe-sii.com/fr'
logoUrl: /images/partners/logo-sii.png
- name: Morning
url: 'https://morning.com/fr/'
logoUrl: /images/partners/logo-morning.svg
- title: Média
style: partner
logos:
- name: Programmez
url: 'https://www.programmez.com/'
logoUrl: /images/partners/media/logo_programmez.svg
- title: Communautés
style: partner
logos:
- name: Toulouse Data Science
url: 'http://www.tlse-data-science.fr/'
logoUrl: /images/partners/community/tds.png
- name: Toulouse JUG
url: 'https://www.toulousejug.org/'
logoUrl: /images/partners/community/toulouse_jug.png
- name: Duchess FR
url: 'https://www.duchess-france.org/'
logoUrl: /images/partners/community/duchess_fr.svg
- name: ToulouseJS
url: 'https://twitter.com/ToulouseJS'
logoUrl: /images/partners/community/toulousejs.png
- name: Toulouse Devops
url: 'http://toulousedevops.org/'
logoUrl: /images/partners/community/toulousedevops.jpg
- name: GDG Toulouse
url: 'https://www.gdgtoulouse.fr/'
logoUrl: /images/partners/community/gdgtoulouse.jpeg

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,145 +1,144 @@
- name: "Julien Del Rio"
title: "GDG Toulouse"
photoUrl: "/images/people/julien_delrio.jpg"
socials:
- icon: "twitter"
name: "Twitter"
link: "https://twitter.com/JulienDelRio"
- name: "Julien Renaux"
title: "GDG Toulouse"
photoUrl: "/images/people/julien_renaux.jpg"
socials:
- icon: twitter
name: Twitter
link: "https://twitter.com/julienrenaux"
- icon: "github"
name: "Github"
link: "https://github.com/shprink"
- icon: "linkedin"
name: "LinkedIn"
link: "https://www.linkedin.com/in/julienrenaux/"
- name: "Alexia Audevart"
title: "Toulouse Data Science"
photoUrl: "https://www.ekito.fr/img/team/aaudevart.jpg"
socials:
- name: Twitter
icon: twitter
link: "https://www.twitter.com/aaudevart"
- name: "Github"
icon: "github"
link: "https://github.com/aaudevart"
- name: "Linkedin"
icon: "linkedin"
link: "https://www.linkedin.com/in/alexia-audevart-450b8a1/"
- name: "Kevin Davin"
title: "GDG Toulouse & Toulouse JUG"
photoUrl: "/images/people/kevin_davin.png"
socials:
- name: "Google+"
icon: "gplus"
link: "https://plus.google.com/+KevinDavin"
- name: Twitter
icon: twitter
link: "https://twitter.com/davinkevin"
- name: "Github"
icon: "github"
link: "https://github.com/davinkevin/"
- name: "LinkedIn"
icon: "linkedin"
link: "www.linkedin.com/in/davinkevin"
- name: "Aurélie Vache"
title: "Duchess France / Toulouse Data Science"
photoUrl: "/images/people/aurelie_vache.png"
socials:
- name: Twitter
icon: twitter
link: "https://www.twitter.com/aurelievache"
- name: "Site"
icon: "website"
link: "http://scraly.com/"
- name: "LinkedIn"
icon: "linkedin"
link: "https://www.linkedin.com/in/aurelievache"
- name: "Github"
icon: "github"
link: "https://github.com/scraly"
- name: "Maxime Pawlak"
title: "GDG Toulouse"
photoUrl: "/images/people/maxime_pawlak.jpg"
socials:
- name: Twitter
icon: twitter
link: "https://twitter.com/Maxime_Pawlak"
- name: "Didier Plaindoux"
title: "Toulouse JUG"
photoUrl: "/images/people/didier_plaindoux.jpeg"
socials:
- name: Twitter
icon: twitter
link: "https://twitter.com/dplaindoux"
- name: "Vincent Ferries"
title: "Toulouse JUG"
photoUrl: "https://pbs.twimg.com/profile_images/697834407407849472/bzv1VZJm_400x400.jpg"
socials:
- name: Twitter
icon: twitter
link: "https://twitter.com/VincentFERRIES"
- name: "Igor Laborie"
title: "Folivoraphile"
photoUrl: "https://pbs.twimg.com/profile_images/3404066863/94e02f3bca9b038c4546f4e42ed05bc6.jpeg"
socials:
- name: Twitter
icon: twitter
link: "https://twitter.com/ilaborie"
- name: "Github"
icon: "github"
link: "https://github.com/ilaborie"
- name: "Emmanuel Vinas"
title: "GDG Toulouse"
photoUrl: "/images/people/emmanuel_vinas.jpeg"
socials:
- name: Twitter
icon: twitter
link: "https://twitter.com/EmmanuelVinas"
- name: "Lionel Porcheron"
title: "Toulouse DevOps"
photoUrl: "/images/people/lionel_porcheron.jpg"
socials:
- name: Twitter
icon: twitter
link : "https://twitter.com/lporcheron"
- name: "Michaël Pailloncy"
title: "Toulouse JAM / JUG"
photoUrl: "https://s.gravatar.com/avatar/1b42d100589ea585ce9a1f359b8d4496?s=160"
socials:
- name: Twitter
icon: twitter
link: "https://twitter.com/mpailloncy"
- name: "Github"
icon: "github"
link: "https://github.com/mpailloncy"
- name: "LinkedIn"
icon: "linkedin"
link: "https://www.linkedin.com/in/michael-pailloncy-21119827/"
- name: "Elodie Lerare"
title: ""
photoUrl: "images/people/elodie_lerare.jpg"
socials:
- name: Twitter
icon: twitter
link: "https://twitter.com/EloBlou"
- name: "LinkedIn"
icon: "linkedin"
link: "https://www.linkedin.com/in/elodie-lerare-223a6b41/"
- members:
- name: Julien Del Rio
photoUrl: /images/people/julien_delrio.jpg
socials:
- icon: twitter
link: 'https://twitter.com/JulienDelRio'
name: Twitter
title: GDG Toulouse
- name: Julien Renaux
photoUrl: /images/people/julien_renaux.jpg
socials:
- icon: twitter
link: 'https://twitter.com/julienrenaux'
name: Twitter
- icon: github
link: 'https://github.com/shprink'
name: Github
- icon: linkedin
link: 'https://www.linkedin.com/in/julienrenaux/'
name: LinkedIn
title: GDG Toulouse
- name: Alexia Audevart
photoUrl: 'https://www.ekito.fr/img/team/aaudevart.jpg'
socials:
- icon: twitter
link: 'https://www.twitter.com/aaudevart'
name: Twitter
- icon: github
link: 'https://github.com/aaudevart'
name: Github
- icon: linkedin
link: 'https://www.linkedin.com/in/alexia-audevart-450b8a1/'
name: Linkedin
title: Toulouse Data Science
- name: Kevin Davin
photoUrl: /images/people/kevin_davin.png
socials:
- icon: gplus
link: 'https://plus.google.com/+KevinDavin'
name: Google+
- icon: twitter
link: 'https://twitter.com/davinkevin'
name: Twitter
- icon: github
link: 'https://github.com/davinkevin/'
name: Github
- icon: linkedin
link: www.linkedin.com/in/davinkevin
name: LinkedIn
title: GDG Toulouse & Toulouse JUG
- name: Aurélie Vache
photoUrl: /images/people/aurelie_vache.png
socials:
- icon: twitter
link: 'https://www.twitter.com/aurelievache'
name: Twitter
- icon: website
link: 'http://scraly.com/'
name: Site
- icon: linkedin
link: 'https://www.linkedin.com/in/aurelievache'
name: LinkedIn
- icon: github
link: 'https://github.com/scraly'
name: Github
title: Duchess France / Toulouse Data Science
- name: Maxime Pawlak
photoUrl: /images/people/maxime_pawlak.jpg
socials:
- icon: twitter
link: 'https://twitter.com/Maxime_Pawlak'
name: Twitter
title: GDG Toulouse
- name: Michaël Bitard
photoUrl: /images/people/michael_bitard.jpg
socials:
- icon: twitter
link: 'https://twitter.com/bitardmichael'
name: Twitter
title: Electron liiiibre
- name: Didier Plaindoux
photoUrl: /images/people/didier_plaindoux.jpeg
socials:
- icon: twitter
link: 'https://twitter.com/dplaindoux'
name: Twitter
title: Toulouse JUG
- name: Vincent Ferries
photoUrl: >-
https://pbs.twimg.com/profile_images/697834407407849472/bzv1VZJm_400x400.jpg
socials:
- icon: twitter
link: 'https://twitter.com/VincentFERRIES'
name: Twitter
title: Toulouse JUG
- name: Igor Laborie
photoUrl: >-
https://pbs.twimg.com/profile_images/3404066863/94e02f3bca9b038c4546f4e42ed05bc6.jpeg
socials:
- icon: twitter
link: 'https://twitter.com/ilaborie'
name: Twitter
- icon: github
link: 'https://github.com/ilaborie'
name: Github
title: Folivoraphile
- name: Emmanuel Vinas
photoUrl: /images/people/emmanuel_vinas.jpeg
socials:
- icon: twitter
link: 'https://twitter.com/EmmanuelVinas'
name: Twitter
title: GDG Toulouse
- name: Lionel Porcheron
photoUrl: /images/people/lionel_porcheron.jpg
socials:
- icon: twitter
link: 'https://twitter.com/lporcheron'
name: Twitter
title: Toulouse DevOps
- name: Michaël Pailloncy
photoUrl: 'https://s.gravatar.com/avatar/1b42d100589ea585ce9a1f359b8d4496?s=160'
socials:
- icon: twitter
link: 'https://twitter.com/mpailloncy'
name: Twitter
- icon: github
link: 'https://github.com/mpailloncy'
name: Github
- icon: linkedin
link: 'https://www.linkedin.com/in/michael-pailloncy-21119827/'
name: LinkedIn
title: Toulouse JAM / JUG
- name: Elodie Lerare
photoUrl: images/people/elodie_lerare.jpg
socials:
- icon: twitter
link: 'https://twitter.com/EloBlou'
name: Twitter
- icon: linkedin
link: 'https://www.linkedin.com/in/elodie-lerare-223a6b41/'
name: LinkedIn
title: ''
title: Core Team

@ -1,36 +1,34 @@
- currency: "€"
starts: "04 Avril"
ends: "08 Novembre"
info: "50 premières places"
name: "BlindBirds"
- currency:
starts: 04 Avril
ends: 08 Novembre
info: 50 premières places
name: BlindBirds
price: 40
available: true
inDemand: false
regular: true
soldOut: true
url: "https://www.billetweb.fr/devfest-toulouse-2019"
- currency: "€"
starts: "06 Juin"
ends: "08 Novembre"
info: "70 premières places"
name: "EarlyBirds"
url: 'https://www.billetweb.fr/devfest-toulouse-2018'
- currency:
starts: 06 Juin
ends: 08 Novembre
info: 70 premières places
name: EarlyBirds
price: 60
available: true
inDemand: false
regular: true
soldOut: true
url: "https://www.billetweb.fr/devfest-toulouse-2019"
- currency: "€"
starts: "01 Août"
ends: "08 Novembre"
info: "250 premières places"
name: "Normal"
url: 'https://www.billetweb.fr/devfest-toulouse-2018'
- currency:
starts: 01 Août
ends: 08 Novembre
info: 250 premières places
name: Normal
price: 80
available: true
inDemand: false
regular: true
soldOut: true
url: "https://www.billetweb.fr/devfest-toulouse-2019"
primary: true
url: 'https://www.billetweb.fr/devfest-toulouse-2018'
primary: true

@ -0,0 +1 @@
Subproject commit 4db1a72e8ce53e35d4a5bf91dd833c76c9776ff3

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="{{ $.Site.LanguageCode | default "en" }}">
<html lang="{{ $.Site.LanguageCode }}">
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="{{ $.Site.LanguageCode | default " en" }}">
{{ partial "head.html" . }}
<body>
{{ partial "header.html" . }}
<div id="content">
<!--{{ block "main" . }}{{ end }}-->
{{.Content}}
</div>
{{ partial "footer.html" . }}
</body>
</html>

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="{{ $.Site.LanguageCode | default " en" }}">
{{ partial "head.html" . }}
<body>
{{ partial "header.html" . }}
<div id="content">
<!--{{ block "main" . }}{{ end }}-->
{{.Content}}
</div>
{{ partial "footer.html" . }}
</body>
</html>

@ -15,8 +15,8 @@
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
{{ end }}
{{ block "favicon" . }}
{{ partial "site-favicon.html" . }}
{{ if .Site.Params.favicon }}
<link rel="shortcut icon" href="/{{ .Site.Params.favicon }}" type="image/x-icon" />
{{ end }}
{{ if .RSSLink }}

@ -0,0 +1,38 @@
const yaml = require('js-yaml');
const fs = require('fs');
const path = require('path');
const wtf = () => {
throw Error('WTF!')
};
const writeTo = (list, dest) => {
const dump = yaml.safeDump(list);
console.log('Write to', dest);
fs.writeFileSync(dest, dump, {
flag: 'w'
});
};
const firebaseData = require('../test-hugo/data/firebase-data.json');
const identity= obj => obj;
const idValue = obj =>
Object.entries(obj)
.map(([key, elt]) => ({ ...elt,
id: key
}));
const dataExtractor = {
sessions: idValue,
speakers: idValue,
partners: identity,
team: identity,
tickets: identity,
}
Object.entries(dataExtractor)
.forEach(([key, value]) => {
const dest = path.join(__dirname, `../test-hugo/data/${key}.yml`);
const data = value(firebaseData[key]);
writeTo(data, dest);
});

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save