What is Hackers' Pub?

Hackers' Pub is a place for software engineers to share their knowledge and experience with each other. It's also an ActivityPub-enabled social network, so you can follow your favorite hackers in the fediverse and get their latest posts in your feed.

0
2
2
0
0
0
0
1
1
0
1

My website is almost ported to , but there's one issue left that I can't resolve:

In , I have a shortcode for embedding mastodon feed of specified account. I figured I'd use liquid's {% render %} for it in 11ty instead of a shortcode, as it supports arguments and is basically what shortcode is.

Inside a zola shortcode, you can acces a variable called "nth", which will increment if you use the same shortcode multiple times on one page. It's value will be "1" in the first shortcode, "2" in the second and so on.

The library for embedding mastodon post requires a container with an id. Using this variable, I can just use

<div id="masto-feed-{{ nth }}"></div>

and I have every feed have it's own unique id.

How do I do that in 11ty? I don't necessarily need this numbering, although I imagine it being useful for other things as well. I just need every shortcode on one page to have it's own unique id. I have a feeling that it's probably something simple I missed in the documentation, but I haven't been able to find a solution anyway.

:boost_requested:

0
1
0

Historická zajímavost, která se váže k tomuto dni.

Dne 8.12. 1660 se v Londýně konalo první uvedení Shakespearovy tragédie Othello, kdy hlavní hrdinku hrála žena.

Šlo o klíčový okamžik v historii anglického divadla, kdy ženám konečně bylo dovoleno hrát ženské role, což byla radikální změna.

0
0
0
0
0
0
0
0
0
0
0
0
0

Americans!

The Senate Judiciary Committee, in tandem with the House's Energy and Commerce Committee, is also looking to run a shock and awe campaign during a "child safety" hearing tomorrow in order to push various fascist nanny state bills (KOSA, STOP CSAM, Age Verification, etc.).

Do not buy their framing. It's nothing but moral panic nonsense.

Call your Senators and Representatives ASAP!

0
0
0
0
0
0
0
0
0
0
0
0
0

Historická zajímavost, která se váže k tomuto dni.

Dne 8.12. 1660 se v Londýně konalo první uvedení Shakespearovy tragédie Othello, kdy hlavní hrdinku hrála žena.

Šlo o klíčový okamžik v historii anglického divadla, kdy ženám konečně bylo dovoleno hrát ženské role, což byla radikální změna.

0

[랜선효도/제주감귤] 12월 9일 가격표입니다. *부모님친지친구 선물 500원 할인 *어린이 있는 가정도 500원 할인 1) 동백향(홍미향) 이번 주 나올 예정입니다. 2) 황금향,한라봉 시작. 3) 고당도 큰 귤 저렴이인 특품 감귤 시작. 신 맛이 거의 없습니다. 4) 레드향은 12월 말 정도부터 나오고 맛있어집니다. 주문 : tinyurl.com/jejuorange7766 (구글폼) 문의 : open.kakao.com/o/snBLcewf (오픈카톡)

RE: https://bsky.app/profile/did:plc:a6qvfkbrohedqy3dt6k5mdv6/post/3m72gefhpjc2o

0
0
0
0

Main challenges facing Syria

By Omar Al-Saleh

Syria now has at least four main challenges:

Building a unifying national identity, as it is a country with diverse people from mixed religions, ethnicities and sects – and from opposing political backgrounds.

Security, both internally and externally. Remnants of the former regime are instigating unrest in the coastal region. Ethnic violence is a real threat, and Israeli strikes backing the Druze are a huge challenge.
1/

0
1
0
0
0
0
0
1
0
0
0
0
0