2019-01-28 03:32:55 +05:30
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
2019-03-05 17:46:59 +05:30
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
|
<meta name="author"
|
|
|
|
content="{{ if .Params.author }}{{ .Params.author }}{{ else }}{{ range .Site.Author }}{{ . }} {{ end }}{{ end }}">
|
|
|
|
<meta name="description"
|
2019-03-05 17:56:06 +05:30
|
|
|
content="{{ if .IsHome }}{{ .Site.Params.homeSubtitle }}{{ else }}{{ .Summary | plainify }}{{ end }}" />
|
2019-03-05 17:46:59 +05:30
|
|
|
<meta name="keywords" content="{{ .Site.Params.keywords }}" />
|
|
|
|
<meta name="robots" content="noodp" />
|
2018-07-20 22:44:22 +05:30
|
|
|
<link rel="canonical" href="{{ .Permalink }}" />
|
|
|
|
|
2019-01-28 03:32:55 +05:30
|
|
|
{{ block "title" . }}
|
2019-03-05 17:46:59 +05:30
|
|
|
<title>
|
|
|
|
{{ if .IsHome }}
|
|
|
|
{{ $.Site.Title }} {{ with $.Site.Params.Subtitle }} — {{ . }} {{ end }}
|
|
|
|
{{ else }}
|
|
|
|
{{ .Title }} :: {{ $.Site.Title }} {{ with $.Site.Params.Subtitle }} — {{ . }}{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</title>
|
2019-01-28 03:32:55 +05:30
|
|
|
{{ end }}
|
|
|
|
|
2018-07-20 22:44:22 +05:30
|
|
|
<!-- CSS -->
|
2019-09-02 14:27:40 +05:30
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.9.0/css/all.min.css" integrity="sha256-UzFD2WYH2U1dQpKDjjZK72VtPeWP50NoJjd26rnAdUI=" crossorigin="anonymous" />
|
2019-02-22 19:49:42 +05:30
|
|
|
|
2019-04-16 05:09:00 +05:30
|
|
|
{{ $options := (dict "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" true) }}
|
2019-04-16 03:59:02 +05:30
|
|
|
{{ $style := resources.Get "scss/main.scss" | resources.ToCSS $options | resources.Minify | resources.Fingerprint }}
|
2019-04-21 02:10:30 +05:30
|
|
|
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
|
2019-01-28 03:32:55 +05:30
|
|
|
|
2019-02-27 20:11:56 +05:30
|
|
|
{{ range $val := $.Site.Params.customCSS }}
|
2019-03-05 17:56:06 +05:30
|
|
|
{{ if gt (len $val) 0 }}
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{ $val }}">
|
|
|
|
{{ end }}
|
2019-02-27 20:11:56 +05:30
|
|
|
{{ end }}
|
2018-07-20 22:44:22 +05:30
|
|
|
|
|
|
|
<!-- Icons -->
|
2019-01-28 03:32:55 +05:30
|
|
|
{{- partial "favicons.html" }}
|
|
|
|
|
|
|
|
{{- template "_internal/schema.html" . }}
|
|
|
|
{{- template "_internal/twitter_cards.html" . }}
|
|
|
|
|
2019-03-05 17:46:59 +05:30
|
|
|
{{ range .Params.categories }}
|
|
|
|
<meta property="article:section" content="{{ . }}" />{{ end }}
|
|
|
|
{{ if isset .Params "date" }}
|
|
|
|
<meta property="article:published_time" content="{{ time .Date }}" />{{ end }}
|
2018-07-20 22:44:22 +05:30
|
|
|
|
|
|
|
<!-- RSS -->
|
2019-04-16 01:53:27 +05:30
|
|
|
{{ with .OutputFormats.Get "rss" -}}
|
|
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
|
|
|
{{ end -}}
|
2018-07-20 22:44:22 +05:30
|
|
|
|
|
|
|
<!-- JSON Feed -->
|
|
|
|
{{ if .OutputFormats.Get "json" }}
|
2019-03-05 17:46:59 +05:30
|
|
|
<link href="{{ if .OutputFormats.Get "json" }}{{ .Site.BaseURL }}feed.json{{ end }}" rel="alternate"
|
|
|
|
type="application/json" title="{{ .Site.Title }}" />
|
2018-07-20 22:44:22 +05:30
|
|
|
{{ end }}
|
2019-01-28 03:32:55 +05:30
|
|
|
|
|
|
|
<!-- Custom head tags -->
|
|
|
|
{{- if templates.Exists "partials/extra-head.html" -}}
|
2019-03-05 17:46:59 +05:30
|
|
|
{{ partial "extra-head.html" . }}
|
2019-04-16 01:53:27 +05:30
|
|
|
{{- end }}
|