From 00df90f0b3b152bd86c9784980d9367cf6932a15 Mon Sep 17 00:00:00 2001 From: Westly Wright Date: Thu, 31 May 2018 09:59:24 -0700 Subject: [PATCH] add site search --- gulpfile.babel.js | 2 +- layouts/index.html | 2 +- src/sass/app.scss | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gulpfile.babel.js b/gulpfile.babel.js index 95440f21394..93018f54d51 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -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')); }); diff --git a/layouts/index.html b/layouts/index.html index ccb04139aa4..d38a51e7e5c 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -15,6 +15,6 @@ {{ define "main" }}
- {{ .Content }} + {{ .Content }}
{{ end }} diff --git a/src/sass/app.scss b/src/sass/app.scss index 127a1dc5e5c..48829fde1c3 100644 --- a/src/sass/app.scss +++ b/src/sass/app.scss @@ -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