Add version task to LESS updates
This commit is contained in:
@@ -56,7 +56,7 @@ module.exports = function(grunt) {
|
|||||||
'assets/css/less/*.less',
|
'assets/css/less/*.less',
|
||||||
'assets/css/less/bootstrap/*.less'
|
'assets/css/less/bootstrap/*.less'
|
||||||
],
|
],
|
||||||
tasks: ['recess']
|
tasks: ['recess', 'version']
|
||||||
},
|
},
|
||||||
js: {
|
js: {
|
||||||
files: [
|
files: [
|
||||||
|
|||||||
2
assets/css/main.min.css
vendored
2
assets/css/main.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -12,7 +12,7 @@
|
|||||||
* 3. /theme/assets/js/main.min.js (in footer)
|
* 3. /theme/assets/js/main.min.js (in footer)
|
||||||
*/
|
*/
|
||||||
function roots_scripts() {
|
function roots_scripts() {
|
||||||
wp_enqueue_style('roots_main', get_template_directory_uri() . '/assets/css/main.min.css', false, 'cad8f7f7e4be4fd457ecb1eee9ff7e93');
|
wp_enqueue_style('roots_main', get_template_directory_uri() . '/assets/css/main.min.css', false, '8a868df86cb5fe3b8e0e33b67e537f34');
|
||||||
|
|
||||||
// Load style.css from child theme
|
// Load style.css from child theme
|
||||||
if (is_child_theme()) {
|
if (is_child_theme()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user