<?php
$category = get_the_category();
$cat_list = $category[0]->cat_ID;
?>
<?php query_posts('cat='.$cat_list.'&order=ASC'); ?>
<?php if (have_posts()): while (have_posts()): the_post(); ?>
<tr>
<td>
<?php the_post_thumbnail('full'); ?>
</td>
<td class="separator"> </td>
<td>
<?php the_content(); ?>
</td>
</tr>
<?php endwhile; endif; wp_reset_query(); ?>
var plugins = require("gulp-load-plugins")();
gulp.task('sass', function() {
gulp.src('./sass/main.sass')
.pipe(plumber())
.pipe(plugins.sourcemaps.init())
.pipe(sass({
includePaths: ['./assets/css/'],
onError: browserSync.notify
}))
.pipe(autoprefixer({
browsers: ['last 2 versions'],
cascade: true
}))
// .pipe(uncss({
// html: ['*.html']
// }))
.pipe(plugins.sourcemaps.write("./"))
.pipe(gulp.dest('./dist/css/'))
.pipe(rename({suffix: '.min'}))
.pipe(minifyCss())
.pipe(gulp.dest('./dist/css/'))
.pipe(browserSync.reload({stream:true}));
});