mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-25 12:38:05 +00:00
add site search
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ gulp.task('init-watch', () => {
|
||||
watch([ 'src/sass/**/*.scss', 'node_modules/rancher-website-theme/**/*.scss' ], () => runSequence('sass', 'hugo-dev'));
|
||||
watch([ 'src/js/**/*.js', 'node_modules/rancher-website-theme/static/js/base.js' ], () => runSequence('build:app', 'hugo-dev'));
|
||||
watch('src/img/**/*', () => runSequence('img', 'hugo-dev'));
|
||||
watch(['archetypes/**/*', 'data/**/*', 'content/**/*', 'layouts/**/*', 'themes/**/*', 'config.toml'], () => gulp.start('hugo-dev'));
|
||||
watch(['archetypes/**/*', 'data/**/*', 'content/**/*', 'layouts/**/*', 'node_modules/rancher-website-theme/layouts/**/*', 'node_modules/rancher-website-theme/archetypes/**/*', 'node_modules/rancher-website-theme/data/**/*', 'node_modules/rancher-website-theme/content/**/*', 'themes/**/*', 'config.toml'], () => gulp.start('hugo-dev'));
|
||||
});
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -15,6 +15,6 @@
|
||||
|
||||
{{ define "main" }}
|
||||
<div>
|
||||
{{ .Content }}
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
+2
-1
@@ -45,7 +45,8 @@
|
||||
'../../node_modules/rancher-website-theme/static/scss/components/dropdown',
|
||||
'../../node_modules/rancher-website-theme/static/scss/components/forms',
|
||||
'../../node_modules/rancher-website-theme/static/scss/components/tree',
|
||||
'../../node_modules/rancher-website-theme/static/scss/components/tabs';
|
||||
'../../node_modules/rancher-website-theme/static/scss/components/tabs',
|
||||
'../../node_modules/rancher-website-theme/static/scss/components/search';
|
||||
|
||||
// 6. Page-specific styles
|
||||
@import
|
||||
|
||||
Reference in New Issue
Block a user