@Zearin@mastodon.social avatar

Zearin

@Zearin@mastodon.social

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Zearin, to 11ty
@Zearin@mastodon.social avatar

@zachleat Suppose I wanted to run using its own dev server, but I also wanted to tinker with (https://htmx.org) to learn about it.

Q1: Is this possible now?

Q2: Will this be possible in the not-too-distant future?

zachleat, (edited ) to random
@zachleat@zachleat.com avatar

tried to use webpagetest.org this morning and received this whitescreen error page. hmm.

Zearin,
@Zearin@mastodon.social avatar

@zachleat Hmm. Pick a solution:

Zearin, to 11ty
@Zearin@mastodon.social avatar

@zachleat

Q: What are Eleventy’s states?

While trying to understand Eleventy better, I found myself wondering how I would draw a state diagram of Eleventy.

(Aside: Not a diagram I have a lot of experience creating, but I find looking at them useful!)

I know Eleventy is not implemented as a finite state machine...but is it possible to represent its states like one?

-state-machine -machine -architecture

Zearin, to random
@Zearin@mastodon.social avatar

@zachleat I don’t know why this awesome tool isn’t more famous:

https://npmgraph.js.org

Check out the graph for Eleventy v.3.0.0-alpha.6:

https://npmgraph.js.org/?q=%4011ty%2Feleventy%403.0.0-alpha.6#color=outdated

Zearin, to random
@Zearin@mastodon.social avatar

@zachleat Hey! Happy Friday!

Just a heads up—the following repo is not public:

https://github.com/11ty/eleventy-dependency-tree-esm

It’s linked to from the non-ESM version, but the link gives a 404.

Zearin, to random
@Zearin@mastodon.social avatar

@zachleat I saw a reference to canary 6 in an Issue.

Is it out yet?

If so, can you publish a Tag for it?

Zearin,
@Zearin@mastodon.social avatar

@zachleat Even the alphas?

I want to stay on the bleeding edge 😉

Zearin, to random
@Zearin@mastodon.social avatar

@zachleat Got a few questions in “Getting to know Eleventy 3 codebase”. Would you consider taking a look?

https://github.com/11ty/eleventy/issues/3159#issuecomment-1900706829

Zearin,
@Zearin@mastodon.social avatar

@zachleat 🙏🏽 Just saw your beautiful view!

Here’s mine (ha!):

aardrian, to accessibility
@aardrian@toot.cafe avatar

From last week:

“Using <abbr> Element with title Attribute”
https://adrianroselli.com/2024/01/using-abbr-element-with-title-attribute.html

After 25 years in HTML, it’s clear browsers/AT aren’t going to expose it consistently, never mind some set of users will always miss some piece of information.

Don’t use <abbr> (with or without title). Explain the thing on first use.

Zearin,
@Zearin@mastodon.social avatar

@aardrian I can’t believe I’ve been advocating something I thought was a best practice for decades. In fact it’s so ingrained I’ll have a hard time changing habits despite learning this.

How can the semantic HTML community get something this wrong for so long?

Zearin, to random
@Zearin@mastodon.social avatar

@zachleat If Eleventy v3 is going to list Pug as an officially-supported plugin, is there an official repo where development is happening?

If not, may I have your permission to start one? It looks like there is support from some other Eleventy+Pug users on:

https://github.com/11ty/eleventy/issues/3124

Zearin,
@Zearin@mastodon.social avatar

@zachleat I’ve got a project for the Pug plugin started:

https://github.com/Zearin/eleventy-plugin-pug

Do you know how I can use the Eleventy’s programmatic API for testing? Never tried the API before…

Zearin, to random
@Zearin@mastodon.social avatar

@zachleat Where did the convention of calling the test/alpha version “canary” come from?

Zearin,
@Zearin@mastodon.social avatar

@zachleat Do you mean which parts of Eleventy plugins have access to?

Zearin, to random
@Zearin@mastodon.social avatar

@zachleat: If I were to add (terse) JSDoc to some parts of Eleventy v3 for the sake of autocompletion and more human-friendly exploration of its codebase, would you accept a PR?

Zearin, to random
@Zearin@mastodon.social avatar

@zachleat : I’m having a difficult time getting Pug to work in v3.

Is it possible to just grab the Pug extends TemplateEngine {…} class from v2 and wrap it in a plugin for v3?

If so, how would I do that in a plugin?

Zearin, to random
@Zearin@mastodon.social avatar

@zachleat Is all Eleventy v3 development happening in the main branch?

Zearin, to random
@Zearin@mastodon.social avatar

@zachleat : Any API change for 11ty plugins in v3@canary?

Zearin,
@Zearin@mastodon.social avatar

@zachleat : Trying to get Pug to compile on v3.

One thing I’m confused about is whether or not there is overlap between .addTemplateFormats('pug'), .addExtension('pug', {…}), and .addPlugin(pugPlugin).

Do I need all 3?

Zearin,
@Zearin@mastodon.social avatar

@zachleat Ah. So a plugin can package together the other functions for convenience (but I can just call them w/o a plugin if I wanted). Do I have that right?

Zearin, to random
@Zearin@mastodon.social avatar

@zachleat Just read your article:

https://www.zachleat.com/web/netlify-and-nextjs/

Shame on Netlify! They have produced the kind of dishonest presentation that undermines the foundation of statistical reporting and sours public sentiment.

I hope your current employer is treating you better.

Zearin, to web
@Zearin@mastodon.social avatar

@zachleat I strongly suspect you will love this article review! (The article stands on its own. The review adds quality commentary.)

-components

https://youtu.be/1vF6puwX3bE?si=nCBeuaVQjJUty6ts

Zearin,
@Zearin@mastodon.social avatar

@zachleat No worries. The article is linked in the vid description, and is worth a read if you skip the video.

It is an excellent example of why “Bring back the indie Web” is not just a feel-good sentiment—but rather a necessary and healthy part of creating for the Web.

Zearin,
@Zearin@mastodon.social avatar
Zearin,
@Zearin@mastodon.social avatar

@zachleat Hahaha… I’m not surprised you saw it first!

Cheers ☕️

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • rosin
  • InstantRegret
  • ethstaker
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • tacticalgear
  • slotface
  • Durango
  • khanakhh
  • kavyap
  • megavids
  • everett
  • vwfavf
  • normalnudes
  • osvaldo12
  • cubers
  • GTA5RPClips
  • cisconetworking
  • ngwrru68w68
  • anitta
  • provamag3
  • tester
  • modclub
  • JUstTest
  • All magazines