Skip to navigation Skip to main content
Eleventy
Eleventy Documentation
Stable
2.0.1
Toggle Menu
Eleventy 1.93s
Next.js 70.65s

Generator Image

Contents

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.

Usage

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/

Samples

Site Generator logo for 11ty.dev/ Site Generator logo for gatsbyjs.com/ Site Generator logo for astro.build/
<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"
/>

From the Community


Other pages in API Services: