don't prerender character list and image list
This commit is contained in:
		
							parent
							
								
									cd61454ce1
								
							
						
					
					
						commit
						c6b1ed8292
					
				
					 2 changed files with 9 additions and 7 deletions
				
			
		|  | @ -3,6 +3,8 @@ import config from "../../config.yaml"; | |||
| import Sidebar from "../components/Sidebar.astro"; | ||||
| 
 | ||||
| const { title, background } = config; | ||||
| 
 | ||||
| export const prerender = false; | ||||
| --- | ||||
| 
 | ||||
| <!doctype html> | ||||
|  | @ -16,12 +18,12 @@ const { title, background } = config; | |||
|     <title>{title}</title> | ||||
|   </head> | ||||
|   <body> | ||||
|       <div | ||||
|         class="md:fixed md:left-0 md:top-0 w-full md:w-96 bg-[#ffffff59] h-full pt-4 z-[1] box-border text-center" | ||||
|       > | ||||
|         <Sidebar /> | ||||
|       </div> | ||||
|       <slot /> | ||||
|     <div | ||||
|       class="md:fixed md:left-0 md:top-0 w-full md:w-96 bg-[#ffffff59] h-full pt-4 z-[1] box-border text-center" | ||||
|     > | ||||
|       <Sidebar /> | ||||
|     </div> | ||||
|     <slot /> | ||||
|   </body> | ||||
| </html> | ||||
| <style define:vars={{ background: `url(${background})` }}> | ||||
|  |  | |||
|  | @ -39,7 +39,7 @@ const images = imageCollection.map((record) => { | |||
|   }; | ||||
| }); | ||||
| 
 | ||||
| export const prerender = true; | ||||
| export const prerender = false; | ||||
| --- | ||||
| 
 | ||||
| <Gallery> | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue