This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path'); | |
const ext = require('gulp-ext'); | |
const notify = require('gulp-notify'); | |
module.exports = { | |
html : true, | |
images : true, | |
fonts : true, | |
static : true, | |
svgSprite : true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For adding font icons to elements using CSS pseudo-elements | |
// http://jaydenseric.com/blog/fun-with-sass-and-font-icons | |
// Usage @include icon(before, email, false); | |
@mixin icon($position: before, $icon: false, $styles: true) { | |
@if $position == both { | |
$position: 'before, &:after'; | |
} | |
// Either a :before or :after pseudo-element, or both, defaulting to :before | |
&:#{$position} { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This variable only captures iframes with a youtube video, extend as required... | |
var video = $("iframe[src^='https://www.youtube.com']"); | |
if (video.length) { | |
video.each(function() { | |
$(this).wrap("<div class='videoWrapper'></div>"); | |
}); | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Display for current post | |
echo rrssb(); | |
//Display for a specific post (by post ID) | |
echo rrssb(13); | |
?> |