1
0
hugo/layouts/partials/head.html

48 lines
1.9 KiB
HTML
Raw Normal View History

2024-04-23 13:21:26 +00:00
<!DOCTYPE html>
<html>
<head>
<title>{{ .Title }}</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="author" content="{{ .Site.Author.name }}" />
<meta name="copyright" content="© {{ .Site.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" />
2024-04-23 13:28:33 +00:00
<link rel="stylesheet" href="/bower_components/icomoon/style.css" />
<link rel="stylesheet" href="/bower_components/font-awesome/css/all.min.css" />
2024-04-23 13:21:26 +00:00
<link rel="stylesheet" href="/css/style.css" />
<link rel="stylesheet" href="/css/nav.css" />
<link rel="stylesheet" href="/css/svg.css" />
2024-04-23 13:28:33 +00:00
<script src="https://term.syui.ai/term/pkg/jquery.ajax/jquery.min.js"></script>
2024-04-23 13:21:26 +00:00
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"name": "{{ .Title }}",
"url": "{{ .Site.BaseURL }}"
}
</script>
2024-04-23 13:28:33 +00:00
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
2024-04-23 13:21:26 +00:00
</head>