hugo-theme-readable/layouts/partials/head.html

14 lines
759 B
HTML
Raw Permalink Normal View History

2023-01-30 13:14:33 -06:00
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- This ensures your site looks right on mobile devices -->
<link rel="stylesheet" type="text/css" href="{{relURL "css/readable.min.css?v=v1.1.0"}}">
2023-02-14 16:38:42 -06:00
<meta name="description" content='{{ .Page.Description }}'>
{{ if .Site.Params.favicon }}
<link rel="shortcut icon" href="{{ relURL ($.Site.Params.favicon) }}" type="image/x-icon" /> <!-- Show a favicon for your site, if one is configured in the Params section of the config. -->
{{ end }}
2023-01-30 13:14:33 -06:00
{{ $title := print .Site.Title " | " .Title }}
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
<title>{{ $title }}</title>
{{ partial "hook_head_end.html" . }}
</head>