ybbond

My site. The main domain
Log | Files | Refs | README | LICENSE | CC-LICENSE

head.html (1824B)


      1 <meta charset="UTF-8">
      2 <meta name="viewport" content="width=device-width, initial-scale=1">
      3 <meta http-equiv="X-UA-Compatible" content="IE=edge">
      4 
      5 <title>{{ with or (.Page.Title) (.Site.Title) }}{{ . }} ::{{ end }} {{ .Site.Params.Author }}</title>
      6 <meta
      7   name="description"
      8   content="{{if .IsHome}}{{ .Site.Params.Description }}{{ else if .Params.description }}{{ .Params.description }}{{else}}{{ .Summary }} →{{end}}"
      9 />
     10 {{ with .Site.Params.Author }}
     11   <meta name="author" content="{{ . }}">
     12 {{ end }}
     13 
     14 {{ with .OutputFormats.Get "rss" }}
     15     {{ $rssTitle := printf "%s RSS" $.Site.Title }}
     16     {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $rssTitle | safeHTML }}
     17 {{ end }}
     18 
     19 <style>
     20   {{ with resources.Get "fonts.css" | resources.Minify }}
     21       {{ .Content | safeCSS }}
     22   {{ end }}
     23   {{ with resources.Get "variables.css" | resources.Minify }}
     24       {{ .Content | safeCSS }}
     25   {{ end }}
     26   {{ with resources.Get "theme.css" | resources.Minify }}
     27       {{ .Content | safeCSS }}
     28   {{ end }}
     29   {{ with resources.Get "main.css" | resources.Minify }}
     30       {{ .Content | safeCSS }}
     31   {{ end }}
     32   {{ with resources.Get "header.css" | resources.Minify }}
     33       {{ .Content | safeCSS }}
     34   {{ end }}
     35   {{ with resources.Get "footer.css" | resources.Minify }}
     36       {{ .Content | safeCSS }}
     37   {{ end }}
     38   {{ with resources.Get "content.css" | resources.Minify }}
     39       {{ .Content | safeCSS }}
     40   {{ end }}
     41   {{ with resources.Get "responsive.css" | resources.Minify }}
     42       {{ .Content | safeCSS }}
     43   {{ end }}
     44 </style>
     45 
     46 
     47 <link rel="canonical" href="{{ .Permalink }}" />
     48 <link rel="sitemap" href="{{ "sitemap.xml" | absURL }}" type="application/xml" />
     49 
     50 {{ partial "head/auth-links.html" . }}
     51 {{ partial "head/og-metas.html" . }}
     52 {{ partial "head/twitter-card-metas.html" . }}