hugo-graceful-simplicity/layouts/partials/header.html

16 lines
832 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1">
<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Site.Params.SiteDescription }}{{ end }}">
<meta property="og:title" content="{{ if .Title }}{{ .Title }}{{ else }}{{ .Site.Title }}{{ end }}">
<meta property="og:site_name" content="{{ .Site.Title }}">
{{.Hugo.Generator}}
<link rel="alternate" type="application/rss+xml" title="RSS Feed for {{ .Site.Title }}" href="{{ .Site.RSSLink }}" />
<link rel="stylesheet" type="text/css" href="{{.Page.Site.BaseURL}}/css/style.css">
</head>
<body>
<h1>{{.Site.Params.siteHeading}}</h1>