Add files
This commit is contained in:
20
themes/bbaovanc/LICENSE
Normal file
20
themes/bbaovanc/LICENSE
Normal file
@ -0,0 +1,20 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2021 YOUR_NAME_HERE
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
2
themes/bbaovanc/archetypes/default.md
Normal file
2
themes/bbaovanc/archetypes/default.md
Normal file
@ -0,0 +1,2 @@
|
||||
+++
|
||||
+++
|
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>
|
6
themes/bbaovanc/layouts/_default/list.html
Normal file
6
themes/bbaovanc/layouts/_default/list.html
Normal file
@ -0,0 +1,6 @@
|
||||
{{ partial "header.html" . -}}
|
||||
<h1>Posts</h1>
|
||||
{{- range first 10 .Data.Pages }}
|
||||
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
||||
{{- end }}
|
||||
{{ partial "footer.html" . -}}
|
12
themes/bbaovanc/layouts/_default/old/list.html
Normal file
12
themes/bbaovanc/layouts/_default/old/list.html
Normal file
@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<body>
|
||||
<h1>Posts</h1>
|
||||
{{- range first 10 .Data.Pages }}
|
||||
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
||||
{{- end }}
|
||||
<h4><a href="{{ .Site.BaseURL }}">Home</a></h4>
|
||||
</body>
|
||||
|
||||
</html>
|
15
themes/bbaovanc/layouts/_default/old/single.html
Normal file
15
themes/bbaovanc/layouts/_default/old/single.html
Normal file
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>{{ .Title }}</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>{{ .Title }}</h1>
|
||||
<h6>{{ .Date.Format "Mon, Jan 2, 2006" }}</h6>
|
||||
{{ .Content }}
|
||||
<h4><a href="{{ .Site.BaseURL }}">Home</a></h4>
|
||||
</body>
|
||||
|
||||
</html>
|
4
themes/bbaovanc/layouts/_default/single.html
Normal file
4
themes/bbaovanc/layouts/_default/single.html
Normal file
@ -0,0 +1,4 @@
|
||||
{{ partial "header.html" . }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
{{ partial "footer.html" . -}}
|
21
themes/bbaovanc/layouts/index.html
Normal file
21
themes/bbaovanc/layouts/index.html
Normal file
@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<body>
|
||||
{{ partial "header.html" . }}
|
||||
<h2>Posts</h2>
|
||||
{{- range first 10 .Pages -}}
|
||||
{{- if eq .Type "post" }}
|
||||
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
<h2>Pages</h2>
|
||||
{{- range first 10 .Pages -}}
|
||||
{{- if eq .Type "page" }}
|
||||
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
</body>
|
||||
|
||||
</html>
|
0
themes/bbaovanc/layouts/partials/footer.html
Normal file
0
themes/bbaovanc/layouts/partials/footer.html
Normal file
0
themes/bbaovanc/layouts/partials/head.html
Normal file
0
themes/bbaovanc/layouts/partials/head.html
Normal file
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>{{ .Site.Title }}</h1>
|
||||
</div>
|
5
themes/bbaovanc/layouts/post/single.html
Normal file
5
themes/bbaovanc/layouts/post/single.html
Normal file
@ -0,0 +1,5 @@
|
||||
{{ partial "header.html" . }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
<h6>{{ .Date.Format "Mon, Jan 2, 2006" }}</h6>
|
||||
{{ .Content }}
|
||||
{{ partial "footer.html" . -}}
|
21
themes/bbaovanc/theme.toml
Normal file
21
themes/bbaovanc/theme.toml
Normal file
@ -0,0 +1,21 @@
|
||||
# theme.toml template for a Hugo theme
|
||||
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
|
||||
|
||||
name = "Bbaovanc"
|
||||
license = "MIT"
|
||||
licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE"
|
||||
description = ""
|
||||
homepage = "http://example.com/"
|
||||
tags = []
|
||||
features = []
|
||||
min_version = "0.41.0"
|
||||
|
||||
[author]
|
||||
name = ""
|
||||
homepage = ""
|
||||
|
||||
# If porting an existing theme
|
||||
[original]
|
||||
name = ""
|
||||
homepage = ""
|
||||
repo = ""
|
Reference in New Issue
Block a user