speisekarten-quartz/quartz/plugins
Anton Bulakh 6d350500f1
fix(goatcounter): properly count SPA page hits (#1718)
On the surface it seems that only google and plausible scripts handle
the SPA correctly - but I don't know if maybe others handle
window.history API themselves somehow or something like that.

However, I am trying out goatcounter and in it's docs I see that it
does no special SPA handling, so this has to be fixed.

Just doing the dynamic script thing on every nav seems to do the trick.
The script is not "spa-preserve" so they wouldn't accumulate - and when
I tried the "spa-preserve" + call goatcounter api route it didn't quite
work, they actually did accumulate
2025-02-27 16:35:19 -05:00
..
emitters fix(goatcounter): properly count SPA page hits (#1718) 2025-02-27 16:35:19 -05:00
filters Feat(filters): Support "true" as valid for draft and publish frontmatter values (b3a02909ba) 2024-10-22 20:33:54 +00:00
transformers fix(aliases): wikilink resolution for aliases (#1681) 2025-02-25 16:28:16 -05:00
index.ts fix: comments on spa should work (closes #1296) (#1298) 2024-07-30 01:13:13 -07:00
types.ts feat(experimental): partial rebuilds (#716) 2024-02-09 10:07:32 -05:00
vfile.ts chore(build): separate markdown and html handling into two separate stages (#1675) 2025-01-07 15:33:34 -05:00