[WIP] Add a site that sort of works
This commit is contained in:
46
themes/bbaovanc/layouts/index.html
Normal file
46
themes/bbaovanc/layouts/index.html
Normal file
@ -0,0 +1,46 @@
|
||||
<!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">
|
||||
<h2>Articles</h2>
|
||||
{{- range first 10 .Data.Pages }}
|
||||
{{- if eq .Type "article" }}
|
||||
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
||||
{{- end }}
|
||||
{{- 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>
|
Reference in New Issue
Block a user