From 9220f4d4a6b960bbc99d637788faca620c37b056 Mon Sep 17 00:00:00 2001 From: didier amyot Date: Wed, 23 Aug 2017 19:13:01 -0400 Subject: [PATCH] new message --- data/articles/party_2017.toml.md | 27 +++++++++++++++++++++++++++ script/articles/articles.js | 3 ++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 data/articles/party_2017.toml.md diff --git a/data/articles/party_2017.toml.md b/data/articles/party_2017.toml.md new file mode 100644 index 0000000..a1bba1f --- /dev/null +++ b/data/articles/party_2017.toml.md @@ -0,0 +1,27 @@ +[title] +innerMarkdown = """ +## Party fin de saison 2017! +""" + +[meta] +innerMarkdown = """ +Mercredi 23 Aout 2017 +""" + +[body] +innerMarkdown = """ +Bonjour à tous les phénixiens phénixiennes. + +Les séries commencent et nous devons déjà penser a fêter la fin de +la saison. Comme à l'habitude, nous allons festoyer à la [taverne +normandie](http://www.taverne-normandie.ca/), [1295 Amherst](https://goo.gl/maps/neafXHhkW292). +Le party aura lieu le **vendredi 8 septembre 2017**, nous devrions +commencer à arriver vers 19h00. Il y aura pizza, biere et animation. + +# + +bien à vous, + +votre commite. + +""" diff --git a/script/articles/articles.js b/script/articles/articles.js index 3430b0f..f05dc19 100644 --- a/script/articles/articles.js +++ b/script/articles/articles.js @@ -1,4 +1,4 @@ -define(['m', 'articles/retour_walter_stewart', 'articles/saison2017', 'articles/saison_retardee', 'articles/inscription_2017', 'articles/inscription', 'articles/inscription_rappel', 'articles/walter_stewart', 'articles/changement_de_parc'], function (m, retour_walter_stewart,saison2017, saison_retardee, inscription_2017, inscription, inscription_rappel, walter_stewart, changement_de_parc) { +define(['m', 'articles/party_2017', 'articles/retour_walter_stewart', 'articles/saison2017', 'articles/saison_retardee', 'articles/inscription_2017', 'articles/inscription', 'articles/inscription_rappel', 'articles/walter_stewart', 'articles/changement_de_parc'], function (m, party_2017, retour_walter_stewart,saison2017, saison_retardee, inscription_2017, inscription, inscription_rappel, walter_stewart, changement_de_parc) { var simplifyArticleStructure = function(article){ var ret = {}; _.each(article, function(section, sectionName){ @@ -8,6 +8,7 @@ define(['m', 'articles/retour_walter_stewart', 'articles/saison2017', 'articles/ }; var articles = [ + party_2017, retour_walter_stewart, saison2017, saison_retardee,