Jacky Zhao
f9c788b0f1
fix: parse parallelization chunk arg, inline b64 for og image
2025-03-16 15:12:40 -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
08cbb35159
fix(contentPage): dont emit folders
2025-03-13 13:57:00 -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
18ef9a6450
fix(explorer): show file name instead of slug if no file data ( closes #1822 )
2025-03-12 11:24:28 -07:00
Jacky Zhao
4439f91d55
feat: support non-singleton explorer
2025-03-10 15:13:22 -07:00
Jacky Zhao
f35321c408
perf(explorer): client side explorer ( #1810 )
...
* start work on client side explorer
* fix tests
* fmt
* generic test flag
* add prenav hook
* add highlight class
* make flex more consistent, remove transition
* open folders that are prefixes of current path
* make mobile look nice
* more style fixes
2025-03-09 14:58:26 -07:00
Jacky Zhao
60301eccfd
chore(deps): bump deps, silence internal punycode deprecation
2025-03-06 09:41:26 -08: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
68f01725e8
feat: support emitters defining external resources, emit link from contentindex directly
2025-03-05 18:16:24 -08:00
Jacky Zhao
595a157a58
fix(analytics): spa tracking for other providers
2025-03-05 16:27:08 -08:00
Emile Bangma
0f40c92ee5
feat(rss): configurable RSS feed URL ( #1806 )
...
* feat(rss): configurable RSS feed URL
* Update docs/features/RSS Feed.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update docs/features/RSS Feed.md
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
2025-03-05 15:54:11 -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
Anton Bulakh
482ae4d8b8
fix(aliases): wikilink resolution for aliases ( #1681 )
...
With markdownLinkResolution: "shortest", aka "+/- how Obsidian does it"
and given pages A and nested/B which has an alias Z, if you try to link
from A using [[Z]] it wouldn't work and get 404.
This is caused by alias slugs (nested/Z in this case, emitted by
AliasRedirects) not being present in the `allSlugs` list which is used
by the link transformer.
The fix is to compute the alias slugs in the frontmatter transformer
and add them to `allSlugs` there.
Also we store them in file data to avoid recomputing them when emitting
alias redirect pages.
Fixes #904
Note: given how currently the markdown/html transformers are ordered
this doesn't really work.
Given pages A and nested/B which has an alias Z, here's the order which
currently happens:
md-transformers(A) => html-transformers(A) =>
md-transformers(B) => html-transformers(B)
Since the nested/Z slug will get added when md-transformers(B) are run,
but the slugs are used by html-transformers(A) when resolving it's
links - the link [[Z]] in A will still 404
A fix for this is to split the parser into two stages - first apply the
md-transformers to all files, and only then apply html-transformers to
all files.
I did just that in a different commit, which is needed for this one to
work correctly.
2025-02-25 16:28:16 -05:00
Aaron Pham
83ce7ec0a7
perf: reduce bundle size ( closes #1607 ) ( #1689 )
2025-01-01 12:24:32 -08:00
Anton Bulakh
7dea35d29c
fix(tags): Set consistent titles for tags with description pages ( #1671 )
2024-12-26 17:50:06 -07:00
Thomas Hack
5666d6561b
feat(folder): add intermediate folders pages ( #1295 )
...
Co-authored-by: Aaron Pham <Aaronpham0103@gmail.com >
Co-authored-by: Aaron Pham <contact@aarnphm.xyz >
2024-10-25 12:52:33 -04: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
Jacky Zhao
d2e7a4f01e
feat(layout): add afterBody
2024-07-09 19:09:31 -07:00
Jacky Zhao
f6c1619135
docs + chore: cleanup custom sort ordering for folder + tag listings, add docs
2024-07-09 17:55:19 -07:00
Cao Mingjun
4c7d7dc838
feat: Allow custom sorting of FolderPage and TagPage ( #1250 )
2024-07-09 17:42:33 -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
Aaron Pham
ea272f0a55
fix(tag): remove hash on main page ( #969 )
...
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
2024-03-06 18:24:50 -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
Aaron Pham
3bed34385f
chore: passing additional buildCtx to componentData ( #914 )
...
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
2024-02-22 17:51:07 -08:00
kabirgh
5be479fd0e
feat: implement getDependencyGraph for TagPage ( #872 )
...
* feat: implement getDependencyGraph for TagPage
* Only add file to dg if it has at least 1 tag
2024-02-19 13:58:15 -05:00
Jacky Zhao
f34ecf9c45
fix(style): introduce semiBoldWeight and various improvements to reduce CLS
2024-02-17 10:34:51 -08:00
kabirgh
fa91e0d3ef
fix/feat(fast rebuild): re-render transclusions in normal and fastRebuild mode ( #842 )
...
* Re-render transclusions in normal watch mode
* Include transclusions in ContentPage getDependencyGraph
* Address PR comments
2024-02-17 09:45:01 -08:00
kabirgh
285d11f0df
feat: implement getDependencyGraph for AliasRedirects emitter ( #860 )
2024-02-15 19:50:48 -05:00
kabirgh
7639c1abd3
feat: implement getDependencyGraph for FolderPage ( #849 )
2024-02-15 19:50:33 -05:00
Jacky Zhao
f05f672170
fix(analytics): umami custom host should be a string ( closes #852 )
2024-02-12 09:01:05 -08:00
kabirgh
84f7220d58
fix(fast rebuild): call only required emitters, don't always copy assets ( #845 )
...
* fix(fast rebuild): call only required emitters, don't always copy assets
* Type function
2024-02-11 12:20:44 -08:00
Jacky Zhao
934b78ae55
chore: refactor out and export endsWith
2024-02-11 10:57:24 -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
340684c01f
chore(i18n): refactor and cleanup ( #805 )
...
* checkpoint
* finish
* docs
2024-02-04 20:57:10 -08:00
Jacky Zhao
c4a36e76ae
fix: index setup, styling fixes
2024-02-01 22:22:06 -08: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
Jacky Zhao
090985f22b
fix: generalize frontmatter parsing and coercing
2024-01-27 21:39:16 -08:00