···2121This part of the configuration concerns anything that can affect the whole site. The following is a list breaking down all the things you can configure:
22222323- `pageTitle`: title of the site. This is also used when generating the [[RSS Feed]] for your site.
2424-- `description`: description of the site. This will be used when someone installs your site as an App.
2524- `enableSPA`: whether to enable [[SPA Routing]] on your site.
2625- `enablePopovers`: whether to enable [[popover previews]] on your site.
2726- `analytics`: what to use for analytics on your site. Values can be
2827 - `null`: don't use analytics;
2929- - `{ provider: "umami", websiteId: <your-umami-id> }`: easy, privacy-friendly, open source, GDPR Compliant analytics;
3028 - `{ provider: 'plausible' }`: use [Plausible](https://plausible.io/), a privacy-friendly alternative to Google Analytics; or
3129 - `{ provider: 'google', tagId: <your-google-tag> }`: use Google Analytics
3230- `baseUrl`: this is used for sitemaps and RSS feeds that require an absolute URL to know where the canonical 'home' of your site lives. This is normally the deployed URL of your site (e.g. `quartz.jzhao.xyz` for this site). Do not include the protocol (i.e. `https://`) or any leading or trailing slashes.
-31
docs/features/offline access.md
···11----
22-title: "Offline Access (PWA)"
33-tags:
44- - plugin/emitter
55----
66-77-This plugin allows your website to be accessible offline and be installed as an app. You can use it by adding `Plugin.Offline(),` to the `emitters` in `quartz.config.ts`
88-99-## Offline Capability
1010-1111-Whenever you visit a page it gets cached for offline use. Depending on the kind of content, the process for caching is diffent:
1212-1313-- **Pages** (HTML, your converted Markdown files): Quartz first tries to get them over the Network. If that fails, your browser attempts to fetch it from the cache.
1414-- **Static Resources** (Fonts, CSS Styling, JavaScript): Quartz uses cached resources by default and updates the cache over the network in the background.
1515-- **Images**: Images are saved once and then served from cache. Quartz uses a limited cache of 60 images and images remain in the cache for 30 days
1616-1717-You can edit the fallback page by changing the `offline.md` file in the root of your `content` directory
1818-1919-## Progressive Web App (PWA)
2020-2121-Progressive Web Apps can have [many properties](https://developer.mozilla.org/en-US/docs/Web/Manifest). We're only going to mention the ones Quartz supports by default, however you can edit the offline plugins file to add more in case required.
2222-2323-- **icons**: the `icon.svg` file in the `quartz/static` directory is used for all the icons. This makes it easier to scale the image since you don't need to provide an png for every size
2424-- **name**, **short_name**: Uses the `pageTitle` configured in `quartz.config.ts`
2525-- **description**: Uses the `description` configured in `quartz.config.ts`
2626-- **background_color**, **theme_color**: Uses the `lightMode.light` color configured in `quartz.config.ts`.
2727-- **start_url**: Uses the `baseUrl` configured in `quartz.config.ts`
2828-2929-### Default values
3030-3131-- **display**: this is set to `minimal-ui`
+1-1
docs/index.md
···30303131## 🔧 Features
32323333-- [[Obsidian compatibility]], [[full-text search]], [[graph view]], note transclusion, [[wikilinks]], [[backlinks]], [[Latex]], [[syntax highlighting]], [[popover previews]], [[offline access]] and [many more](./features) right out of the box
3333+- [[Obsidian compatibility]], [[full-text search]], [[graph view]], note transclusion, [[wikilinks]], [[backlinks]], [[Latex]], [[syntax highlighting]], [[popover previews]], and [many more](./features) right out of the box
3434- Hot-reload for both configuration and content
3535- Simple JSX layouts and [[creating components|page components]]
3636- [[SPA Routing|Ridiculously fast page loads]] and tiny bundle sizes