Post with fetched content
Eleventy Fetch fetches and caches resources - at configurable intervals.
This is an example of fetching external data.
In this case, my public repositories (with more than zero stargazer) and a cache duration of 1 day.
Endpoint editable in _data/github.js.
eleventy-excellent
<svg
xmlns=“http://www.w3.org/2000/svg”
viewBox=“0 0 24 24”
width=“24”
height=“24”
fill=“currentColor”
285 / Eleventy starter based on the workflow suggested by Andy Bell's buildexcellentwebsit.es.
eleventy-excellent-headless
<svg
xmlns=“http://www.w3.org/2000/svg”
viewBox=“0 0 24 24”
width=“24”
height=“24”
fill=“currentColor”
9 / – Not production ready – Pretty much the same as eleventy-excellent, but it gets its blog posts from a WordPress site
eleventy-i18n
<svg
xmlns=“http://www.w3.org/2000/svg”
viewBox=“0 0 24 24”
width=“24”
height=“24”
fill=“currentColor”
15 / Minimal starter for localized content, using Eleventy's own Internationalization (I18n) plugin
lene.dev
<svg
xmlns=“http://www.w3.org/2000/svg”
viewBox=“0 0 24 24”
width=“24”
height=“24”
fill=“currentColor”
2 / My developer profile. It's built with Eleventy, Javascript and CSS. Based on my personal opiniated Eleventy Starter for client projects.
lenesaile.com
<svg
xmlns=“http://www.w3.org/2000/svg”
viewBox=“0 0 24 24”
width=“24”
height=“24”
fill=“currentColor”
21 / My personal website built with Eleventy. It supports three languages.
wp-excellent
<svg
xmlns=“http://www.w3.org/2000/svg”
viewBox=“0 0 24 24”
width=“24”
height=“24”
fill=“currentColor”
8 / Starter for classic PHP WordPress theme. Based on the workflow suggested by Andy Bell's buildexcellentwebsit.es.