# eleventy

Published articles for eleventy.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Automating Advent Calendar with Github Actions and Eleventy

DevFeed: [Automating Advent Calendar with Github Actions and Eleventy](<https://devfeed.tech/articles/automating-advent-calendar-with-github-actions-and-eleventy-38455.md>)

Original publisher: [Read original article](<https://eevis.codes/blog/2023-01-14/automating-advent-calendar-with-github-actions-and-eleventy/>)

Author: Eevis Panula

Published: 2023-01-14T13:29:58.901000Z

Content type: tutorial

Language: en

Sources: [Eevis Blog](<https://devfeed.tech/sources/eevis-blog.md>)

Topics: [Eleventy](<https://devfeed.tech/topics/eleventy.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [Accessibility](<https://devfeed.tech/topics/accessibility.md>), [CSS](<https://devfeed.tech/topics/css.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [css](<https://devfeed.tech/tags/css.md>), [eleventy](<https://devfeed.tech/tags/eleventy.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>)

### AI overview

A tutorial describing how to build an Advent calendar with Eleventy, plain CSS, a private repository, and GitHub Actions. It explains using Eleventy's ignore mechanism and an unpublished directory to keep future content out of the build, avoiding client-side JavaScript.

### Source excerpt

I've always seen advent/Christmas calendars as an interesting, technical challenge. How to build something that hides content until some specified time? And to do that without client-side JavaScript? And automatically, so I don't need to deploy the page daily manually? Last year, I decided to take up the challenge and build an advent calendar. After some consideration, the concept was clear: it would be in Finnish and about accessibility. I have a Finnish Instagram account where I talk about accessibility, so this combination made the most sense. After that, there was all the technical decisions and solving the problem above: How to keep content hidden until the right time? In this blog post, I'll share how I solved that problem. But first, let's look into the stack I chose to use. The Stack The calendar is built with Eleventy - my go-to choice when I want to create something that's not so complicated that I need to break it into smaller components. Actually, now that I think of it, I'd still take Eleventy - my projects are usually simple. Other than that, I'm using plain CSS and no client-side JavaScript. I love how you can do that with Eleventy. So, if you're wondering how I'm doing "not showing the content before the correct date": No, it's not with JavaScript. It's a combination of Eleventy's features, a private repository, and Github Actions. Let's talk about them next. Hiding Content with Eleventy I spent quite some time trying to come up with a solution that would solve my problem. I could have used client-side JavaScript, but then again, if I could solve that without it, it would be great. So I started doing some research. Is there a way to prevent some pages from getting into the build Eleventy does? After searching with some terms that did not give me good results, I finally found the solution: .eleventyignore and having an unpublished-directory containing the unpublished content. This way, the contents of the unpublished-directory won't be part of the bui

## How I Created Neule.art

DevFeed: [How I Created Neule.art](<https://devfeed.tech/articles/how-i-created-neule-art-38443.md>)

Original publisher: [Read original article](<https://eevis.codes/blog/2022-06-30/how-i-created-neule-art/>)

Author: Eevis Panula

Published: 2024-11-03T12:00:49.100000Z

Content type: tutorial

Language: en

Sources: [Eevis Blog](<https://devfeed.tech/sources/eevis-blog.md>)

Topics: [Eleventy](<https://devfeed.tech/topics/eleventy.md>), [SVG](<https://devfeed.tech/topics/svg.md>), [static-site-generator](<https://devfeed.tech/topics/static-site-generator.md>), [Forms](<https://devfeed.tech/topics/forms.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [blog-post](<https://devfeed.tech/tags/blog-post.md>), [eleventy](<https://devfeed.tech/tags/eleventy.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [html](<https://devfeed.tech/tags/html.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [static-site-generator](<https://devfeed.tech/tags/static-site-generator.md>), [svg](<https://devfeed.tech/tags/svg.md>)

### AI overview

This article explains the creation of Neule.art, a color picker and visualizer for Riddari sweaters and other knitting patterns. It discusses using SVG for color visualization and choosing Eleventy, Eleventy Serverless, and HTML forms to build the site with minimal or no client-side JavaScript.

### Source excerpt

I'm a knitter. It's one way of expressing my creativity and also passing the time. And it's sometimes super relaxing. And I (and people around me) get to wear some nice, warm, self-made garments. One ongoing project is that I'm knitting some Riddari-sweaters as presents to some of my close ones when they turn 30. Usually, I've just decided on the colors myself, but this time I wanted to ask from the recipient for their color choice. So, I could have tried to find some pictures of the sweater in potential colors. But there was a chance that I couldn't find those. And it takes some imagination to try to think how some colors play together if you only see a picture of the yarn ball and the sweater in random color. Trust me; I've bought some new yarn in the middle of making a sweater because what I was knitting was not what I had imagined. I needed a way of visualizing the colors somehow. And thus, the idea for my next project was born. In this blog post, I'll introduce you to Neule.art, a color picker or color visualizer for the Riddari sweater (among other patterns), and how I created it. If you're interested in the code, you can find it from the Neule.art repository. The code is nowhere perfect, and I know I could polish it a lot, but my goal has been just to get it out and then, maybe at some point, improve the code quality. The Planning and Decisions So, I began pondering how to create this site or app. I instantly started thinking about using SVGs for the visualization, as you can manipulate the colors of an SVG pretty straightforwardly. Another thing to decide on was the technologies. What should I use? React? NextJS? Something else? I wanted to build a page with the least possible amount of JavaScript, so I decided to go with Eleventy. That's a framework I've used before, and my website, for example, is built on Eleventy. I'm a bit bored with JavaScript and wanted to try if I could build the site without any client-side JS. As Eleventy is a static site generator

## Add a Comments Section to an Eleventy Website with MongoDB and Netlify

DevFeed: [Add a Comments Section to an Eleventy Website with MongoDB and Netlify](<https://devfeed.tech/articles/add-a-comments-section-to-an-eleventy-website-with-mongodb-and-netlify-21812.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2022/03/add-comments-section-eleventy-website-mongodb-netlify/>)

Author: Nic Raboy

Published: 2022-03-23T13:00:00Z

Content type: tutorial

Language: en

Sources: [Nic Raboy](<https://devfeed.tech/sources/nic-raboy.md>)

Topics: [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [Eleventy](<https://devfeed.tech/topics/eleventy.md>), [MongoDB](<https://devfeed.tech/topics/mongodb.md>), [Netlify](<https://devfeed.tech/topics/netlify.md>), [Website](<https://devfeed.tech/topics/website.md>), [Database](<https://devfeed.tech/topics/database.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>)

Tags: [database](<https://devfeed.tech/tags/database.md>), [eleventy](<https://devfeed.tech/tags/eleventy.md>), [http](<https://devfeed.tech/tags/http.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [netlify](<https://devfeed.tech/tags/netlify.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [nosql](<https://devfeed.tech/tags/nosql.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

This tutorial explains how to add database-backed comments to a static Eleventy website hosted on Netlify. It describes rendering existing comments during site generation, loading newer comments with timestamp-based HTTP requests, and storing new comments in MongoDB.

### Source excerpt

I'm a huge fan of static generated websites! From a personal level, I have The Polyglot Developer, Poké Trainer Nic, and The Tracy Developer Meetup, all three of which are static generated websites bu... The post Add a Comments Section to an Eleventy Website with MongoDB and Netlify appeared first on MongoDB.

## Add Pagination to Your Eleventy Static Generated Website in Minutes

DevFeed: [Add Pagination to Your Eleventy Static Generated Website in Minutes](<https://devfeed.tech/articles/add-pagination-to-your-eleventy-static-generated-website-in-minutes-21807.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2022/01/add-pagination-eleventy-static-generated-website-minutes/>)

Author: Nic Raboy

Published: 2022-01-19T14:00:00Z

Content type: tutorial

Language: en

Sources: [Nic Raboy](<https://devfeed.tech/sources/nic-raboy.md>)

Topics: [Eleventy](<https://devfeed.tech/topics/eleventy.md>), [Nunjucks](<https://devfeed.tech/topics/nunjucks.md>), [modern web development](<https://devfeed.tech/topics/modern-web-development.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [eleventy](<https://devfeed.tech/tags/eleventy.md>), [html](<https://devfeed.tech/tags/html.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

A tutorial explains how to add pagination to an Eleventy website using video data and a Nunjucks template. It covers displaying page numbers and next or previous page controls, while focusing on functionality rather than styling or Eleventy basics.

### Source excerpt

A few months ago you might remember a tutorial I put out regarding remote caching in Eleventy. In this tutorial titled, Download and Cache YouTube Data in an Eleventy Website with Simple JavaScript, I... The post Add Pagination to Your Eleventy Static Generated Website in Minutes appeared first on The Polyglot Developer.

## Download and Cache YouTube Data in an Eleventy Website with Simple JavaScript

DevFeed: [Download and Cache YouTube Data in an Eleventy Website with Simple JavaScript](<https://devfeed.tech/articles/download-and-cache-youtube-data-in-an-eleventy-website-with-simple-javascript-21803.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2021/09/download-cache-youtube-data-eleventy-website-simple-javascript/>)

Author: Nic Raboy

Published: 2021-09-15T13:00:00Z

Content type: tutorial

Language: en

Sources: [Nic Raboy](<https://devfeed.tech/sources/nic-raboy.md>)

Topics: [Eleventy](<https://devfeed.tech/topics/eleventy.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Caching](<https://devfeed.tech/topics/caching.md>), [API](<https://devfeed.tech/topics/api.md>), [Google Cloud Platform (GCP)](<https://devfeed.tech/topics/google-cloud.md>), [Website](<https://devfeed.tech/topics/website.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [cache](<https://devfeed.tech/tags/cache.md>), [eleventy](<https://devfeed.tech/tags/eleventy.md>), [google-cloud](<https://devfeed.tech/tags/google-cloud.md>), [html](<https://devfeed.tech/tags/html.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

This tutorial explains how to retrieve YouTube video and playlist information through APIs, cache the data, and display it in an Eleventy static-generated website.

### Source excerpt

So you want to add your YouTube videos to your static generated website, but you don't want to manually keep track of all your videos and playlists? I get it because I've been there! Take my website, ... The post Download and Cache YouTube Data in an Eleventy Website with Simple JavaScript appeared first on The Polyglot Developer.