mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 03:45:24 +01:00 
			
		
		
		
	head: add meta keywords
This commit is contained in:
		| @@ -6,6 +6,7 @@ | |||||||
| <!-- Meta --> | <!-- Meta --> | ||||||
| {{- if in site.Params.mainSections .Type }} | {{- if in site.Params.mainSections .Type }} | ||||||
| <meta name="description" content="{{ .Summary }}"> | <meta name="description" content="{{ .Summary }}"> | ||||||
|  | <meta name="keywords" content={{ delimit .Keywords ", " }} /> | ||||||
| {{- else }} | {{- else }} | ||||||
| <meta name="description" | <meta name="description" | ||||||
|     content="{{if .IsHome}}{{ .Site.Params.description }}{{else}}{{ .Title }} - {{ .Site.Title }}{{end}}"> |     content="{{if .IsHome}}{{ .Site.Params.description }}{{else}}{{ .Title }} - {{ .Site.Title }}{{end}}"> | ||||||
| @@ -28,14 +29,14 @@ | |||||||
| {{- $footer := resources.Get "css/footer.css" | minify }} | {{- $footer := resources.Get "css/footer.css" | minify }} | ||||||
| {{- $404 := resources.Get "css/404.css" | minify }} | {{- $404 := resources.Get "css/404.css" | minify }} | ||||||
| {{- $style := slice $theme $reset $header $main $postentry $postsingle $terms $archive $footer $404 | resources.Concat "stylesheet.css" | minify }} | {{- $style := slice $theme $reset $header $main $postentry $postsingle $terms $archive $footer $404 | resources.Concat "stylesheet.css" | minify }} | ||||||
| {{- $stylesheet := slice $anoldhope $style | resources.Concat "css/stylesheet.css" | minify | fingerprint }} | {{- $stylesheet := slice $anoldhope $style | resources.Concat "css/stylesheet.css" | minify | fingerprint -}} | ||||||
| <link href="{{ $stylesheet.Permalink }}" integrity="{{ $stylesheet.Data.Integrity }}" rel="preload stylesheet" | <link href="{{ $stylesheet.Permalink }}" integrity="{{ $stylesheet.Data.Integrity }}" rel="preload stylesheet" | ||||||
|     as="style"> |     as="style"> | ||||||
| {{- if (and (.Site.Params.profileMode.enabled) (.IsHome)) }} | {{- if (and (.Site.Params.profileMode.enabled) (.IsHome)) }} | ||||||
| {{- $profileMode := resources.Get "css/profile-mode.css" | minify | fingerprint }} | {{- $profileMode := resources.Get "css/profile-mode.css" | minify | fingerprint }} | ||||||
| <link href="{{ $profileMode.Permalink }}" integrity="{{ $profileMode.Data.Integrity }}" rel="preload stylesheet" | <link href="{{ $profileMode.Permalink }}" integrity="{{ $profileMode.Data.Integrity }}" rel="preload stylesheet" | ||||||
|     as="style"> |     as="style"> | ||||||
| {{- end }} | {{- end -}} | ||||||
| <!-- Favicons --> | <!-- Favicons --> | ||||||
| <link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | absURL }}"> | <link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | absURL }}"> | ||||||
| <link rel="icon" href="{{ "favicon.ico" | absURL }}"> | <link rel="icon" href="{{ "favicon.ico" | absURL }}"> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange