mirror of
				https://github.com/Theodor-Springmann-Stiftung/jacoblenz.git
				synced 2025-10-31 02:05:34 +00:00 
			
		
		
		
	Initial commit
This commit is contained in:
		
							
								
								
									
										51
									
								
								src/layouts/base.njk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										51
									
								
								src/layouts/base.njk
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,51 @@ | ||||
| <!DOCTYPE html> | ||||
| <html lang="en" dir="ltr"> | ||||
|   <head>     | ||||
|     <link rel="canonical" href="{{ config.url }}{{ page.url }}"> | ||||
|     <link rel="stylesheet" href="/css/output.css" > | ||||
|  | ||||
|     <title>{% if title and title != 'Home' %}{{title}} - {% endif %}{{ config.title }}</title> | ||||
|  | ||||
|     <!-- Icons --> | ||||
|     <!-- Enable if favicons installed into the static/img/ directory --> | ||||
|     {# <link rel="shortcut icon" type="image/png" href="/images/x16-favicon.png" sizes="16x16" /> | ||||
|     <link rel="shortcut icon" type="image/png" href="/images/x32-favicon.png" sizes="32x32" /> | ||||
|     <link rel="shortcut icon" type="image/png" href="/images/x64-favicon.png" sizes="64x64" /> | ||||
|     <link rel="shortcut icon" type="image/png" href="/images/x256-favicon.png" sizes="256x256" /> | ||||
|     <link rel="apple-touch-icon" type="image/png" href="/images/x256-favicon.png" /> #} | ||||
|  | ||||
|     <!-- Meta --> | ||||
|     <meta name="description" content="{% if description %}{{ description }}{% else %}{{ config.description }}{% endif %}"> | ||||
|     <meta name="keywords" content="{% if keywords %}{{ keywords }}{% else %}{{ config.keywords }}{% endif %}"> | ||||
|     <meta charset="utf-8"> | ||||
|     <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||||
|     <meta http-equiv="Content-Language" content="en"> | ||||
|     <meta name="viewport" content="width=device-width,initial-scale=1"> | ||||
|  | ||||
|     <!-- Facebook --> | ||||
|     <meta property="og:title" content="{% if (title != 'Home') %}{{title}} - {% endif %}{{ config.title }}"> | ||||
|     <meta property="og:type" content="website"> | ||||
|     <meta property="og:description" content="{% if description %}{{ description }}{% else %}{{ config.description }}{% endif %}"> | ||||
|     <meta property="og:url" content="{{ config.url }}{{ page.url }}"> | ||||
|     <meta property="og:image" content="{% if image %}{{ image }}{% else %}{{ config.image }}{% endif %}"> | ||||
|  | ||||
|     <!-- Twitter --> | ||||
|     <meta name="twitter:card" content="{{ card }}"> | ||||
|     <meta name="twitter:site" content="{{ twitter }}"> | ||||
|     <meta name="twitter:title" content="{% if (title != 'Home') %}{{title}} - {% endif %}{{ config.title }}"> | ||||
|     <meta name="twitter:description" content="{% if description %}{{ description }}{% else %}{{ config.description }}{% endif %}"> | ||||
|     <meta name="twitter:creator" content="{{ twitter }}"> | ||||
|     <meta name="twitter:image" content="{{ config.url }}{{ page.url }}"> | ||||
|     <meta name="twitter:domain" content="{% if image %}{{ image }}{% else %}{{ config.image }}{% endif %}"> | ||||
|  | ||||
|   </head> | ||||
|   <body> | ||||
|     {% include "header.njk" %} | ||||
|  | ||||
|     <main> | ||||
| 		{{ content | safe }} | ||||
|     </main> | ||||
|   | ||||
|     {% include "footer.njk" %} | ||||
|   </body> | ||||
| </html> | ||||
		Reference in New Issue
	
	Block a user
	 Simon Martens
					Simon Martens