mirror of
				https://github.com/em-squared/5e-drs.git
				synced 2025-10-31 05:24:20 +00:00 
			
		
		
		
	search autocomplete
This commit is contained in:
		
							parent
							
								
									d47ad5e88d
								
							
						
					
					
						commit
						eccc40a123
					
				
					 15 changed files with 1094 additions and 9924 deletions
				
			
		|  | @ -2,10 +2,7 @@ | |||
|   <div> | ||||
|     <Home v-if="$page.frontmatter.home" /> | ||||
| 
 | ||||
|     <Page | ||||
|       v-else | ||||
|       :sidebar-items="sidebarItems" | ||||
|     > | ||||
|     <Page v-else> | ||||
|       <template #top> | ||||
|         <slot name="page-top" /> | ||||
|       </template> | ||||
|  | @ -17,29 +14,14 @@ | |||
| </template> | ||||
| 
 | ||||
| <script> | ||||
| import Home from '@theme/components/Home.vue' | ||||
| import Page from '@theme/components/Page.vue' | ||||
| import { resolveSidebarItems } from '../util' | ||||
| 
 | ||||
| export default { | ||||
|   name: 'Layout', | ||||
| 
 | ||||
|   components: { | ||||
|     Home, | ||||
|     Page | ||||
|   }, | ||||
| 
 | ||||
|   computed: { | ||||
| 
 | ||||
|     sidebarItems () { | ||||
|       return resolveSidebarItems( | ||||
|         this.$page, | ||||
|         this.$page.regularPath, | ||||
|         this.$site, | ||||
|         this.$localePath | ||||
|       ) | ||||
|     }, | ||||
| 
 | ||||
|   } | ||||
| } | ||||
| </script> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Maxime Moraine
						Maxime Moraine