photog.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for your photos and banter. Photog first is our motto Please refer to the site rules before posting.

Administered by:

Server stats:

264
active users

#eleventy

3 posts3 participants0 posts today

For folks who are using static site generators, but are self-hosting your sites, how are you handling deployment if building automatically? I've got Woodpecker CI building my site automatically.

I know I could use SFTP to push it to my web server... but am wondering if there's a more clever way to do this.

#introduction

I make websites. Sometimes I toot about it.
#eleventy #webc #php #statamic #laravel #tailwindcss #alpinejs uhhh whatever #sql and I guess #nginx #docker and all that crap all the way down. #fullstack

I play RPGs with friends. Sometimes I toot about it.
#ttrpg #dnd #pathfinder #5e #pf2e

I am my group's sysadmin. Sometimes I toot about it.
#selfhosted #plex #lemmy #mastodon #pihole and throw some darts at selfh.st and you catch the rest.

Hot takes, bad jokes, etc.

selfh.stselfh.st - Self-hosted content and softwareSelf-hosted news, content, updates, launches, events, and more

Hello #eleventy people! I am using the #i18n plugin and I am having a weird issue in which collections created within language-specific directories don't set their respective language and instead use the fallback language. So any collection item created in `fr/` or `it/` will only ever have a `page.lang` of `de` because that is the fallback.

What could possibly cause this?

Morning!

Need some #Frontend input.

I have a client who wants a basic site.
He is agnostic about the tech.
But he does need

  • A section that is passworded (that can be shared with credentials to contacts)

I want to use 11ty with Notion (or similar CMS). And do the password stuff with some auth (pretty new to me).

He is a photographer and has some images of drug use/abuse. So I was slightly cautious about putting images that could potentially violate a platforms TOS even if they are only ever served to pages that are behind a passworded folder.

We can happily go down the Wordpress route. My preference would be to avoid that, but at least he would have ownership of the DB.

Any thoughts? Insights?

TIA

🔗 Magick images. via @beep #Development #Webdev #Eleventy

Since leaving 18F, I’ve spent much of the last month thinking about what’s next for me work-wise. And of course, I’ve been doing no small amount of doomscrolling. But amid all of that, I’ve been remembering how to treat my website like a worry stone. When things get too stressful I’ll spend some time sanding down a few rough edges in the redesign. A...

ethanmarcotte.com/wrote/magick

ethanmarcotte.comMagick images. — ethanmarcotte.com
More from Ethan Marcotte

The Eleventy data cascade is great:

You can have data on different “layers", for example, applying to an entire directory via JS or one file via Front Matter.

Eleventy merges these layers for you, including objects mapping to the same key.

I just created a map of string replacements for permalinks over different layers.

One central function uses the merged map to modify permalinks accordingly.

This is fancy stuff. I hope to write a detailed How-To in the future.

YAY! My #Python is improving! I made this thing that makes a new @eleventy for me based off templates. Any chance Eleventy will have a built in new post creation thing in the future? I know it makes absolutely zero assumptions about your project but this is the most time consuming part for me and I imagine I'm not alone in this thinking. github.com/rkingett/myblog/blo #Eleventy #11ty #WebDev

Contribute to rkingett/myblog development by creating an account on GitHub.
GitHubmyblog/MakeNewPost.py at main · rkingett/myblogContribute to rkingett/myblog development by creating an account on GitHub.

Mon site perso est généré et hébergé par Cloudflare Pages (avec #Eleventy), actualisé automatiquement dès que je mets à jour le code dans la branche principale de son dépôt Git.

J'aime cette mise en œuvre très pratique qui permet notamment de créer des contenus de n’importe où tant que j’ai accès au Git.

Mais je voudrais revenir sur @alwaysdata pour l’hébergement.

La technique décrite il y a quelques années par m4dz ne me paraît pas répondre à mon besoin : blog.alwaysdata.com/fr/2018/02

Des idées ?

blog.alwaysdata.comalwaysdata | blog » Déployer sans peine avec Git hooks
Replied in thread

Thank you you two! Would either of you know how to resolve this particular issue?

Or anyone knowledgable about #Eleventy really!

When viewing tag RSS feeds, the permalinks don't take me to the posts in question but when I view my full site feed, everything is perfectly fine!

For reference, here is our Tag feed file.

github.com/rkingett/myblog/blo

As an example, the tag RSS feed on this page has post title links that go nowhere.

sightlessscribbles.com/posts/t

#WebDev

@olets @bobmonsour @eleventy

GitHubmyblog/content/helpers/tag-feeds.njk at main · rkingett/myblogContribute to rkingett/myblog development by creating an account on GitHub.
Replied in thread

Ah thank you! I believe that's what we were doing, me and my developer, but if you could take a look, that would be epic!

The repo is at github.com/rkingett/myblog

An example of a problematic capital, especially with permalinks in the RSS feed, is at,

sightlessscribbles.com/posts/t

#Eleventy #WebDev

@bobmonsour @eleventy

Contribute to rkingett/myblog development by creating an account on GitHub.
GitHubComparing c7972a32b1...a58e219d07 · rkingett/myblogContribute to rkingett/myblog development by creating an account on GitHub.

Looking for CMS advice

Hey Web devs!

Do you have any suggestions, tips, opinions, dos, don’ts about headless CMSes?

I have a growing list of small/mid non-profits and collectives asking for my help to (re)make their website. I totally want to help, but I don’t have much time, especially considering that they generally have little or no funding—I would most definitely point them to @VillageOneCoop, otherwise.

Therefore, I want a super simple and replicable solution where I can copy-paste most of the code, while providing them with a stable, fast, and modern solution. I had a look at the Headless CMS section in the Jamstack website, but I need opinions from people who actually used some of that software already.

Needs

  • I want to code and configure everything using @eleventy
  • Admin interface (#WebApp) for the client to add pages and write posts
  • Static website in the front-end
  • Simple and reliable CI/CD
  • No/minimal maintenance after the first setup
  • Self-hostable (I was taking this for granted so much that I forgot to write it)
  • If it requires forge integration, it should support #ForgeJo
  • #OpenSource

Nice to have

  • Possibly using #Deno, not #NodeJS
  • Allowing the client to customize a bit their website through the admin interface, with a GUI
  • CMS app packaged on @yunohost
  • No CMS vendor lock-in
  • I’d love to write as little JavaScript as possible
  • #FreeSoftware

Absolutely not

Please, boost this and ask around! Links to videos, tutorials, and resources are welcome.

People whose perspective I would really value: @zachleat @harryfk @deno_land @jaredwhite @vanillaweb @stefan @mxbck @WeirdWriter @deadsuperhero (Sorry if I am spamming you!)

Jamstack.orgHeadless CMS - Top Content Management Systems | JamstackCheck out this showcase of some of the best, open source headless CMSes. This is community-drive so be sure to submit your favorite CMS today!
#Eleventy#11ty#CMS

Finally figured out my RSS issue the other day! So @eleventy really doesn't like capital letters in tag lists. For example, I assumed Eleventy would turn the below tag...

Newsletter

Into,

.com/newsletter/

but I had to go back in and change every tag to lower case! But if I put, Newsletter, in uppercase, URLs would break because for some reason the URLs would come out like this, breaking links.

.com/Newsletter/

So the short story lesson is, if in doubt, keep all tags in lower case because #Eleventy can't really handle capitalization well. At least, on my project anyway!

I had to go back in and change every instance of the tag, Newsletter, into, newsletter. Not expected but it works now!