{
'unformatted': ['pre', 'code'],
'indent_with_tabs': true,
'preserve_newlines': true,
'brace_style': 'expand',
'end_with_newline': true
}
mixin fa-stack(data)
span.fa-stack.fa-lg&attributes(attributes)
block
mixin fa-icon(data)
i.fa&attributes(attributes)
+fa-stack()
+fa-icon().fa-circle-thin.fa-stack-2x
+fa-icon().fa-facebook.fa-stack-1x
mixin fa-stack(data)
span.fa-stack.fa-lg&attributes(attributes)
block
mixin fa-icon(data)
- var classList = ['fa']
if attributes.icon
- classList.push(classList[0] + '-' + attributes.icon)
if attributes.stack
- classList.push(classList[0] + '-stack-' + attributes.stack)
i(class=classList)
+fa-stack()
+fa-icon(icon="circle-thin" stack="2x")
+fa-icon(icon="facebook" stack="1x")
gulp.task('jade', function() {
gulp.src(['./source/**/*.jade', '!./source/partials/*.jade'])
.pipe(jade({
pretty: true
}))
.on('error', console.log)
.pipe(prettify({
indent_char: ' ',
indent_size: 1,
indent_with_tabs: true
}))
.pipe(gulp.dest('./public/'))
.pipe(livereload(server));
});