Initial version
This commit is contained in:
		
				commit
				
					
						ed5653a7fc
					
				
			
		
					 211 changed files with 11043 additions and 0 deletions
				
			
		
							
								
								
									
										57
									
								
								themes/zen/layouts/_default/baseof.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										57
									
								
								themes/zen/layouts/_default/baseof.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,57 @@ | |||
| <!DOCTYPE html> | ||||
| <html class="nojs" lang="{{ site.LanguageCode | default site.Language.Lang }}" dir="{{ site.Language.LanguageDirection | default "ltr" }}"> | ||||
| <head> | ||||
| <meta charset="utf-8"> | ||||
| <meta name="viewport" content="width=device-width"> | ||||
| <title>{{ block "title" . }}{{ .Title }} – {{ site.Title }}{{ end }}</title> | ||||
| {{ partial "meta.html" . }} | ||||
| {{ partialCached "styles.html" . }} | ||||
| {{ partial "meta_json_ld.html" . }} | ||||
| {{ partial "scripts.html" . }} | ||||
| {{ partial "math.html" . }} | ||||
| {{ partialCached "tracking.html" . }} | ||||
| {{ if templates.Exists "partials/head.html" -}} | ||||
| {{ partial "head.html" . }} | ||||
| {{ end -}} | ||||
| {{ block "head" . }}{{ end }} | ||||
| </head> | ||||
| 
 | ||||
| <body class="{{ if .IsPage }}single-page{{ else }}list-page{{ end }}{{ if .IsHome }} front{{ end }}{{ with $.Param "bodyclass" }} {{ . }}{{ end }}"> | ||||
| <div class="page layout__page{{ if $.Param "sidebar" }} layout__sidebar-second{{ end }}"> | ||||
| <header class="header layout__header"> | ||||
| {{ if $.Param "logo" | default true -}} | ||||
| <a href="{{ site.Home.RelPermalink }}" title="Home" rel="home" class="header__logo"> | ||||
| <img src="{{ with $.Param "logopath" }}{{ . | relURL }}{{ else }}{{ "images/logo.png" | relURL }}{{ end }}"{{ with $.Param "logowidth" }} width="{{ . }}"{{ end }}{{ with $.Param "logoheight" }} height="{{ . }}"{{ end }} alt="Home" class="header__logo-image"> | ||||
| </a> | ||||
| {{ end -}} | ||||
| <h1 class="header__site-name{{ if not ($.Param "sitename" | default true) }} visually-hidden{{ end }}"> | ||||
| <a href="{{ site.Home.RelPermalink }}" title="Home" class="header__site-link" rel="home"><span>{{ site.Title }}</span></a> | ||||
| </h1> | ||||
| <div class="region header__region"> | ||||
| {{ if site.IsMultiLingual }}{{ partial "language-selector.html" . }}{{ end -}} | ||||
| {{ if $.Param "menuinheader" }}{{ partial "menu.html" . }}{{ end -}} | ||||
| </div> | ||||
| {{ if $.Param "mobilemenu" }}{{ partial "mobilemenu.html" . }}{{ end -}} | ||||
| </header> | ||||
| 
 | ||||
| {{ if not ($.Param "menuinheader") }}{{ partial "menu.html" . }}{{ end -}} | ||||
| 
 | ||||
| {{ block "main" . }}{{ end }} | ||||
| 
 | ||||
| {{ if $.Param "sidebar" }}{{ partial "sidebar.html" . }}{{ end -}} | ||||
| 
 | ||||
| <footer class="footer layout__footer mt--l"> | ||||
| {{ if templates.Exists "partials/footer.html" -}} | ||||
| {{ partial "footer.html" . }} | ||||
| {{ else -}} | ||||
| {{ if $.Param "feedlinks" }}{{ partial "feedlinks.html" . }}{{ end -}} | ||||
| <p>{{ with $.Param "copyright" }}{{ . | markdownify }}{{ else }}<span>© {{ site.Title }}</span>{{ end }}</p> | ||||
| {{ with $.Param "footer" }}<p>{{ . | markdownify }}</p>{{ end }} | ||||
| {{ if $.Param "poweredby" }}<p>Powered by <a href="https://gohugo.io/">Hugo</a> and the <a href="https://github.com/frjo/hugo-theme-zen">Zen theme</a>.</p>{{ end }} | ||||
| {{ end -}} | ||||
| </footer> | ||||
| 
 | ||||
| {{ if $.Param "cookieconsent" }}{{ partialCached "cookieconsent.html" . }}{{ end -}} | ||||
| </div> | ||||
| </body> | ||||
| </html> | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue