Revert "docs: wording changes for offline support"
This reverts commit 52a172d1a4.
			
			
This commit is contained in:
		
							parent
							
								
									0bad3ce799
								
							
						
					
					
						commit
						70e029d151
					
				
					 4 changed files with 3 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -4,7 +4,7 @@ tags:
 | 
			
		|||
  - plugin/emitter
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
This plugin allows your website to be accessible offline and be installed as an app. You can enable it by adding `Plugin.Offline(),` to the `emitters` in `quartz.config.ts`
 | 
			
		||||
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`
 | 
			
		||||
 | 
			
		||||
## Offline Capability
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -22,7 +22,6 @@ const defaultOptions = {
 | 
			
		|||
      return -1
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  filterFn: (node) => node.name !== "tags",
 | 
			
		||||
  order: ["filter", "map", "sort"],
 | 
			
		||||
} satisfies Options
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,7 +4,7 @@ function OfflineFallbackPage() {
 | 
			
		|||
  return (
 | 
			
		||||
    <article class="popover-hint">
 | 
			
		||||
      <h1>Offline</h1>
 | 
			
		||||
      <p>You're offline and this page hasn't been cached yet.</p>
 | 
			
		||||
      <p>This page isn't offline available yet.</p>
 | 
			
		||||
    </article>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -62,7 +62,7 @@ export const Offline: QuartzEmitterPlugin = () => {
 | 
			
		|||
      const [tree, vfile] = defaultProcessedContent({
 | 
			
		||||
        slug,
 | 
			
		||||
        text: "Offline",
 | 
			
		||||
        description: "You're offline and this page hasn't been cached yet.",
 | 
			
		||||
        description: "This page isn't offline available yet.",
 | 
			
		||||
        frontmatter: { title: "Offline", tags: [] },
 | 
			
		||||
      })
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue