mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-21 18:51:17 +00:00
+1
-1
@@ -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();
|
||||
});
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user