hugo-theme/layouts/partials/header.html

17 lines
496 B
HTML
Raw Permalink Normal View History

2024-01-29 04:53:34 +00:00
<!DOCTYPE html>
<html lang="{{ .Language }}">
2024-01-29 04:53:34 +00:00
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title>
<link rel="stylesheet" href="/css/style.css" type="text/css" />
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
</head>
<body>