Merge pull request #336 from vincent99/master

Change baseurl for dev
This commit is contained in:
Vincent Fiduccia
2018-06-22 15:57:52 -07:00
committed by GitHub
2 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -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();
});
+7 -5
View File
@@ -92,11 +92,13 @@
<div class="p-v-xs">{{ partial "page-edit.html" . }}</div>
</article>
<div class="offset-watch invisible"></div>
<aside class="col-sm-2 col-xs-12 unstyled toc-container hidden-md">
<h4 class="m-b-0">On this page</h4>
{{ .TableOfContents }}
</aside>
{{ with .TableOfContents }}
<div class="offset-watch invisible"></div>
<aside class="col-sm-2 col-xs-12 unstyled toc-container hidden-md">
<h4 class="m-b-0">On this page</h4>
{{ . }}
</aside>
{{ end }}
</div>
</div>
{{ end }}