3
0
Fork 0
website/layouts/partials/header.html

29 lines
669 B
HTML

<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{ if .Description }}
<meta name="description" content="{{ .Description }}">
{{ end }}
<link rel="icon" type="image/png" href="{{ "/images/icon.png" | relURL }}">
<title>
{{ $url := replace .Permalink .Site.BaseURL "" }}
{{ if eq $url "/" }}
{{ .Site.Title }} - {{ .Site.Params.Subtitle }}
{{ else }}
{{ .Site.Title }} - {{ .Title }}
{{ end }}
</title>
<link rel="canonical" href="{{ .Permalink }}">
{{ partial "resources.html" . }}
</head>
<body>
{{ partial "badbrowser.html" . }}