diff options
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..fedafe2 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<html lang="en-US"> + <head> + <title> + {{ .Title }} {{ if ne .Title .Site.Title }} · {{ .Site.Title }}{{ end }} + </title> + <meta charset="utf-8"> + <link rel="canonical" href="{{ .Permalink }}"> + <meta name="robots" content="index,follow" /> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link href="https://fonts.googleapis.com/css?family=Gothic+A1:700" rel="stylesheet"> + <link href="{{ "favicon.png" | absURL }}" rel="icon" /> + + <!-- og --> + <meta name="og:title" content="{{ .Title }}"/> + <meta name="og:url" content="{{ .Permalink }}"/> + {{ if .Params.featuredimage }} + <meta name="og:image" content="{{ .Params.featuredimage | absURL}}"/> + {{ end }} + {{ if .Params.description }} + <meta name="og:description" content="{{ .Params.description }}"/> + {{ end }} + <meta name="og:site_name" content="{{ .Site.Title }}"/> + + + <!-- including bootstrap --> + <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> + <link rel="stylesheet" type="text/css" href="{{.Site.BaseURL}}css/style.css"> + </head> + <body> + |