Skip to content

Instantly share code, notes, and snippets.

@kmelve
Last active January 3, 2016 05:28
Show Gist options
  • Select an option

  • Save kmelve/8415527 to your computer and use it in GitHub Desktop.

Select an option

Save kmelve/8415527 to your computer and use it in GitHub Desktop.
My Bigfoot-js implementation on Squarespace.
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="/s/bigfootmin.js"></script>
<link rel="stylesheet" type="text/css" href="/s/bigfoot-number-dwpd.css">
<script type="text/javascript">
$.bigfoot({
positionContent: true, // required for numbered footnotes
numberResetSelector: 'article', // restarts the numbering for each article on SQ
actionOriginalFN: 'ignore' // show the original list of footnotes
});
</script>
@kmelve
Copy link
Author

kmelve commented Jan 14, 2014

  1. Download Bigfoot.js
  2. Upload .js and .css to the site (Add Page → Link → Click to add URL → Files → New File)
  3. Copy code into Footer under Code Injection
  4. ???
  5. Profitt!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment