From 8eb5ad6ae46f6bc7b77ac09aa4b5a839a6d3afba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Goetz?= Date: Thu, 23 Feb 2017 23:15:07 +0100 Subject: [PATCH 1/5] Tweak theme and search --- gulpfile.js | 2 +- package.json | 2 +- templates/home.php | 3 + templates/layout/00_layout.php | 2 +- templates/layout/05_page.php | 18 +- templates/partials/navbar_content.php | 16 +- themes/daux/less/_components.less | 48 +- themes/daux/less/_structure.less | 28 +- themes/daux/less/_variables.less | 3 - themes/daux/less/theme-blue.less | 2 - themes/daux/less/theme-green.less | 2 - themes/daux/less/theme-navy.less | 2 - themes/daux/less/theme-red.less | 2 - tipuesearch/tipuesearch.css | 119 +-- tipuesearch/tipuesearch.js | 445 ++++------ yarn.lock | 1173 ++++++++++++++----------- 16 files changed, 930 insertions(+), 937 deletions(-) delete mode 100644 themes/daux/less/_variables.less diff --git a/gulpfile.js b/gulpfile.js index dd8d84f..616c92d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -78,7 +78,7 @@ style_tasks.push('lint-css'); gulp.task("styles", style_tasks); -gulp.task('watch', function () { +gulp.task('watch', ['default'], function () { // Watch .less files gulp.watch('themes/**/less/**/*.less', ['styles']); }); diff --git a/package.json b/package.json index d76e121..5f3a73c 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "gulp-postcss": "^6.1.1", "gulp-rename": "^1.2.2", "gulp-stylelint": "^3.0.0", - "stylelint-config-standard": "^15.0.1" + "stylelint-config-standard": "^16.0.0" }, "scripts": { "build": "gulp", diff --git a/templates/home.php b/templates/home.php index 8bc7774..4fa6943 100755 --- a/templates/home.php +++ b/templates/home.php @@ -1,4 +1,7 @@ layout('theme::layout/00_layout') ?> + +start('classes') ?>homepagestop() ?> +