1
0
hugo/layouts/partials/head.html
2024-12-20 17:03:48 +09:00

46 lines
1.9 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>{{ .Title }}</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="author" content="{{ .Site.Params.Author.name }}" />
<meta name="copyright" content="© {{ .Site.Params.Author.name }}" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<meta name="description" content="syui" />
<meta name="keywords" content="syui" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@syui__" />
<meta name="robots" content="all" />
<meta name="googlebot" content="all" />
<meta property="og:type" content="website" />
<meta property="og:title" content="{{ .Title }}" />
<meta property="og:locale" content="ja_JP" />
<meta property="og:description" content="{{ if .Description }}{{ .Description }}{{ else }}© syui{{ end }}" />
<meta property="og:image" content="{{ .Site.BaseURL }}/og.png" />
<meta property="og:url" content="{{ .Permalink }}" />
<meta property="og:site_name" content="{{ .Title }}" />
<link rel="icon" href="/favicon.ico" />
<link rel="shortcut icon" href="/favicon.ico">
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="stylesheet" href="/bower_components/icomoon/style.css" />
<link rel="stylesheet" href="/bower_components/font-awesome/css/all.min.css" />
<link rel="stylesheet" href="/css/style.css" />
<link rel="stylesheet" href="/css/nav.css" />
<link rel="stylesheet" href="/css/svg.css" />
<script src="https://term.syui.ai/term/pkg/jquery.ajax/jquery.min.js"></script>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"name": "{{ .Title }}",
"url": "https://syui.ai"
}
</script>
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
</head>