48 lines
		
	
	
	
		
			2.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
	
		
			2.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <head>
 | |
|   {{ $is_blog := and (eq .Type "blog") (eq .Kind "page") }}
 | |
|   <meta charset="utf-8">
 | |
|   <meta name="robots" content="all,follow">
 | |
|   <meta name="googlebot" content="index,follow,snippet,archive">
 | |
|   <meta name="viewport" content="width=device-width, initial-scale=1">
 | |
|   {{ $title_plain := .Title | markdownify | plainify }}
 | |
|   {{ if eq $title_plain "Blog"}}
 | |
|   <title>SpeedTech | Blog</title>
 | |
|   {{ else if $is_blog}}
 | |
|   <title>SpeedTech | Blog - {{ $title_plain }}</title>
 | |
|   {{ else }}
 | |
|   <title>SpeedTech | {{ $title_plain }}</title>
 | |
|   {{ end }}
 | |
|   
 | |
|   <meta name="author" content="{{ .Param "author" }}">
 | |
|   
 | |
|   {{ $keywords := .Site.Params.defaultMetaKeywords | default (slice "" | first 0) }}
 | |
|   {{ range .Params.metaKeywords }}{{ $keywords = $keywords | append . }}{{ end }}
 | |
|    
 | |
|   {{ if gt (len $keywords) 0 }}
 | |
|   <meta name="keywords" content="{{ delimit (uniq $keywords) ", " }}">
 | |
|   {{ end }}
 | |
|   
 | |
|   {{ $description_plain := default .Site.Params.defaultMetaDescription .Params.metaDescription | markdownify | plainify }}
 | |
|   <meta name="description" content="{{ $description_plain }}">
 | |
| 
 | |
|   {{ hugo.Generator }}
 | |
| 
 | |
|   <link rel="stylesheet" href="//brick.freetls.fastly.net/Roboto:200,300,400,500,700,900,200i,300i,400i,500i,700i,900i/Raleway:100,200,300,400,500,600,700,800,900">
 | |
|   <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
 | |
|   <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.7.0/font/bootstrap-icons.css">
 | |
|   
 | |
|   <!-- Custom stylesheet - for your changes -->
 | |
|   <link href="{{ "css/styles.css?3" | relURL }}" rel="stylesheet">
 | |
| 
 | |
|   <!-- Favicon and Apple touch icons-->
 | |
|   <link rel="shortcut icon" href="{{ "img/favicon.ico" | relURL }}" type="image/x-icon">
 | |
|   <link rel="apple-touch-icon" href="{{ "img/apple-touch-icon.png" | relURL }}">
 | |
| 
 | |
|   {{ range .AlternativeOutputFormats -}}
 | |
|     {{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
 | |
|   {{ end -}}
 | |
| 
 | |
|   {{ partial "opengraph.html" . }}
 | |
| 
 | |
|   {{ partial "scripts.html" . }}
 | |
| </head>
 | 
