Skip to content

Instantly share code, notes, and snippets.

@maccman
maccman / batch_request.csv
Last active August 4, 2021 22:20
Clearbit Batch Example
@Phlow
Phlow / nested-for-loop.liquid
Created January 6, 2017 20:08
This is a nested liquid loop for Jekyll to iterate through YAML data with a depth of three levels. The example loops through a potential table of contents of a book.
{% comment %}
#
# This is a nested liquid loop for Jekyll to iterate through YAML data with
# a depth of three levels. The example loops through a potential table of
# contents of a book.
#
# This is the example YAML content'
- chapters: 'Einführung'
sub_chapters:
@jpalala
jpalala / README.md
Last active January 17, 2021 12:30
Better way to create a site.json file for jekyll to output your posts as json
@GoodChancer
GoodChancer / param-cookes.js
Created May 15, 2017 20:20
Saving URL parameters as cookies and adding to forms
/*
This script will take the URL parameters of your choice and save them to cookies during a user session,
so if a user changes pages on your site, the data will still be submitted with your forms.
Be sure to include the JS Cookie plugin https://github.com/js-cookie/js-cookie and jquery.
Add the code below to your website footer.
Adjust variable, parameter, and form input names accordingly, add or remove as necessary.
Note: some servers block files with 'cookie' in the name. Be sure to change the filename if you have problems loading the script.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.