From aafc69fefb788da7d19bc418f3e0b999c95e9f93 Mon Sep 17 00:00:00 2001 From: Igor Laborie Date: Sat, 24 Aug 2019 19:51:52 +0200 Subject: [PATCH] Add keynote overflow --- content/sessions/keynote_close_overflow.md | 10 ++++++++ content/sessions/keynote_open_overflow.md | 10 ++++++++ data/schedule.yml | 4 +++ static/api/site.json | 30 ++++++++++++++++++++++ tools/pdf.js | 2 +- 5 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 content/sessions/keynote_close_overflow.md create mode 100644 content/sessions/keynote_open_overflow.md diff --git a/content/sessions/keynote_close_overflow.md b/content/sessions/keynote_close_overflow.md new file mode 100644 index 0000000..4cdc9d9 --- /dev/null +++ b/content/sessions/keynote_close_overflow.md @@ -0,0 +1,10 @@ +--- +key: keynote_close_overflow +title: Keynote de fermeture (overflow) +format: keynote +tags: + - keynote +speakers: [] +draft: false +--- +Surprise! \ No newline at end of file diff --git a/content/sessions/keynote_open_overflow.md b/content/sessions/keynote_open_overflow.md new file mode 100644 index 0000000..740872e --- /dev/null +++ b/content/sessions/keynote_open_overflow.md @@ -0,0 +1,10 @@ +--- +key: keynote_open_overflow +title: Keynote d'ouverture (overflow) +format: keynote +tags: + - keynote +speakers: [] +draft: false +--- +Surprise! \ No newline at end of file diff --git a/data/schedule.yml b/data/schedule.yml index 29430f0..8c0497f 100644 --- a/data/schedule.yml +++ b/data/schedule.yml @@ -45,6 +45,8 @@ talk: __party - room: room2 slots: + - slot: keynote-open + talk: keynote_open_overflow - slot: slot-1 talk: a_kotlin_multiplatform_evolution - slot: pause-2 @@ -78,6 +80,8 @@ - slot: slot-7 talk: >- mon_p____de_voyant_moteur_est_encore_allume___comment_debugger_mon_moteur___plongeon_dans_les_entrailles_des_calculateurs_moteur + - slot: keynote-close + talk: keynote_close_overflow - room: room3 slots: - slot: slot-1 diff --git a/static/api/site.json b/static/api/site.json index a648211..2fc2e7a 100644 --- a/static/api/site.json +++ b/static/api/site.json @@ -377,6 +377,17 @@ "draft": false, "description": "Surprise!" }, + { + "key": "keynote_close_overflow", + "title": "Keynote de fermeture (overflow)", + "format": "keynote", + "tags": [ + "keynote" + ], + "speakers": [], + "draft": false, + "description": "Surprise!" + }, { "key": "keynote_open", "title": "Keynote d'ouverture", @@ -388,6 +399,17 @@ "draft": false, "description": "Surprise!" }, + { + "key": "keynote_open_overflow", + "title": "Keynote d'ouverture (overflow)", + "format": "keynote", + "tags": [ + "keynote" + ], + "speakers": [], + "draft": false, + "description": "Surprise!" + }, { "key": "l_histoire_de_la_decouverte_d_une_backdoor_signe_oneplus", "title": "L'histoire de la découverte d'une backdoor signé Oneplus", @@ -2161,6 +2183,10 @@ { "room": "room2", "slots": [ + { + "slot": "keynote-open", + "talk": "keynote_open_overflow" + }, { "slot": "slot-1", "talk": "a_kotlin_multiplatform_evolution" @@ -2220,6 +2246,10 @@ { "slot": "slot-7", "talk": "mon_p____de_voyant_moteur_est_encore_allume___comment_debugger_mon_moteur___plongeon_dans_les_entrailles_des_calculateurs_moteur" + }, + { + "slot": "keynote-close", + "talk": "keynote_close_overflow" } ] }, diff --git a/tools/pdf.js b/tools/pdf.js index 40841f6..cfd1ae9 100644 --- a/tools/pdf.js +++ b/tools/pdf.js @@ -87,7 +87,7 @@ async function cleanupBeforePrint(page) { const page = await browser.newPage(); logger.debug("opened new page"); - const file = 'schedule/index.html'; + const file = 'fr/schedule/index.html'; const url = `http://localhost:${serverConf.port}/${file}`; logger.info("go to", url); const pageResponse = await page.goto(url, {waitUntil: 'networkidle2'});