homepage iniT
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
<!doctype html>
|
||||
<html lang="{{ .Site.LanguageCode }}">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
{{ with site.Params.author }}<meta name="author" content="{{ . }}" />{{ end }}
|
||||
{{ if eq .Type "blog" }}
|
||||
{{ with .Params.metadescription }}<meta name="description" content="{{ . }}" />{{ end }}
|
||||
{{ with .Params.metakeywords }}<meta name="keywords" content="{{ . }}" />{{ end }}
|
||||
{{ else }}
|
||||
{{ with site.Params.description }}<meta name="description" content="{{ . }}" />{{ end }}
|
||||
{{ with site.Params.keywords }}<meta name="keywords" content="{{ . }}" />{{ end }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
<base href="{{ .Permalink }}" />
|
||||
<title>{{ block "title" . }}{{ site.Title }}{{ end }}</title>
|
||||
|
||||
<link rel="canonical" href="{{ .Permalink }}" />
|
||||
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans+Mono:400,600,700" />
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Anonymous+Pro:400,500,700" />
|
||||
|
||||
<link rel="stylesheet" href="{{ "css/styles.css" | absURL }}" />
|
||||
|
||||
<link rel="icon" type="image/png" href="{{ "/images/favicon.png" | absURL }}" sizes="32x32" />
|
||||
|
||||
{{ with .OutputFormats.Get "RSS" }}
|
||||
<link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" title="{{ site.Title }}" />
|
||||
<link href="{{ .RelPermalink }}" rel="feed" type="application/rss+xml" title="{{ site.Title }}" />
|
||||
{{ end }}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<main class="wrapper">
|
||||
{{ partial "header.html" . }}
|
||||
|
||||
|
||||
<div class="content">
|
||||
{{ block "content" . }}{{ end }}
|
||||
</div>
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user