Zero JavaScript bundle weight
Eleventy sites pride themselves on shipping minimal HTML. WebtoSpeech adds no client bundle to your repo and lazy-loads the iframe when scrolled into view.
For publishers · Add an audio player to an Eleventy (11ty) blog
Drop two lines into your Nunjucks or Liquid post layout and give every 11ty article a clean, cookie-free audio version without adding a single build plugin.
Works with Nunjucks, Liquid, WebC, and @11ty/eleventy-plugin-rss. Requires the Publisher plan.
Step 1
Add your domain under Settings → Sites to get your verification tag and ws_ site key.
Step 2
Paste the meta tag inside the <head> of _includes/layouts/base.njk (or verify with DNS), deploy, and press Verify.
_includes/layouts/base.njk
<meta name="webtospeech-verification" content="your_verification_code">
Step 3
Insert the player right before {{ content | safe }} in your post layout template. Wrap it in an optional front-matter check so you can disable audio on any post.
_includes/layouts/post.njk
{% if not noAudio %}
<div data-webtospeech></div>
<script src="https://webtospeech.app/embed.js" data-site="ws_your_site_key" async></script>
{% endif %}
Step 4
Every post on your verified domain now shows a lightweight audio player. Audio generates on first play and is reused for every future reader.
Output <link rel="canonical"> and <meta property="article:modified_time"> in your head so edits stay in sync automatically.
Eleventy sites pride themselves on shipping minimal HTML. WebtoSpeech adds no client bundle to your repo and lazy-loads the iframe when scrolled into view.
Connect your /feed/feed.xml Atom or RSS feed in Settings → Sites → Feed and podcast to publish an automatic podcast alongside your site.
The embed sets zero cookies and runs without trackers, keeping your 11ty blog fast and privacy-respecting.
The player adapts automatically to prefers-color-scheme, or takes data-theme="light" / data-theme="dark" to match a custom theme toggle.
Platform guide
Two lines in your Hugo single.html template, with Lastmod sync and automatic RSS-to-podcast from index.xml.
Platform guide
Drop two lines with is:inline into your Astro BlogPost layout—zero hydration overhead and full dark mode support.
Podcast workflow
Connect any verified blog’s RSS or Atom feed to auto-generate episodes for Apple Podcasts, Spotify, and Overcast.
Publisher plan
200 hours of audio a month, every Studio and standard voice, cookie-free embeds, RSS-to-podcast feeds, and play counts.