#dev 2025-04-10

2025-04-10 UTC
sebbu, gRegorLove_ and nemonical joined the channel
#
Loqi
PESOS has 1 karma over the last year
#
Loqi
gregr.org has 1 karma over the last year
#
carrvo
gregr.org++ PESOS++
#
mandaris
Does anyone have an opinion on link versus anchor tags? I'm looking down this rabbit hole and don't know if I'm just wasting my time.
#
carrvo
What is the context?
#
Loqi
context is everything around and about something, typically the nearer the more relevant, such as the graphic design surrounding a post, information around a post like the reply-context for a reply or its longer thread and previous discussions on the subject, posts by an author (perhaps of the same type) before and after a particular post, or conditions around a post like location, weather, date, and time of day https://indieweb.org/context
#
carrvo
manny, what is the context for which you are deciding between link and anchor?
#
carrvo
Looks at Loqi
#
carrvo
I would generally assume that if you want it visible to the viewer (clickable link or some text elabourating) than anchor is a definite.
#
mandaris
Oh, I'm thinking about rewriting the head element of my html pages for style sheets
#
mandaris
and other meta information
#
carrvo
If it is purely metadata inside the head, keep it as a link element.
#
carrvo
Far as I know that is the pattern.
#
mandaris
Thank you. Now I can rest
IWSlackGateway and jonnybarnes joined the channel
geoffo and GuestZero joined the channel
#
Loqi
[tantek] has 34 karma in this channel over the last year (159 in all channels)
#
Loqi
[preview] [Tantek Çelik] I’m happy to announce that something I and others have worked on very hard for the past few years has been published by the W3C Advisory Board (AB) and sent to the W3C Advisory Committee (AC) for a vote to make it official: Vision for W3C: https:/...
jjuran, parnikkapore_x and nemonical joined the channel
#
doesnm
official activitypub plugin is not working for classicpress? it say update classicpress but i'm on latest
[Murray]1, [tantek]1, sebbu2, geoffo_, roxwize_, srushe_, capjamesg_, eb_, nnrx_, ivyrose_, okCiel_, oodani_, dustinm`_, trwnh, CRISPR, ttybitnik and [bneil] joined the channel
#
mandaris
My site looks so wierd without the css
[jeremycherfas] and [dave] joined the channel
#
capjamesg
I don't fully understand this but it looks interesting: https://whtwnd.com/about
#
capjamesg
[edit] I don't fully understand this but it looks interesting: https://whtwnd.com/about
#
ben
IWDiscord: it's a frontend for publishing blogs on atproto
#
ben
i wrote my own tiny little frontend for atproto blogs too https://bhh.sh/pub/atblog/?user=benharri.org&p=3ldlopjthd325
Guest6 and Dryusdan joined the channel
#
jonnybarnes
Does anyone here minfy their css/js for your website, and if you do, do you generate sourcemaps and deploy them along with the minified files?
#
[artlung]
funny you should mention that. I usually don't but I did on a page recently and noticed the map was interpreted as a server-side image map
#
[artlung]
had to add
#
[artlung]
```<FilesMatch "\.map$">
#
[artlung]
</FilesMatch>```
#
[artlung]
SetHandler default-handler
#
[artlung]
So that it didn't misparse.
#
[artlung]
(in .htaccess)
ttybitnik, barnaby and btrem joined the channel
#
btrem
I'm wondering whether to include neighborhood in locations for photo posts (and maybe other posts). Has anyone done this? I can always undo it, but I wonder if anyone has tried this, any pitfalls to avoid?
#
btrem
(I also posted a related question in #microformats regarding how one might mark up a neighborhood name. FYI.)
duanin2, Xander and gRegor joined the channel
#
btrem
Ouf. Got burned by the hyphen in microformats `street-address` property. Dot notation in nunjucks doesn't work when the property name has a hyphen in it. Been broken for almost two years. :/
#
gRegor
Fun with `::before` and `::after` which I don't use often
#
capjamesg
Amazing 😄
nemonical, ttybitnik and klez joined the channel
#
[KevinMarks]
You can do ["street-address"] to get to it, but yes kebab-case is not great for js as it thinks it's subtraction
[avibagla] and barnabywalters joined the channel
#
btrem
[KevinMarks]: That's what I changed to. Though I first tried [street-address], which didn't work for reasons that you understand. I switched from `street` to `street-address` in my front matter (cf. https://btrem.com/2025/02-mf-front-matter-2), but didn't notice that my template was broken until today.
#
btrem
But I also realized that it was broken for only (only!) 3 months. :-)
#
btrem
..or so. I can't find the exact commit where I changed it. but it was sometime late last year or early this year.
GuestZero_, ttybitnik and barnaby joined the channel