binario/layouts/partials/header.html

23 lines
1.3 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
2018-04-01 12:56:28 +00:00
<html class="h" lang="{{ .Site.LanguageCode | default "en-us" }}">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="{{ .Site.Params.Manifest.themeColor | default "#1b1b1b" }}">
<title>{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title>
2018-03-04 07:38:20 +00:00
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else }}{{ .Description }}{{ end }}">
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
{{ if .Site.Params.opengraph }}{{ template "_internal/opengraph.html" . }}{{ end }}
{{ if .Site.Params.twitter_cards }}{{ template "_internal/twitter_cards.html" . }}{{ end }}
2018-02-11 06:35:19 +00:00
<link rel="stylesheet" href="{{ "css/main.css" | relURL }}">
<link rel="icon" href="{{ "icons/16.png" | relURL }}" sizes="16x16" type="image/png">
<link rel="icon" href="{{ "icons/32.png" | relURL }}" sizes="32x32" type="image/png">
2018-03-12 18:28:20 +00:00
<link rel="manifest" href="{{ "manifest.json" | relURL }}">
{{ template "_internal/google_analytics_async.html" . }}
</head>
<body>
<header class="header">
2018-04-21 06:34:32 +00:00
<a class="logo" href="{{ "" | relURL }}">{{ .Site.Title }}</a>
2018-04-01 12:56:28 +00:00
{{ partial "menu.html" . }}
</header>