Commit Graph

124 Commits

Author SHA1 Message Date
bfahrenfort
60a2ded31a Quartz sync: Jun 1, 2024, 1:36 PM 2024-06-01 13:36:34 -05:00
bfahrenfort
881bca1245 Quartz sync: Feb 13, 2024, 8:22 PM 2024-02-13 20:22:48 -06:00
bfahrenfort
37c4d37744 Merge branch 'SplitRSS' of github-bfahrenfort:bfahrenfort/quartz into v4 2024-02-13 20:20:28 -06:00
bfahrenfort
3d19660b11 Merge branch 'v4' of github-bfahrenfort:jackyzha0/quartz into v4 2024-02-13 20:14:54 -06:00
bfahrenfort
4c50cf9338 chore: rebase Add per-folder RSS feeds 2024-02-13 20:08:16 -06:00
Aaron Pham
330e322e48
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
Mara-Li
dbbc672c67
feat: Adding support for i18n (closes #462) (#738)
* fix: alt error mix with height/width

More granular detection of alt and resize in image

* fix: format

* feat: init i18n

* feat: add translation

* style: prettier for test

* fix: build-up the locale to fusion with dateLocale

* style: run prettier

* remove cursed file

* refactor: remove i18n library and use locale way instead

* format with prettier

* forgot to remove test

* prevent merging error

* format

* format

* fix: allow string for locale
- Check during translation if valid / existing locale
- Allow to use "en" and "en-US" for example
- Add fallback directly in the function
- Add default key in the function
- Add docstring to cfg.ts

* forgot item translation

* remove unused locale variable

* forgot to remove fr-FR testing

* format
2024-02-03 19:55:24 -08:00
Jacky Zhao
3fb3930df8 fix: calculate heading after latex (closes #719) 2024-02-03 19:44:24 -08:00
bfahrenfort
0e0b769f05 Merge branch 'v4' of github-bfahrenfort:jackyzha0/quartz into v4 2024-02-02 11:15:54 -06:00
bfahrenfort
7f9311cd6f Quartz sync: Jan 16, 2024, 3:41 PM 2024-01-16 15:41:01 -06:00
bfahrenfort
b95ab7e808 Quartz sync: Jan 13, 2024, 11:34 PM 2024-01-13 23:34:50 -06:00
Jacky Zhao
1a8aedf5f5 docs: clarify git only sets modified 2024-01-07 15:39:38 -08:00
Jacky Zhao
7bcf27241f fix: latex before syntax highlighting 2023-12-19 19:03:40 -08:00
Jacky Zhao
9b9d86474b fix: mermaid rendering fix from upstream 2023-12-19 11:01:55 -08:00
Jacky Zhao
443cd53a1a fix: mermaid rendering broken after rehype-pretty-code bump (closes #638) 2023-12-18 23:09:49 -08:00
bfahrenfort
61adf091b6 Quartz sync: Jan 13, 2024, 5:13 PM 2024-01-13 17:13:32 -06:00
bfahrenfort
753d026029 Quartz sync: Jan 13, 2024, 4:58 PM 2024-01-13 16:58:49 -06:00
bfahrenfort
49f47f41e3 Quartz sync: Oct 7, 2023, 2:36 PM 2023-10-07 14:36:08 -05:00
bfahrenfort
581cf9497b Quartz sync: Oct 7, 2023, 2:35 PM 2023-10-07 14:35:08 -05:00
bfahrenfort
d64b0d815c Quartz sync: Oct 7, 2023, 2:33 PM 2023-10-07 14:33:27 -05:00
bfahrenfort
869de73a38 Quartz sync: Oct 1, 2023, 1:06 AM 2023-10-01 01:06:48 -05:00
bfahrenfort
407fc31326 Quartz sync: Oct 1, 2023, 1:04 AM 2023-10-01 01:04:40 -05:00
bfahrenfort
f2bf62289e Quartz sync: Oct 1, 2023, 12:51 AM 2023-10-01 00:51:51 -05:00
bfahrenfort
593c7ab788 Quartz sync: Oct 1, 2023, 12:46 AM 2023-10-01 00:46:42 -05:00
bfahrenfort
c5b226531e Quartz sync: Oct 1, 2023, 12:44 AM 2023-10-01 00:44:21 -05:00
bfahrenfort
affe4e90fb Quartz sync: Sep 23, 2023, 3:45 PM 2023-09-23 15:45:15 -05:00
Jacky Zhao
6a9e6352e8 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
d6301fae90
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
bfahrenfort
de7e313eab Quartz sync: Sep 17, 2023, 12:13 PM 2023-09-17 12:13:35 -05:00
bfahrenfort
e791e663a4 Quartz sync: Sep 17, 2023, 12:07 PM 2023-09-17 12:07:07 -05:00
Jacky Zhao
9ae6343dd0 Revert "fix: use git dates by default, @napi/git is fast enough"
This reverts commit 5dcb7e83fc.
2023-09-15 10:33:38 -07:00
bfahrenfort
55b214a00f Merge branch 'v4' of github-bfahrenfort:jackyzha0/quartz into v4 2023-09-15 12:13:35 -05:00
Jacky Zhao
5dcb7e83fc fix: use git dates by default, @napi/git is fast enough 2023-09-15 09:46:06 -07:00
Jacky Zhao
9bfdc24161 fix: use git dates by default, @napi/git is fast enough 2023-09-15 09:46:06 -07:00
bfahrenfort
057d29dcb0 Quartz sync: Sep 10, 2023, 8:04 PM 2023-09-10 20:04:42 -05:00
bfahrenfort
3c699de759 Quartz sync: Sep 10, 2023, 3:29 PM 2023-09-10 15:29:55 -05:00
bfahrenfort
d72abe9364 Quartz sync: Sep 10, 2023, 3:18 PM 2023-09-10 15:18:28 -05:00
bfahrenfort
4cb6534241 Quartz sync: Sep 10, 2023, 2:46 PM 2023-09-10 14:46:50 -05:00
Jacky Zhao
8d6029b7b8 feat: 404 page emitter 2023-09-06 21:02:21 -07:00
Jacky Zhao
c9ddec07aa feat: 404 page emitter 2023-09-06 21:02:21 -07:00
bfahrenfort
b59c84865a Quartz sync: Sep 3, 2023, 12:10 PM 2023-09-03 12:10:46 -05:00
bfahrenfort
e194dcd70e Quartz sync: Sep 2, 2023, 2:22 PM 2023-09-02 14:22:46 -05:00
bfahrenfort
8ce87778a6 Quartz sync: Sep 2, 2023, 1:35 PM 2023-09-02 13:35:08 -05:00
Ben Schlegel
340e3ef511
feat(consistency): Add .obsidian to ignorePatterns (#420) 2023-08-25 09:03:49 -07:00
Ben Schlegel
6bcae12f6d feat(consistency): Add .obsidian to ignorePatterns (#420) 2023-08-25 09:03:49 -07:00
Jacky Zhao
c36a9f3fb7 feat: add defaultDateType config 2023-08-24 08:56:40 -07:00
Jacky Zhao
ca718fa3d7 feat: add defaultDateType config 2023-08-24 08:56:40 -07:00
bfahrenfort
574de3de41 Quartz sync: Aug 23, 2023, 11:52 PM 2023-08-23 23:52:24 -05:00
bfahrenfort
28c8f7fb82 Quartz sync: Aug 23, 2023, 11:51 PM 2023-08-23 23:51:34 -05:00
bfahrenfort
6da483c43e Quartz sync: Aug 23, 2023, 8:00 PM 2023-08-23 20:00:55 -05:00