Commit Graph

44 Commits

Author SHA1 Message Date
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
Jacky Zhao
bf89e38a40 Revert "fix: use git dates by default, @napi/git is fast enough"
This reverts commit 5dcb7e83fc.
2023-09-15 10:33:38 -07:00
Jacky Zhao
9bfdc24161 fix: use git dates by default, @napi/git is fast enough 2023-09-15 09:46:06 -07:00
Jacky Zhao
c9ddec07aa feat: 404 page emitter 2023-09-06 21:02:21 -07:00
Ben Schlegel
6bcae12f6d feat(consistency): Add .obsidian to ignorePatterns (#420) 2023-08-25 09:03:49 -07:00
Jacky Zhao
ca718fa3d7 feat: add defaultDateType config 2023-08-24 08:56:40 -07:00
Jacky Zhao
c5d90e9214 update plausible url 2023-08-20 00:54:13 -07:00
Jacky Zhao
6093c863a6 fix emit filepaths, tag emit being overriden by content 2023-08-11 23:25:44 -07:00
Jacky Zhao
159bf972c3 make path and globbing more platform invariant 2023-08-02 22:10:13 -07:00
Jacky Zhao
5e0b397a5f change default strategy to be rebase 2023-08-01 23:29:58 -07:00
Jacky Zhao
31e99c669a make layouts simpler to think about 2023-07-25 23:37:24 -07:00
Jacky Zhao
1ee77893ac font loading options, optimize css 2023-07-24 21:54:47 -07:00
Jacky Zhao
4c0ad3e361 make component resources a proper emitter 2023-07-23 18:20:43 -07:00
Jacky Zhao
480948a78f support attachments folder 2023-07-23 17:42:00 -07:00
Jacky Zhao
a1985bfd28 refactor static and asset emission to be actual emitter plugins 2023-07-23 17:07:19 -07:00
Jacky Zhao
617ea80db1 run prettier 2023-07-22 17:27:41 -07:00
Jacky Zhao
ffb2c9ba57 base path refactor, more docs 2023-07-13 00:19:35 -07:00
Jacky Zhao
33c8c9c5f6 docs + various polish 2023-07-09 19:32:24 -07:00
Jacky Zhao
b06cf9bdac polish 2023-07-08 14:36:02 -07:00
Jacky Zhao
a90142ba2d more visual polish, adjust colours and spacing 2023-07-04 16:48:36 -07:00
Jacky Zhao
1547c8af0d fix indexing causing main thread freeze, various polish 2023-07-04 10:08:32 -07:00
Jacky Zhao
20b2d88a06 various polish 2023-07-02 13:08:29 -07:00
Jacky Zhao
bcebc20808 rss + sitemap 2023-07-01 13:35:27 -07:00
Jacky Zhao
3e0e06025c tag and folder pages 2023-07-01 00:03:01 -07:00
Jacky Zhao
1c7b5c88d8 basic search implementation 2023-06-19 20:37:45 -07:00
Jacky Zhao
2a9ed21823 local and global graph 2023-06-18 10:47:07 -07:00
Jacky Zhao
d5b51a8e29 popovers 2023-06-17 16:05:46 -07:00
Jacky Zhao
f078f20c08 basic left,right layout 2023-06-17 14:36:06 -07:00
Jacky Zhao
09b5f4b10a modern toc tweaks 2023-06-16 19:41:59 -07:00
Jacky Zhao
9c6046a1f8 taglist, mermaid 2023-06-12 22:41:42 -07:00
Jacky Zhao
397f4f7d3a add config to components 2023-06-11 23:46:38 -07:00
Jacky Zhao
9a1f0b48b4 refactor plugins to be functions instead of classes 2023-06-11 23:26:43 -07:00
Jacky Zhao
8c5dd2287a toc 2023-06-09 23:06:02 -07:00
Jacky Zhao
cc10ff2487 generic quartz component for layout 2023-06-07 22:27:32 -07:00
Jacky Zhao
e16cc9be37 codeblock copy 2023-06-06 21:19:00 -07:00
Jacky Zhao
229f615790 darkmode scripts 2023-06-06 19:48:37 -07:00
Jacky Zhao
060dcce93e multi-core builds 2023-06-04 12:35:45 -04:00
Jacky Zhao
428833aeec syntax higlighting 2023-06-01 19:05:14 -04:00
Jacky Zhao
51e26ecb4e scss support 2023-06-01 17:35:31 -04:00
Jacky Zhao
5154dbca4e obsidian flavored markdown support 2023-06-01 12:33:20 -04:00
Jacky Zhao
e5f95504e1 link processing 2023-05-31 17:41:44 -04:00
Jacky Zhao
2d3b816c44 rendering, link resolution, asset copying 2023-05-31 17:01:23 -04:00
Jacky Zhao
62d0c4bd1a plugin integration round 2 2023-05-30 08:02:20 -07:00