[ci skip] Update the baseof template with changes from Ananke
This commit is contained in:
		
					parent
					
						
							
								ba3b32a0c7
							
						
					
				
			
			
				commit
				
					
						5fe38d0246
					
				
			
		
					 1 changed files with 5 additions and 2 deletions
				
			
		|  | @ -1,5 +1,5 @@ | |||
| <!DOCTYPE html> | ||||
| <html lang="{{ $.Site.LanguageCode | default "en" }}"> | ||||
| <html lang="{{ site.LanguageCode | default "en" }}" {{- with partialCached "func/GetLanguageDirection" "GetLanguageDirection" }} dir="{{ . }}" {{- end }}> | ||||
|   <head> | ||||
|     <meta charset="utf-8"> | ||||
|     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||||
|  | @ -9,13 +9,16 @@ | |||
|     <meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}"> | ||||
|     {{ hugo.Generator }} | ||||
|     {{/* NOTE: For Production make sure you add `HUGO_ENV="production"` before your build command */}} | ||||
|     {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production")  }} | ||||
|     {{ $production := eq (getenv "HUGO_ENV") "production" | or (eq site.Params.env "production") }} | ||||
|     {{ $public := not .Params.private }} | ||||
|     {{ if and $production $public }} | ||||
|       <meta name="robots" content="index, follow"> | ||||
|     {{ else }} | ||||
|       <meta name="robots" content="noindex, nofollow"> | ||||
|     {{ end }} | ||||
| 
 | ||||
|     {{ partial "site-style.html" . }} | ||||
|     {{ partial "site-scripts.html" . }} | ||||
| 
 | ||||
|     {{ block "favicon" . }} | ||||
|       {{ partialCached "site-favicon.html" . }} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue