Skip to content

Instantly share code, notes, and snippets.

@etoxin
Last active August 29, 2015 14:07
Show Gist options
  • Save etoxin/63ed69ada4535d31a83d to your computer and use it in GitHub Desktop.
Save etoxin/63ed69ada4535d31a83d to your computer and use it in GitHub Desktop.
Grab Copy convert to jekyll
(function(){
console.log( $('#category-sales-content').html() + ':' );
$('.faq-list').each(function(i, item){
var $item = $(item);
console.log( $item.find('.faq-title').html() );
});
})()
$('.glossary-item').each(function(i, item){
var $item = $(item);
console.log( $item.find('h3').html() + ":" );
console.log(' title:' + $item.find('h3').html() );
console.log(' position: top');
console.log(' text_body: ' + $item.find('.glossary-description p').html() );
console.log(' string_image:' + $item.find('img').attr('src') );
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment