Skip to content

Bake in citations at build time #132

@ctrueden

Description

@ctrueden

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions