Merge pull request #193 from westlywright/master

add site search
This commit is contained in:
Vincent Fiduccia
2018-05-31 12:54:15 -07:00
committed by GitHub
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -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
View File
@@ -15,6 +15,6 @@
{{ define "main" }}
<div>
{{ .Content }}
{{ .Content }}
</div>
{{ end }}
+2 -1
View File
@@ -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