remove the if staments
This commit is contained in:
		
							parent
							
								
									1faef362e3
								
							
						
					
					
						commit
						5dd7ec5263
					
				|  | @ -2,14 +2,11 @@ | ||||||
| <link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" title="{{ .Name }}" href="{{ .Permalink | safeURL }}"> | <link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" title="{{ .Name }}" href="{{ .Permalink | safeURL }}"> | ||||||
| {{ end }} | {{ end }} | ||||||
| <meta name="description" content="{{ $.Param "description" }}" /> | <meta name="description" content="{{ $.Param "description" }}" /> | ||||||
| {{ if isset .Params "keywords" }} | {{ with $.Params.keywords }} | ||||||
|   {{ with $.Params.keywords }} | <meta name="keywords" content="{{ delimit $.Params.keywords "," }}"> | ||||||
|   <meta name="keywords" content="{{ delimit $.Params.keywords "," }}"> | {{ end }} | ||||||
|   {{ end }} | {{ with $.Params.tags }} | ||||||
| {{ else if isset .Params "tags" }} | <meta name="keywords" content="{{ delimit $.Params.tags "," }}"> | ||||||
|   {{ with $.Params.tags }} |  | ||||||
|   <meta name="keywords" content="{{ delimit $.Params.tags "," }}"> |  | ||||||
|   {{ end }} |  | ||||||
| {{ end }} | {{ end }} | ||||||
| <meta name="created" content="{{ .Date.Format "2006-01-02T15:04:05-0700" }}"> | <meta name="created" content="{{ .Date.Format "2006-01-02T15:04:05-0700" }}"> | ||||||
| <meta name="modified" content="{{ .Lastmod.Format "2006-01-02T15:04:05-0700" }}"> | <meta name="modified" content="{{ .Lastmod.Format "2006-01-02T15:04:05-0700" }}"> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Nishant Srivastava
						Nishant Srivastava