Mark Codes the Web

369 Followers
349 Following
1.1K Posts

Web Developer interested in making a more inclusive and accessible web.

My favorite things are video games, music, horror movies and books, and human rights.

I dig the #JamStack and static site generation.

#vim #javascript #nodejs #11ty #a11y #tabletoprpg #osr #horror #gaming

@irreverentmike I like Astro but haven’t used it in production yet. I’ve been using Eleventy for a while but planning to use Astro for a personal project in the near future.
@andrew I’ve been way more active on threads than here. Wish there was a way to connect my accounts. But it is cool to be able to follow my threads account here. Doesn’t look like it works both ways yet though.
Hey all, been a while since I’ve posted here due to crazy life, family stuff, etc. but wanted to drop by and say hi plus introduce our new puppy Sunshine.
@uncenter @codefoodpixels @eleventy thanks this is what we’re doing. We built a CMS on another site that controls all the data for all these sites and we have a daily CRON job that triggers the build hook every morning.

Asteriod wanted a selfie today

#caturday #saturdayselfie

@phoopee3 so we’re technically using WordPress as a headless CMS but it’s just a standard install. We’re forcing a a login screen so there’s no homepage on the WordPress install. We made a custom post type for each template design. Those have custom fields for each of the content fields/images. Each post gets pushed to an end point with JSON data for all of the fields. Eleventy has a fetch API to pull that feed into the site then we use Nunjucks for templating to add the data to the fields. For blog posts we’re using the standard WordPress posts and each category pushes the title, content (as HTML), featured image URL, and featured image alt tag as a JSON object in the end point. The categories are for each of the sites by name so when you select the category for that name that post will go to the correct feed. Then Eleventy can create pages from a template based on the data in that feed.

@eleventy thank you!

Eleventy saved my sanity and my company thinks I’m a genius. I couldn’t praise Eleventy enough.

Building really cool stuff with @eleventy #11ty using a single site WordPress install as a CMS that manages 70 websites that use one of 2 templates (only 2 git repos) and custom dynamic pages using the data stream to create pages from posts and it knows which site to add the pages just based on the category set for that post.

Netlify’s web hooks let us rebuild the sites every time the post is saved.

We’re getting lighthouse scores in the upper 90s on all sites, they have dynamic JavaScript components, lots of images, and a single login CMS for the client to manage all their content.

This project took a team of 2 only 2 months to build. If we were building individual WordPress sites like we used to, we would have taken over a year to build 70 sites and it would have cost us considerably more.

Just saying Eleventy is awesome.

@RichTate I love Fulci. My favorite is The Beyond.
@eleventy can’t wait to upgrade my sites. Never thought 11ty could be even lighter than it already is. Honestly it was already close to perfect but now sounds like it’s even closer.