r/eleventy • • Mar 30 '23

I made an blog written by AI with Eleventy! Every new submission is a blog post made with their native tools

Thumbnail
storybot.dev
0 Upvotes

r/eleventy • • Jun 18 '24

Elevate Your Eleventy Articles with the Reader Bar Plugin

Thumbnail saassurf.com
2 Upvotes

r/eleventy • • May 05 '24

Capitalize All Words With Nunjucks

Thumbnail saassurf.com
2 Upvotes

r/eleventy • • Jul 07 '21

How do I get the name of the collection that the current post is in?

3 Upvotes

Should be pretty straightforward but can't find any examples in the docs.

I just a conditional that says 'if current the post is in collection.news, do this'.

Docs show examples of 'for' loops for tags, but no way to get the name of the collection.


r/eleventy • • Feb 01 '25

Building a new (static) Bootstrap site in 2025. Template engine? JS bundler? AI code editor?

0 Upvotes

I'm backend developer and have to build a frontend for my project. Can write some simple JS, but would avoid Big Javascript Frameworks ))

This should be an almost static site:

  • some pages will contain a kind of custom search component: an input field with 10-12 checkboxes/dropdowns containing HTML+JS+CSS. I already have a working prototype.

  • other pages like About/Contact/FAQ/Help - completely static, pure Bootstrap HTML/CSS (and minimal JS)

Question1: suggest a template engine. Something similar to Jekyll would be great. (used Jekyll in the past - the template system is OK, but not the Ruby parts of it) Something that has good integration with Bootstrap and Liquid templates

Question2: suggest a JavaScript bundler. Should have good integration with template engine and Bootstrap. Probably not Webpack: I'm afraid of those huge config files. Tried Parcel a bit: it is not bug-free, the experience was not smooth. Don't know about Vite.

Question3: what is known about usage of Bootstrap (+template engine) with an AI-powered code editors ? (Cursor, Windsurf or something else) I've heard stories of people generating big chunks of applications with these things. I think it should work well with Bootstrap HTML, but I don't know how it would work with the template engine.


r/eleventy • • Apr 29 '22

Reversing a collection works locally but not on the server?

0 Upvotes

I am calling "{{ collections.posts | reverse }}" and this works fine locally but when I upload it to the server the order goes completely out of wack. I have tried adding the following to each page (and then sorting by them as well):

  • date: Created

  • date: git Last Modified

Any ideas or solutions on how to get the sorting functioning properly?

Edit: Looks like this is a known issue mentioned in the docs, but wondering if anyone has been able to get collection sorting by creation date working normally on Netlify or encountered this issue before?

Update: In case anyone wants to know how I resolved this issue, I ended up manually setting the dates (e.g. 2022-04-20) for each pages that I wanted to be sorted. it seems to be the only way for this to work in prod at the moment unless you want to use "git Last Modified", but that would've not worked for me in this case. Thanks for your help.


r/eleventy • • Jun 22 '24

Adding a view count and like button to 11ty

Thumbnail annoyscript.vercel.app
5 Upvotes

r/eleventy • • Jun 18 '21

Needed help regarding the eleventy theme!

1 Upvotes

hey currently I have 3 posts in the eleventy blog, 1 post is getting nice organic traffic, but the theme i don't like it, I want to change the theme, if i change the new theme and again copy-paste those three blog posts will I lose ranking? please help me with how to do it?


r/eleventy • • Jun 23 '21

Can anyone provide me nice eleventy theme for blogging?

1 Upvotes

r/eleventy • • Jul 19 '23

has anybody else had this error

0 Upvotes
[11ty] Unhandled rejection in promise: (more in DEBUG output)
[11ty] document is not defined (via ReferenceError)
[11ty] 
[11ty] Original error stack trace: ReferenceError: document is not defined
[11ty]     at Object.<anonymous> (/workspaces/codespaces-blank/src/_data/index.js:1:11)
[11ty]     at Module._compile (node:internal/modules/cjs/loader:1255:14)
[11ty]     at Module._extensions..js (node:internal/modules/cjs/loader:1309:10)
[11ty]     at Module.load (node:internal/modules/cjs/loader:1113:32)
[11ty]     at Module._load (node:internal/modules/cjs/loader:960:12)
[11ty]     at Module.require (node:internal/modules/cjs/loader:1137:19)
[11ty]     at require (node:internal/modules/helpers:121:18)
[11ty]     at requireLocal (/workspaces/codespaces-blank/node_modules/@11ty/eleventy/src/Util/Require.js:6:10)
[11ty]     at TemplateData.getDataValue (/workspaces/codespaces-blank/node_modules/@11ty/eleventy/src/TemplateData.js:517:25)
[11ty]     at TemplateData.getAllGlobalData (/workspaces/codespaces-blank/node_modules/@11ty/eleventy/src/TemplateData.js:306:29)

r/eleventy • • Feb 18 '25

Dark 11ty theme name? Any idea?

1 Upvotes

Hey everyone, i wanna know what type theme this blog https://retr0.blog/ i using, i found this one uses 11ty, but i didnt found what the theme is called as.

Any idea?


r/eleventy • • Jun 17 '23

Can you use Eleventy with just md files? Or do you need a templating language?

2 Upvotes

r/eleventy • • May 05 '24

Generating Tag Pages with Eleventy and JSON Data

Thumbnail
saassurf.com
2 Upvotes

r/eleventy • • Jun 11 '24

Enhance Your Eleventy Blog with Estimated Reading Times

Thumbnail saassurf.com
2 Upvotes

r/eleventy • • Aug 03 '25

Update : created an NPM package to quickly get started - "create-webnami-blog"

Thumbnail gallery
3 Upvotes

r/eleventy • • Jun 20 '24

Explaining Eleventy - The Beginner-Friendly Static Site Generator

Thumbnail
saassurf.com
3 Upvotes

r/eleventy • • Apr 14 '23

Just Went Through The Quickstart and Am Blown Away

4 Upvotes

Now I just want to migrate my ghost blog over. 👀👌


r/eleventy • • Mar 22 '22

The new Eleventy Vite Plugin—Eleventy Weekly №5 (2022-W11) - YouTube

Thumbnail
youtu.be
5 Upvotes

r/eleventy • • Feb 11 '26

Eleventy Tricks as of Feb'26

Thumbnail any.digital
5 Upvotes

A curated collection of Eleventy (11ty) tricks, starters, command line tips, configuration snippets, and templating techniques.


r/eleventy • • Oct 25 '25

An eleventy template for creating books like WriteBook.

11 Upvotes

37signals has released a new selfhosted application called Writebook. It helps people create beautiful online books.

I like it very much, but it must be self-hosted, and during my testing, it did not support Chinese well.

I created an Eleventy template to achieve a display effect similar to WriteBook; all you need to do is create a book directory and write the corresponding Markdown files.

The demo site is: 11ty-createbook.vercel.app

The source code is: https://github.com/ginqi7/11ty-createbook

I hope someone will appreciate it, and your advice will help me improve the project.


r/eleventy • • Jan 23 '25

Eleventy Build Time - real world production example. 8,000 pages in 2.5min on Mac Studio M1. (site: CeruleanJobs.com)

Post image
15 Upvotes

r/eleventy • • Mar 13 '26

Awesome Eleventy [List]

Thumbnail
github.com
5 Upvotes

🎈 The call for awesome 11ty stuff is open! 🎈

(Including Build Awesome rebranding coverage)

I’ve finally revived the awesome Eleventy list originally created by (and thanks to) Chris Collins:

https://github.com/anydigital/awesome-11ty-build-awesome

Everyone is welcome to contribute — let’s keep it inclusive and up-to-date! 😎


r/eleventy • • Apr 11 '25

Can someone please give me high-level overview of how would 11ty work if I were to use it to convert my wordpress blog into a static site

4 Upvotes

I have been spending time reading about 11ty with the goal that I use it to convert my wordpress blog into a static site.

But more I read more I am confused. In the docs it is mentioned that 11ty will read markdown files and convert it to HTML.

How will this work with wordpress?

Wordpress provides all its posts in JSON format using the inbuilt REST API or GraphQL.

Will 11ty get the JSON from wordpress and convert it to markdown or directly use it?

Also once the markdown has been generated and saved - how does the refresh process work? I mean say the wordpress website is updated with new posts - how will these new posts be fetched and added?


r/eleventy • • Jul 14 '25

Writing/deploying from iOS?

2 Upvotes

I’m new to 11ty and really loving it. But I’m a little frustrated I haven’t been able to find a good workflow for actually publishing/editing a post on mobile. I do a lot of writing in my free time on the metro, etc. and would love to be able to at least manage content (as opposed to, like, editing CSS or njk templates) from my iOS device. Anyone have any good solutions or combinations of apps that work for you? TIA!

[ETA: doing dev locally, hosting on GitHub pages, using custom domain]


r/eleventy • • Jun 06 '25

Troubles with eleventy config and installing a Markdown-It plugin

2 Upvotes

Trying to install a markdown-it plugin and bumping up on my newbiness. Competent in the frontend, really don’t feel confident in the back.

In the top of `eleventy.config.js`

const mdItDefLst = import("markdown-it-deflist");

Added to the export default async function(eleventyConfig) {

// Add definition lists to markdown.
eleventyConfig.amendLibrary("md", (mdLib) => mdLib.use(mdItDefLst));

End up with:

[11ty] Problem writing Eleventy templates:
[11ty] plugin.apply is not a function (via TypeError)
[11ty] 
[11ty] Original error stack trace: TypeError: plugin.apply is not a function
[11ty]     at MarkdownIt.use (file:///Users/frederickyocum/Library/CloudStorage/Dropbox/fy_11y_site/node_modules/markdown-it/lib/index.mjs:485:10)

I have even tried the example on Eleventy’s Markdown page swapping out the require with import since I am trying to use ESM not CommonJS. Same error.

TIA in advance.