‘Obstacles do not block the path. They are the path.’
— Zen Proverb
window.onload = init; function init() { var $year = $('.dt-published').map(function() { return $(this).attr('datetime').substr(0,4); }).get(); $( '.date-wrapper' ).each( function ( i ) { $( this ).append( '' + $year[i] + ''); }); }
— Zen Proverb