lugo/layouts/partials/header.html

23 lines
936 B
HTML
Raw Normal View History

2022-04-14 20:07:48 +00:00
<!DOCTYPE html>
<html lang="{{ .Site.Language }}">
2022-06-28 23:06:38 +00:00
<head>
2022-06-23 23:59:13 +00:00
<title>{{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }}</title>
<link rel="canonical" href="{{ .Site.BaseURL }}">
2022-06-28 23:06:38 +00:00
<link rel='alternate' type='application/rss+xml' title="{{ .Site.Title }} RSS" href='/index.xml'>
{{ with .Site.Params.stylesheet }}<link rel='stylesheet' type='text/css' href='{{ . }}'>
{{ end -}}
{{ with .Site.Params.favicon }}<link rel="icon" href="{{ . }}">
{{ end -}}
2022-06-23 23:59:13 +00:00
<meta name="description" content="{{ with .Params.description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}">
2022-07-11 13:15:28 +00:00
{{ if isset .Params "tags" }}<meta name="keywords" content="{{ with .Params.tags }}{{ delimit . ", " }}{{ end }}">
{{ end -}}
2022-06-28 23:06:38 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="index, follow">
<meta charset="utf-8">
</head>
2022-04-14 20:07:48 +00:00
<body>
2022-07-11 13:15:28 +00:00
{{ if .Site.Menus.main -}}
{{ partial "nav.html" . }}
{{ end -}}
2022-06-28 23:06:38 +00:00
<main>