samwilson / basildon

Basildon has three key differences from other similar static site generators that are based around Markdown and Yaml frontmatter.
https://basildon.netlify.app
GNU General Public License v3.0
9 stars 0 forks source link

Add Internet Archive API support #16

Open samwilson opened 4 years ago

samwilson commented 4 years ago

Add an archiveorg(id) Twig function which returns useful info about the item with the given ID.

samwilson commented 2 years ago

It looks like this should perhaps copy ~1000 px images to the output/ directory, so it's not directly relying on the access speed of the IA (and perhaps also as a guard against items that don't provide their own thumbnails/view-size images).