You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							54 lines
						
					
					
						
							2.1 KiB
						
					
					
				
			
		
		
	
	
							54 lines
						
					
					
						
							2.1 KiB
						
					
					
				| <meta charset="UTF-8">
 | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge">
 | |
| <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
 | |
| 
 | |
| <link rel="canonical" href="{{ .Permalink }}" />
 | |
| 
 | |
| <link rel="preload" href="{{ .Site.BaseURL }}fonts/Inter-UI-Regular.woff2" as="font" type="font/woff2"
 | |
|     crossorigin="anonymous">
 | |
| <link rel="preload" href="{{ .Site.BaseURL }}fonts/Inter-UI-Bold.woff2" as="font" type="font/woff2"
 | |
|     crossorigin="anonymous">
 | |
| 
 | |
| {{ $options := (dict "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" true) }}
 | |
| {{- $style := resources.Get "scss/main.scss" | css.Sass $options | resources.Fingerprint }}
 | |
| <link rel="stylesheet" href="{{ $style.Permalink }}">
 | |
| 
 | |
| {{ $options := (dict "targetPath" "syntax_highlighting.css" "outputStyle" "compressed" "enableSourceMap" true) }}
 | |
| {{- $style := resources.Get "scss/syntax_highlighting.scss" | css.Sass $options | resources.Fingerprint }}
 | |
| <link rel="stylesheet" href="{{ $style.Permalink }}">
 | |
| 
 | |
| {{- range $val := $.Site.Params.customCSS }}
 | |
| {{- if gt (len $val) 0 }}
 | |
| <link rel="stylesheet" type="text/css" href="{{ $val }}">
 | |
| {{- end }}
 | |
| {{- end }}
 | |
| 
 | |
| {{- partial "favicons.html" . -}}
 | |
| 
 | |
| <!-- Meta tags -->
 | |
| {{- partial "meta-tags.html" . -}}
 | |
| 
 | |
| <!-- RSS -->
 | |
| <!-- {{- with .OutputFormats.Get "rss" }}
 | |
| {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
 | |
| {{- end }} -->
 | |
| <link rel="alternate" type="application/rss+xml" href="{{ "/posts/index.xml" | absURL }}" title="{{ $.Site.Title }}" />
 | |
| 
 | |
| <!-- JSON Feed -->
 | |
| {{- if .OutputFormats.Get "json" }}
 | |
| <link href="{{ if .OutputFormats.Get "json" }}{{ .Site.BaseURL }}feed.json{{ end }}" rel="alternate"
 | |
|     type="application/json" title="{{ .Site.Title }}" />
 | |
| {{- end }}
 | |
| 
 | |
| {{- block "title" . }}
 | |
| <title>
 | |
|     {{- if .IsHome }}
 | |
|     {{- $.Site.Title }} {{ with $.Site.Params.Subtitle }} — {{ . }} {{ end }}
 | |
|     {{- else }}
 | |
|     {{- .Title }}
 | |
|     {{- with .Params.Subtitle }} // {{ . }}
 | |
|     {{- end }} :: {{ $.Site.Title }}
 | |
|     {{- with $.Site.Params.Subtitle }} — {{ . }}{{ end }}
 | |
|     {{- end -}}
 | |
| </title>
 | |
| {{- end }} |