Add broken site
This commit is contained in:
0
themes/bbaovanc/layouts/404.html
Normal file
0
themes/bbaovanc/layouts/404.html
Normal file
11
themes/bbaovanc/layouts/_default/baseof.html
Normal file
11
themes/bbaovanc/layouts/_default/baseof.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
<div id="content">
|
||||
{{- block "main" . }}{{- end }}
|
||||
</div>
|
||||
{{- partial "footer.html" . -}}
|
||||
</body>
|
||||
</html>
|
19
themes/bbaovanc/layouts/_default/list.html
Normal file
19
themes/bbaovanc/layouts/_default/list.html
Normal file
@ -0,0 +1,19 @@
|
||||
{{ define "main" }}
|
||||
<main>
|
||||
<article>
|
||||
<header>
|
||||
<h1>{{.Title}}</h1>
|
||||
</header>
|
||||
<!-- "{{.Content}}" pulls from the markdown content of the corresponding _index.md -->
|
||||
{{.Content}}
|
||||
</article>
|
||||
<ul>
|
||||
<!-- Ranges through content/posts/*.md -->
|
||||
{{ range .Pages }}
|
||||
<li>
|
||||
<a href="{{.Permalink}}">{{.Date.Format "2006-01-02"}} | {{.Title}}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</main>
|
||||
{{ end }}
|
0
themes/bbaovanc/layouts/_default/single.html
Normal file
0
themes/bbaovanc/layouts/_default/single.html
Normal file
15
themes/bbaovanc/layouts/index.html
Normal file
15
themes/bbaovanc/layouts/index.html
Normal file
@ -0,0 +1,15 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{.Title}}</h1>
|
||||
{{ with .Params.subtitle }}
|
||||
<span class="subtitle">{{.}}</span>
|
||||
{{ end }}
|
||||
<div class="homepage-content">
|
||||
<!-- Note that the content for index.html, as a sort of list page, will pull from content/_index.md -->
|
||||
{{.Content}}
|
||||
</div>
|
||||
<div>
|
||||
{{ range first 10 .Site.RegularPages }}
|
||||
{{ .Render "summary"}}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
0
themes/bbaovanc/layouts/partials/footer.html
Normal file
0
themes/bbaovanc/layouts/partials/footer.html
Normal file
26
themes/bbaovanc/layouts/partials/head.html
Normal file
26
themes/bbaovanc/layouts/partials/head.html
Normal file
@ -0,0 +1,26 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<link rel="stylesheet" href="/blog/css/style.css">
|
||||
<link rel="icon" type="image/svg+xml" href="/blog/icon/favicon.svg">
|
||||
<link rel="alternate icon" href="/blog/icon/favicon.ico">
|
||||
|
||||
<base href="{{ .Site.BaseURL }}">
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
|
||||
<title>{{ .Title }}</title>
|
||||
|
||||
<meta name="subject" content="{{ .Title }}">
|
||||
<meta name="description" content="{{ .Description }}">
|
||||
<meta name="url" content="https://bbaovanc.com/blog/">
|
||||
<meta name="reply-to" content="contact@bbaovanc.com">
|
||||
|
||||
<meta name="og:type" content="website">
|
||||
<meta name="og:title" content="{{ .Title }}">
|
||||
<meta name="og:url" content="https://bbaovanc.com/blog/">
|
||||
<meta name="og:site_name" content="bbaovanc's blog">
|
||||
<meta name="og:description" content="{{ .Description }}">
|
||||
<meta name="og:email" content="contact@bbaovanc.com">
|
||||
<meta name="og:image" content="/blog/icon/bbaovanc-1024.png">
|
||||
</head>
|
3
themes/bbaovanc/layouts/partials/header.html
Normal file
3
themes/bbaovanc/layouts/partials/header.html
Normal file
@ -0,0 +1,3 @@
|
||||
<div class="header">
|
||||
<h1>bbaovanc's blog</h1>
|
||||
</div>
|
Reference in New Issue
Block a user