pageTitle | eleventyNavigation | communityLinksKey | ||||||
---|---|---|---|---|---|---|---|---|
Generator Image |
|
api-generator |
{% tableofcontents %}
A runtime service to return the image logo of the <meta name="generator">
used on any given web site. For example, if a web site is built with Eleventy, this service will return the image logo for 11ty.
Supports: 11ty / Eleventy, Hugo, Gatsby, WordPress, Silex, Jekyll, Docusaurus, Gridsome, VuePress, Hexo, Astro.
Image URLs have the format:
https://v1.generator.11ty.dev/image/:url/
url
must be URI encoded.
Or json:
https://v1.generator.11ty.dev/json/:url/
- See the “Built With” column on Speedlify (Static Site Generators)
{% callout "demo" %}
{% endcallout %}
<img
src="https://v1.generator.11ty.dev/image/https%3A%2F%2Fwww.11ty.dev%2F/"
alt="Site Generator logo for 11ty.dev/"
loading="lazy"
decoding="async"
width="40"
height="40"
/>
<img
src="https://v1.generator.11ty.dev/image/https%3A%2F%2Fwww.gatsbyjs.com%2F/"
alt="Site Generator logo for gatsbyjs.com/"
loading="lazy"
decoding="async"
width="40"
height="40"
/>
<img
src="https://v1.generator.11ty.dev/image/https%3A%2F%2Fastro.build%2F/"
alt="Site Generator logo for astro.build/"
loading="lazy"
decoding="async"
width="40"
height="40"
/>