mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-27 13:38:07 +00:00
+1
-1
@@ -66,7 +66,7 @@ gulp.task('hugo-staging', (cb) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('hugo-dev', (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();
|
browserSync.reload();
|
||||||
cb();
|
cb();
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -92,11 +92,13 @@
|
|||||||
<div class="p-v-xs">{{ partial "page-edit.html" . }}</div>
|
<div class="p-v-xs">{{ partial "page-edit.html" . }}</div>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
<div class="offset-watch invisible"></div>
|
{{ with .TableOfContents }}
|
||||||
<aside class="col-sm-2 col-xs-12 unstyled toc-container hidden-md">
|
<div class="offset-watch invisible"></div>
|
||||||
<h4 class="m-b-0">On this page</h4>
|
<aside class="col-sm-2 col-xs-12 unstyled toc-container hidden-md">
|
||||||
{{ .TableOfContents }}
|
<h4 class="m-b-0">On this page</h4>
|
||||||
</aside>
|
{{ . }}
|
||||||
|
</aside>
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user