forked from laurens/fediversity_website
		
	Toevoegen van page-not-found (404) pagina en verwijzing naar zoekmachine
This commit is contained in:
		
							parent
							
								
									146f20ee3f
								
							
						
					
					
						commit
						d10dd01cdc
					
				
					 3 changed files with 21 additions and 14 deletions
				
			
		
							
								
								
									
										10
									
								
								content/404.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								content/404.md
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,10 @@ | |||
| --- | ||||
| title: "Pagina niet gevonden" | ||||
| noindex: true | ||||
| layout: customized-404 | ||||
| slug: 404 | ||||
| type: custom | ||||
| --- | ||||
| 
 | ||||
| Deze pagina kan niet gevonden worden. Bent u doorverwezen vanaf een andere pagina, dan [horen]({{< relref "contact/" >}}) we dit graag. | ||||
| 
 | ||||
|  | @ -1,14 +0,0 @@ | |||
| <!doctype html> | ||||
| <html lang="en"> | ||||
|   {{ partial "head.html" . }} | ||||
| <body> | ||||
|   <a class="skip-link" href="#main">Skip to main</a> | ||||
| <main id="main"> | ||||
|   <div class="content"> | ||||
|     {{ partial "header.html" . }} | ||||
|     <p>The page you requested doesn't exist.</p> | ||||
|   </div> | ||||
| </main> | ||||
| </body> | ||||
| </html> | ||||
| 
 | ||||
							
								
								
									
										11
									
								
								themes/nluug/layouts/custom/customized-404.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								themes/nluug/layouts/custom/customized-404.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,11 @@ | |||
| {{ define "main" }} | ||||
| 
 | ||||
| <div>{{ .Content }}</div> | ||||
| 
 | ||||
| <h3>Suggesties</h3> | ||||
| 
 | ||||
| <p>Op zoek naar een bepaalde pagina of informatie? De onderstaande zoekfunctie weet het hopelijk wel te vinden:</p> | ||||
| 
 | ||||
| {{ partial "search-form.html" . }} | ||||
| 
 | ||||
| {{ end }} | ||||
		Reference in a new issue