siaikin
f7eec6c5e8
feat(analytics): add support for Vercel Web Analytics provider ( #2119 )
...
* feat(analytics): add support for Vercel Web Analytics provider
* fix: correct indentation for Vercel analytics provider condition
2025-09-08 20:06:28 -07:00
John Barker
9db7b56c76
feat: add support for matomo analytics ( #2051 )
...
* feat: Support Matomo as analytics provider (self-hosted)
* SPA support
* Don't use var
* inline
* Revert fixing issues outside of this change
2025-08-12 23:56:04 -04:00
Wen Taichi
844b07a68f
fix(goatcounter): properly count SPA page hits ( #2035 )
...
1. Should not create new instance after count.js, as it already setup an
instance.
2. Script block would be removed when navigating with SPA, and it cause
count.js can not find endpoint by query. The solution is to set
endpoint manually.
2025-07-07 22:52:49 -04:00
Aswanth
90907abe82
fix(analytics): streamline posthog script loading and event capturing ( #1974 )
2025-05-24 00:55:07 -04:00
Dan
e78dddaab0
fix(analytics): Umami tracking pageviews properly
...
Update componentResources.ts to fix umami SPA tracking (#1967 )
Update componentResources.ts to fix umami analytics when SPA is enabled in Quartz
2025-05-07 21:44:30 +02:00
Taha
02f5e671c5
fix(analytics): fix the load of the analytics scripts ( #1865 )
...
* fix(analytics): fix the load of the analytics scripts
* chore(lint): fix lint issues
2025-03-21 09:58:10 -07:00
Felix Nie
ac01acc553
feat(fonts): allow PageTitle to have its own font subset ( #1848 )
...
* fix(explorer): vertically center the Explorer toggle under mobile view
* Added a separate title font configuration
* Added googleSubFontHref function
* Applied --titleFont to PageTitle
* Made googleFontHref return array of URLs
* Dealing with empty and undefined title
* Minor update
* Dealing with empty and undefined title
* Refined font inclusion logic
* Adopted the googleFontHref + googleFontSubsetHref method
* Adaptively include font subset for PageTitle
* Restored default config
* Minor changes on configuration docs
* Formatted source code
2025-03-18 21:43:32 -07:00
Jacky Zhao
bf8b577f63
perf: incremental rebuild (--fastRebuild v2 but default) ( #1841 )
...
* checkpoint
* incremental all the things
* properly splice changes array
* smol doc update
* update docs
* make fancy logger dumb in ci
2025-03-16 14:17:31 -07:00
Jacky Zhao
702192f4f4
fix(og): search for font family properly
2025-03-13 12:11:27 -07:00
Jacky Zhao
c9d36c28e2
fix(analytics): always use defer over async to account for document nav event
2025-03-13 10:48:03 -07:00
Jacky Zhao
7acd3132aa
feat: make og images an emitter to properly await image generation ( #1826 )
...
* checkpoint
* make emitters async generators
* fix
* custom font spec
* replace spinner, use disk cache for fonts
* use readline instead
* make og images look nice
2025-03-13 10:27:46 -07:00
Jacky Zhao
4439f91d55
feat: support non-singleton explorer
2025-03-10 15:13:22 -07:00
Jacky Zhao
397230d085
docs: make role of getQuartzComponents more clear and also make it optional
2025-03-05 18:34:02 -08:00
Jacky Zhao
595a157a58
fix(analytics): spa tracking for other providers
2025-03-05 16:27:08 -08:00
Anton Bulakh
bc5880ac33
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
Malcolm Mielle
408750f68c
feat(analytics): clarity ( #1446 )
...
Add the code necessary for support of Microsoft clarity
2024-09-30 10:06:37 -07:00
Gustavo de Paula
7eaa182af6
update cabin url ( #1428 )
2024-09-20 09:23:19 -07:00
John Bowdre
c2ec8cc5f5
feat(analytics): Cabin analytics support ( #1221 )
...
* add cabin analytics
* fix formatting
2024-06-18 13:38:45 -07:00
John Bowdre
224aac6655
feat(analytics): Tinylytics support ( #1118 )
...
* add tinylytics support
* fix formatting
* add trailing semicolon for consistency
2024-05-06 09:30:21 -07:00
kwyuan
34bdc76228
feat(analytics): PostHog support ( #1072 )
2024-04-08 18:43:09 -07:00
kabirgh
327b7b76a4
feat(perf:fast-rebuilds): Stop mutating resources param in ComponentResources emitter ( #977 )
...
* Stop mutating resources param in ComponentResources emitter
* Add done rebuilding log for fast rebuilds
* Move google font loading to Head component
* Simplify code and fix comment
2024-03-09 16:42:23 -08:00
Emile Bangma
a5b94ab39b
fix(resources): Use full path to font when cdnCache is false ( #976 )
2024-03-09 11:59:55 -05:00
Tyler Funk
5576219990
feat(analytics): Goatcounter support ( #956 )
...
* Add options to support goatcounter analytics
* goatcounter: support self-hosted
* Add to configuration docs for goatcounter settings
* use https instead of protocol-relative link for goatcounter js
2024-03-06 19:44:34 -08:00
kon-foo
8bcc6fb086
fix: correct umami host for self-hosted ( #939 )
...
* fixed umami script path for self-hosted version
* Update quartz/plugins/emitters/componentResources.ts
Co-authored-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com >
---------
Co-authored-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com >
2024-02-27 11:05:28 -05:00
Jacky Zhao
f34ecf9c45
fix(style): introduce semiBoldWeight and various improvements to reduce CLS
2024-02-17 10:34:51 -08:00
Jacky Zhao
f05f672170
fix(analytics): umami custom host should be a string ( closes #852 )
2024-02-12 09:01:05 -08:00
Aaron Pham
f5e1914238
chore: move fonts all into static folder ( #835 )
...
* chore: move fonts all into static folder
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
* chore: update formatter
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
---------
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
2024-02-10 17:17:41 -05:00
kabirgh
1af2d77586
feat(experimental): partial rebuilds ( #716 )
2024-02-09 10:07:32 -05:00
Aaron Pham
bc209401d6
fix(umami): format correct string from custom hosts ( #826 )
2024-02-08 08:45:20 -08:00
Aaron Pham
5d723428dd
feat(fonts): fetch before build ( #817 )
...
* feat: fetch google fonts before build
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* Update quartz/plugins/emitters/componentResources.ts
* fix: fetching wolff2
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* chore: remove request stylesheet
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* fix: race condition
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* chore: remove preconnect for static fonts
since we are already downloading fonts into public folder
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* chore: remove deadcode
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* chore: add options to gate for cdn caching
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
* chore: apply jacky's suggestion
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
* chore: add docs and only use one promise
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* fix: fmt
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* chore: remove deadcode
* chore: final touches
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
* revert: changes in theme.ts
* fix: styles and remove deadcode
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
---------
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
2024-02-08 02:52:55 -05:00
Jacky Zhao
e979288b41
chore: add window.addCleanup() for cleaning up handlers
2024-02-01 21:19:51 -08:00
1900
a0f502f17b
feat: support selfhost umami ( #764 )
...
* feat: support selfhsot umami
* Update quartz/plugins/emitters/componentResources.ts
Co-authored-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com >
* Update quartz/plugins/emitters/componentResources.ts
Co-authored-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com >
---------
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
Co-authored-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com >
2024-01-30 09:58:09 -08:00
kabirgh
9c573225d7
refactor: move emit from callback to helper file function ( #704 )
...
* Change emit from callback to helpers file function
* Update docs, remove commented code, improve type sig
2024-01-18 10:56:14 -08:00
Olivér Falvai
f902b9c2f1
feat: Self-hosted Plausible support ( #656 )
...
* Self-hosted Plausible support
* Remove leftover import
2023-12-28 08:49:35 -08:00
Jacky Zhao
1a0ba9b0ae
feat: minify js scripts ( closes #655 ) ( #657 )
2023-12-28 08:02:04 -08:00
Jacky Zhao
f87dc82f24
fix: change backtick to regular after making script loading less hacky
2023-12-18 23:13:37 -08:00
Jacky Zhao
b0220f5d25
fix(style): prioritize base and custom scss over component css
2023-10-21 21:06:02 -07:00
Jacky Zhao
1857c17d5c
fix(css): import base from custom instead of the other way around ( #536 )
2023-10-14 13:45:56 -07:00
Jacky Zhao
9738b95e1b
Revert "feat: Making Quartz available offline by making it a PWA ( #465 )"
...
This reverts commit d6301fae90 .
2023-09-20 13:52:45 -07:00
Adam Brangenberg
9c322802fa
feat: Making Quartz available offline by making it a PWA ( #465 )
...
* Adding PWA and chaching for offline aviability
* renamed workbox config to fit Quartz' scheme
* Documenting new configuration
* Added missig umami documentation
* Fixed formatting so the build passes, thank you prettier :)
* specified caching strategies to improve performance
* formatting...
* fixing "404 manifest.json not found" on subdirectories by adding a / to manifestpath
* turning it into a plugin
* Removed Workbox-cli and updated @types/node
* Added Serviceworkercode to offline.ts
* formatting
* Removing workbox from docs
* applied suggestions
* Removed path.join for sw path
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
* Removed path.join for manifest path
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
* Removing path module import
* Added absolute path to manifests start_url and manifest "import" using baseUrl
* Adding protocol to baseurl
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
* Adding protocol to start_url too then
* formatting...
* Adding fallback page
* Documenting offline plugin
* formatting...
* merge suggestion
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
* merge suggestion
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
* merge suggestion
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
* merge suggestion
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
* merge suggestion
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
* merge suggestion
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
* merge suggestion
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
* merge suggestion
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
* merge suggestion
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
* merge suggestion
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
* merge suggestion
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
* merge suggestion
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
* formatting...
* Fixing manifest path, all these nits hiding the actual issues .-.
* Offline fallback page through plugins, most things taken from 404 Plugin
* adding Offline Plugin to config
* formatting...
* Turned offline off as default and removed offline.md
---------
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
2023-09-20 11:38:13 -07:00
Yuto Nagata
a0a98bcf4f
fix: umami analytics date attribute ( #477 )
2023-09-15 19:17:20 -07:00
Adam Brangenberg
49d5d56bf4
feat(analytics): Support for Umami ( #449 )
2023-09-03 21:28:57 -07:00
Jeremy Press
43eeb8f4e7
Fix typo :) ( #430 )
2023-08-27 20:57:19 -07:00
Jeremy Press
ef762f28cd
feat: support configurable ws port and remote development ( #429 )
...
Co-authored-by: Jeremy Press <jeremy@replit.com >
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
2023-08-27 17:39:42 -07:00
Jacky Zhao
487e0c8473
fix: nav event with spa off, anchor nav refresh page
2023-08-20 18:08:44 -07:00
Jacky Zhao
303a867d60
base path refactor to better support subpath hosting
2023-08-19 15:52:25 -07:00
Jacky Zhao
b5ab38cb7e
fix relative path resolution in router and link crawling
2023-08-16 22:04:15 -07:00
Jacky Zhao
cf730e31fb
docs on making plugins
2023-08-10 21:16:07 -07:00
Jacky Zhao
a026ddad33
fix regression in code block font-size boosting on safari mobile
2023-08-07 21:51:06 -07:00
Jacky Zhao
15be857598
architecture, fix vendor prefixing
2023-08-07 17:34:38 -07:00