diff --git a/gridsome.server.js b/gridsome.server.js index 72e062d..dc15ac6 100644 --- a/gridsome.server.js +++ b/gridsome.server.js @@ -8,7 +8,6 @@ module.exports = function(api) { actions.addMetadata(d, param.meta[d]) } if (!param.search) throw "Nothing to search for"; - // Ajout des recherches let search = param.search.map(s => { return axios.get(`${param.source}${s}`); }); diff --git a/param.JSON b/param.JSON index 93893f2..6d35752 100644 --- a/param.JSON +++ b/param.JSON @@ -1,6 +1,6 @@ { "meta": { - "title": "The performative metropolis?", + "title": "the performative metropolis?", "subtitle": "NARRATIVES AND SCALES IN THE METROPOLITAN INSTITUTIONAL PRODUCTION OF ROUEN", "authors": [ "Jean Debrie", @@ -9,6 +9,7 @@ }, "source": "https://popsu-rouen-en.strapi.figli.io/", "search": [ + "images", "introductions", "chapitres", "sections" diff --git a/src/css/layout.scss b/src/css/layout.scss index 23efc09..a24592a 100644 --- a/src/css/layout.scss +++ b/src/css/layout.scss @@ -11,6 +11,10 @@ .no-folio { page: nofolio; + page-break-before: avoid !important; + page-break-inside: avoid !important; + page-break-after: avoid !important; + } .blank-page { diff --git a/src/pages/Index.vue b/src/pages/Index.vue index 46cc65f..35547dd 100644 --- a/src/pages/Index.vue +++ b/src/pages/Index.vue @@ -60,7 +60,9 @@ -
+ + +

+ + +
+ + + + + +
+

{{edge.node.Titre}}

+ {{edge.node.Contenu}} + +
+ + @@ -93,6 +115,16 @@ export default { query { + sections: allSections { + edges { + node { + id + Titre + Contenu + } + } + } + chapitres: allChapitres { edges { node {