Almost working
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>
|
41
themes/bbaovanc/layouts/_default/list.html
Normal file
41
themes/bbaovanc/layouts/_default/list.html
Normal file
@ -0,0 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
{{ partial "head.html" . }}
|
||||
<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" />
|
||||
|
||||
<title>Posts - bbaovanc's blog</title>
|
||||
|
||||
<meta name="subject" content="Posts - bbaovanc's blog" />
|
||||
<meta name="description" content="This is my personal blog" />
|
||||
<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="Articles - bbaovanc's blog" />
|
||||
<meta name="og:url" content="https://bbaovanc.com/blog/" />
|
||||
<meta name="og:site_name" content="Posts - bbaovanc's blog" />
|
||||
<meta name="og:description" content="This is my personal blog" />
|
||||
<meta name="og:email" content="contact@bbaovanc.com" />
|
||||
<meta name="og:image" content="/blog/icon/bbaovanc-1024.png" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{{ partial "header.html" . }}
|
||||
{{ partial "navbar.html" . }}
|
||||
|
||||
<div class="row">
|
||||
<div class="main">
|
||||
<h2>Posts</h2>
|
||||
{{- range first 10 .Data.Pages }}
|
||||
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
||||
{{- end }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
37
themes/bbaovanc/layouts/_default/single.html
Normal file
37
themes/bbaovanc/layouts/_default/single.html
Normal file
@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
{{ partial "head.html" . }}
|
||||
<title>{{ .Title }}</title>
|
||||
|
||||
<meta name="subject" content="{{ .Title }}" />
|
||||
<meta name="description" content="This is my personal blog" />
|
||||
<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="{{ .Title }}" />
|
||||
<meta name="og:description" content="This is my personal blog" />
|
||||
<meta name="og:email" content="contact@bbaovanc.com" />
|
||||
<meta name="og:image" content="/blog/icon/bbaovanc-1024.png" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{{ partial "header.html" . }}
|
||||
{{ partial "navbar.html" . }}
|
||||
|
||||
<div class="row">
|
||||
<div class="main">
|
||||
<h1>{{ .Title }}</h2>
|
||||
<h4>{{ .Date.Format "Mon, Jan 2, 2006" }}</h5>
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
47
themes/bbaovanc/layouts/index.html
Normal file
47
themes/bbaovanc/layouts/index.html
Normal file
@ -0,0 +1,47 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
{{ partial "head.html" . }}
|
||||
<title>bbaovanc's blog</title>
|
||||
|
||||
<meta name="subject" content="bbaovanc's blog" />
|
||||
<meta name="description" content="This is my personal blog" />
|
||||
<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="bbaovanc's blog" />
|
||||
<meta name="og:url" content="https://bbaovanc.com/blog/" />
|
||||
<meta name="og:site_name" content="bbaovanc's blog" />
|
||||
<meta name="og:description" content="This is my personal blog" />
|
||||
<meta name="og:email" content="contact@bbaovanc.com" />
|
||||
<meta name="og:image" content="/blog/bbaovanc-1024.png" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{{ partial "header.html" . }}
|
||||
{{ partial "navbar.html" . }}
|
||||
|
||||
<div class="row">
|
||||
<div class="main">
|
||||
{{- range first 10 .Data.Pages }}
|
||||
{{- end }}
|
||||
<h2>Posts</h2>
|
||||
{{- range first 10 .Data.Pages }}
|
||||
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
||||
{{- end }}
|
||||
|
||||
<h2>Pages</h2>
|
||||
{{- range first 10 .Data.Pages }}
|
||||
{{- if eq .Type "page" }}
|
||||
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
0
themes/bbaovanc/layouts/partials/footer.html
Normal file
0
themes/bbaovanc/layouts/partials/footer.html
Normal file
6
themes/bbaovanc/layouts/partials/head.html
Normal file
6
themes/bbaovanc/layouts/partials/head.html
Normal file
@ -0,0 +1,6 @@
|
||||
<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">
|
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>
|
5
themes/bbaovanc/layouts/partials/navbar.html
Normal file
5
themes/bbaovanc/layouts/partials/navbar.html
Normal file
@ -0,0 +1,5 @@
|
||||
<div class="navbar">
|
||||
<a href="/blog/">Blog Home</a>
|
||||
<a href="/posts">Posts</a>
|
||||
<a href="/">Main Site</a>
|
||||
</div>
|
Reference in New Issue
Block a user