-
Notifications
You must be signed in to change notification settings - Fork 147
Open
Labels
Milestone
Description
The citation
include accepts a doi
(or id
, which then retrieves a DOI), bakes that into as a simple metadata-laden span
that gets be rewritten by JavaScript upon page load, via the excellent citation-js library. However, we can do better: we could do the DOI resolution with a Jekyll plugin at build time, so the citations get baked into the static HTML during site build, rather than re-resolved on every page load on every person's computer.
The jekyll-scholar plugin could be a good starting point, although I don't think it does what we need yet... but would be generally awesome to augment it to use citation-js to fill in the .bib
data internally and then go from there?