we screw up sometimes but they're usually fun stories
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.

head.html 1.6 KiB

3 years ago
3 years ago
3 years ago
1234567891011121314151617181920212223242526272829303132333435
  1. <head>
  2. <meta charset="utf-8">
  3. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  4. <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
  5. {{- with $.Param "description" -}}
  6. <meta name="description" content="{{ . }}" >
  7. <meta property="og:description" content="{{ . }}" >
  8. {{- end -}}
  9. {{- with $.Param "keywords" -}}
  10. <meta name="keywords" content="{{ delimit . "," }}">
  11. {{- end -}}
  12. {{- with $.Param "author" -}}
  13. <meta name="author" content="{{ . }}">
  14. {{- end -}}
  15. <meta name="theme-color" content="#2d2d2d">
  16. <meta name="twitter:card" content="summary">
  17. {{- with $.Param "twitter" -}}
  18. <meta name="twitter:creator" content="@{{ . }}">
  19. {{- end -}}
  20. <meta property="og:type" content="blog">
  21. <meta property="og:title"
  22. {{- if .Params.title -}}
  23. content="{{- .Params.Title }} | {{ .Site.Title -}}"
  24. {{- else -}}
  25. content="{{ .Site.Title -}}"
  26. {{- end -}}
  27. >
  28. <meta property="og:url" content="{{ .Site.BaseURL }}">
  29. <meta property="og:site_name" content="{{ .Site.Params.hero }}">
  30. <link rel="stylesheet" href="{{ "css/style.css" | relURL }}" type="text/css">
  31. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700" type="text/css">
  32. <link rel="alternate" href="{{ "index.xml" | relURL }}" type="application/rss+xml" title="{{ .Site.Title }}">
  33. <link rel="shortcut icon" type="image/x-icon" href="{{ .Site.BaseURL }}favicon.ico">
  34. <title>{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }}{{ if eq $isHomePage false }} - {{ .Site.Title }}{{ end }}</title>
  35. </head>