mirror of
https://github.com/tabler/tabler.git
synced 2026-06-17 12:50:03 +04:00
gulp path fixes, header index.html url
This commit is contained in:
+5
-9
@@ -5,7 +5,7 @@ var gulp = require('gulp'),
|
||||
autoprefixer = require('gulp-autoprefixer');
|
||||
|
||||
gulp.task('styles', function () {
|
||||
return gulp.src('assets/scss/bundle.scss', { base: '.' })
|
||||
return gulp.src('src/assets/scss/bundle.scss', { base: '.' })
|
||||
.pipe(sass({
|
||||
precision: 8,
|
||||
outputStyle: 'expanded'
|
||||
@@ -15,11 +15,11 @@ gulp.task('styles', function () {
|
||||
cascade: false
|
||||
}))
|
||||
.pipe(rename('dashboard.css'))
|
||||
.pipe(gulp.dest('assets/css/'));
|
||||
.pipe(gulp.dest('src/assets/css/'));
|
||||
});
|
||||
|
||||
gulp.task('styles-plugins', function () {
|
||||
return gulp.src('assets/plugins/**/plugin.scss', { base: '.' })
|
||||
return gulp.src('src/assets/plugins/**/plugin.scss', { base: '.' })
|
||||
.pipe(sass({
|
||||
precision: 6,
|
||||
outputStyle: 'expanded'
|
||||
@@ -31,16 +31,12 @@ gulp.task('styles-plugins', function () {
|
||||
.pipe(rename(function(path) {
|
||||
path.extname = '.css';
|
||||
}))
|
||||
.pipe(gulp.dest('.'))
|
||||
.pipe(rename(function(path) {
|
||||
path.extname = '.min.css';
|
||||
}))
|
||||
.pipe(gulp.dest('.'));
|
||||
});
|
||||
|
||||
gulp.task('watch', ['styles', 'styles-plugins'], function() {
|
||||
gulp.watch('assets/scss/**/*.scss', ['styles']);
|
||||
gulp.watch('assets/plugins/**/*.scss', ['styles-plugins']);
|
||||
gulp.watch('src/assets/scss/**/*.scss', ['styles']);
|
||||
gulp.watch('src/assets/plugins/**/*.scss', ['styles-plugins']);
|
||||
});
|
||||
|
||||
gulp.task('default', ['styles', 'styles-plugins']);
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
index:
|
||||
name: Home
|
||||
icon: fe fe-home
|
||||
url: .
|
||||
url: index.html
|
||||
|
||||
interface:
|
||||
name: Interface
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div class="header">
|
||||
<div class="container">
|
||||
<div class="navbar p-0">
|
||||
<a class="navbar-brand" href="#">
|
||||
<a class="navbar-brand" href="{{ site.base }}/index.html">
|
||||
<img src="{{ site.base }}/assets/images/logo.svg" class="navbar-brand-img" alt="tabler.io">
|
||||
<span class="d-none d-lg-inline-block">tabler</span>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user