fix
This commit is contained in:
parent
98b3dcdd82
commit
5ac8be2191
@ -1,4 +1,4 @@
|
|||||||
{{ partial "head.html" . }}
|
{{ partial "head-blog.html" . }}
|
||||||
{{ partial "navbar.html" . }}
|
{{ partial "navbar.html" . }}
|
||||||
{{ partial "header.html" . }}
|
{{ partial "header.html" . }}
|
||||||
|
|
||||||
|
43
layouts/partials/head-blog.html
Normal file
43
layouts/partials/head-blog.html
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>{{ .Title }}</title>
|
||||||
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<meta name="author" content="{{ .Site.Author.name }}" />
|
||||||
|
<meta name="copyright" content="© {{ .Site.Author.name }}" />
|
||||||
|
<meta name="description" content="ai" />
|
||||||
|
<meta name="keywords" content="ai" />
|
||||||
|
<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="/icon/ai.png" />
|
||||||
|
<link rel="shortcut icon" href="/icon/ai.png" />
|
||||||
|
<link rel="apple-touch-icon" href="/icon/apple-touch-icon.png" />
|
||||||
|
<link rel="stylesheet" href="/css/style.css" />
|
||||||
|
<link rel="stylesheet" href="/css/blog.css" />
|
||||||
|
<link rel="stylesheet" href="/css/svg.css" />
|
||||||
|
<link rel="stylesheet" href="/pkg/icomoon/icomoon.css" />
|
||||||
|
<link rel="stylesheet" href="/pkg/font-awesome/css/all.min.css" />
|
||||||
|
<script type="application/ld+json">
|
||||||
|
{
|
||||||
|
"@context": "http://schema.org",
|
||||||
|
"@type": "WebSite",
|
||||||
|
"name": "{{ .Title }}",
|
||||||
|
"url": "{{ .Site.BaseURL }}"
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<script src="/js/index.js"></script>
|
||||||
|
|
||||||
|
{{ range .AlternativeOutputFormats -}}
|
||||||
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
|
</head>
|
4
static/css/blog.css
Normal file
4
static/css/blog.css
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
.containerx {
|
||||||
|
padding: 0 250px;
|
||||||
|
width: auto;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user