From e1c2c028a1f0bdbfdf725dffc06b702693436901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@irstea.fr> Date: Sun, 20 Oct 2019 00:56:31 +0200 Subject: [PATCH] =?UTF-8?q?Active=20la=20navigation=20lin=C3=A9aire=20et?= =?UTF-8?q?=20le=20fragment=20de=20page=20dans=20l'URL.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gruntfile.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Gruntfile.js b/Gruntfile.js index de6f3c9..3d4968a 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -71,6 +71,8 @@ module.exports = grunt => { `--variable=revealjs-url:${relative(dirname(pres), "./reveal.js")}`, "--variable=theme:irstea", "--variable=history:true", + "--variable=navigationMode:linear", + "--variable=fragmentInURL:true", env === "dev" && `--variable=header-includes:"<script src='//${PUBLIC_HOST}:${LIVERELOAD_PORT}/livereload.js'></script>"` ] -- GitLab