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 alternative version creates the delays based on an easing curve. | |
// Nice, but needs some tweaking. See here: http://sol.gfxile.net/interpolation/ | |
$('.js-transitionDelays').each(function(){ | |
var items = $(this).find('> li > a'); | |
var total = items.length; | |
items.each(function(i) { | |
var multiplier = i/total; | |
var speedFactor = 0.39; |
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
var gulp = require('gulp'); | |
// -------------------------------------------- | |
// ENVIRONMENT VARS | |
// -------------------------------------------- | |
var localHost = 'example.test'; | |
var compiledFolder = 'public_html/assets'; | |
var srcFolder = 'src'; | |
var tmplFolder = 'public_html'; |
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
{exp:switchee variable="{segment_2}" parse="inward"} | |
{!-- ==================================== | |
FETCH DATA for various GAME LISTINGS | |
(categories, publishers, designers, all, search, alphalist). | |
The markup is assembled at the end of this template. | |
The crazy-looking regex: #^P(\d+)$# simply matches pagination segments ("P" plus any digits). | |
Then this one #^(\d+)$# looks for date archives (any digits) |