Boris Mann

Open Source. Community. Decentralized Web. Building dev tools at Fission. Cooks & eats.

Home

Implementing Littlefoot for Footnotes

Following the LittlefootLittlefoot
Littlefoot is a [[JavaScript]] library to make great inline footnotes. It’s a non-jQuery replacement for [[BigfootJS]].
From the Github README:

littlefoot is a lightweight JavaScript library that creates exceptional footnotes. It was forked from Bigfoot.js by Chris Sauvé and does not require jQuery.
Simply include the code on your pages and footnotes will be detected automatically and improved in the following ways:


Links to footnotes will be replaced with clickable/tappable buttons, makin...
instructions on a standard JekyllJekyll
Set env variable PAGES_REPO_NWO to build on [[Netlify]]
Set the environment variable PAGES_REPO_NWO to a repo such as spadebuilders/EIPs if you want to have Jekyll sites build on Netlify.
Posts by Year
{% raw %}
{% for post in site.posts %}
{% capture current_year %}{{ post.date | date: "%Y" }}{% endcapture %}
{% if current_year != previous_year %}
{% unless forloop.first %}
</ul>
{% endunless %}
<h2>{{ current_year }}</h2>
<ul>
...
/ Markdown powered site that supports footnotes will pretty much make it just work.