diff --git a/gulpfile.babel.js b/gulpfile.babel.js index 3d3b5943844..ce333e9fff1 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -66,7 +66,7 @@ gulp.task('hugo-staging', (cb) => { }); gulp.task('hugo-dev', (cb) => { - return spawn('hugo', ['--buildDrafts', '--buildFuture', '--baseURL=http://localhost:9001'], { stdio: 'inherit' }).on('close', (/* code */) => { + return spawn('hugo', ['--buildDrafts', '--buildFuture', '--baseURL='], { stdio: 'inherit' }).on('close', (/* code */) => { browserSync.reload(); cb(); }); diff --git a/layouts/_default/list.html b/layouts/_default/list.html index c7e31123e75..2d702763752 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -92,11 +92,13 @@
{{ partial "page-edit.html" . }}
- - + {{ with .TableOfContents }} + + + {{ end }} {{ end }}