Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
1 vote
0 answers
14 views

Process eleventy shortcodes in markdown-rendered FrontMatter data

I'm using 11ty with Decap CMS for a client webiste. I have several front-matter fields to add markdown content (I need to add Markdown content to boxes in several locations) . I render the markdown ...
vermar's user avatar
  • 37
0 votes
0 answers
59 views

Eleventy rendering [object Object] when dealing with frontmatter

I am using netlify cms and eleventy to build a blog. Here's how my markdown looks like: --- title: How should your business website look like ? Find the perfect agency for it. description: So, you've ...
Saswat's user avatar
  • 319
1 vote
0 answers
211 views

11ty images not generating on Netlify, working ok locally

I have a small 11ty site running on Netlify and using Decap CMS (formerly Netlify CMS). There's an image field for uploading JPGs, and I've used 11ty Image to generate a Webp and an AVIF, then create ...
Derek Johnson's user avatar
1 vote
0 answers
133 views

Enclose frontmatter value using double quotes in 11ty files after an edit and publish in netlify cms

I'm using 11ty with netlify cms, --- title: "sample title" description: "sample description" canonical: "https://www.example.com" --- the above is the frontmatter data ...
Hari Prasath's user avatar
0 votes
0 answers
73 views

Netlify CMS collection only visible locally

I have several collections with my Netlify CMS site, all worked fine, but needed to add a new one which is not working on the live site. I’ve added a new collection to the config file, which works ...
igs's user avatar
  • 21
1 vote
1 answer
121 views

Eleventy and Netlify blog, with author relations

I have a blog type site that I've been working on, which is almost complete. I've used Eleventy and now I've hooked up Netlify CMS which required me to restructure some data. Netlify CMS requires me ...
Daz Lee's user avatar
  • 174
1 vote
0 answers
309 views

How do I format dates in Netlify CMS?

I'm building a site with Netlify CMS, Eleventy and Nunjucks. I'm having trouble with date formatting for future, non-current dates -- the site is for a local band advertising their show dates. The ...
Molly's user avatar
  • 23
0 votes
2 answers
989 views

How do I format [future, non-current] dates in Eleventy + Nunjucks?

I'm building a site with a CMS (Netlify) for a local band, and they have future gig dates they will put on the site. So far the dates show up as very long non-formatted strings that include the time ...
Molly's user avatar
  • 23
0 votes
0 answers
2k views

Can I convert a front matter string/list to array with nunjucks?

I'm using Eleventy and NetlifyCMS and I want one field that is a string (sepparated by comma) to convert to an array in JSON so I can search individual items in that field from Fuse.js So I wrote a ....
Diego de Sousa's user avatar
0 votes
0 answers
176 views

Return a random value to data in field value is blank

I'm working on a redirect generator using 11ty and netlify-cms, and storing data in a shorturls.json file. My config.yml looks like this: collections: - name: "config" label: "Admin" ...
Matt's user avatar
  • 818