Compare commits

..

2 Commits

Author SHA1 Message Date
16d9577356
Add files 2021-03-25 16:37:53 -05:00
d37c835b01
Add gitignore 2021-03-24 20:27:06 -05:00
18 changed files with 21 additions and 320 deletions

17
.gitignore vendored
View File

@ -1 +1,16 @@
public/
# Created by https://www.toptal.com/developers/gitignore/api/hugo
# Edit at https://www.toptal.com/developers/gitignore?templates=hugo
### Hugo ###
# Generated files by hugo
/public/
/resources/_gen/
hugo_stats.json
# Executable may be added to repository
hugo.exe
hugo.darwin
hugo.linux
# End of https://www.toptal.com/developers/gitignore/api/hugo

View File

@ -1,3 +1,5 @@
# blog
bbaovanc's blog, generated by Hugo
bbaovanc's blog, generated by Hugo
[Theme setup](https://hugo-geekblog.geekdocs.de/posts/getting-started/#option-1-download-pre-build-release-bundle)

View File

@ -1,4 +1,4 @@
baseURL = "https://bbaovanc.com/blog"
baseURL = "https://bbaovanc.com/blog/"
languageCode = "en-us"
title = "bbaovanc's blog"
theme = "bbaovanc"
theme = "hugo-geekblog"

View File

@ -1,6 +0,0 @@
---
title: "First"
date: 2021-02-21T14:50:30-06:00
---
This is the first article in my blog.

View File

@ -1,6 +0,0 @@
---
title: "Second"
date: 2021-02-21T14:50:47-06:00
---
This is the second article in my blog.

View File

@ -1,20 +0,0 @@
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.

View File

@ -1,2 +0,0 @@
+++
+++

View File

@ -1,11 +0,0 @@
<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}
<div id="content">
{{- block "main" . }}{{- end }}
</div>
{{- partial "footer.html" . -}}
</body>
</html>

View File

@ -1,45 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
{{ partial "head.html" . }}
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="/blog/style.css" />
<link rel="icon" type="image/svg+xml" href="/blog/favicon.svg" />
<link rel="alternate icon" href="/blog/favicon.ico" />
<title>Articles - bbaovanc's Blog</title>
<meta name="subject" content="Articles - 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="Articles - 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 }}
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
{{- end }}
<h4><a href="{{ .Site.BaseURL }}">Home</a></h4>
</div>
</div>
</body>
</html>

View File

@ -1,37 +0,0 @@
<!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/bbaovanc-1024.png" />
</head>
<body>
{{ partial "header.html" . }}
{{ partial "navbar.html" . }}
<div class="row">
<div class="main">
<h2>{{ .Title }}</h2>
<h5>{{ .Date.Format "Mon, Jan 2, 2006" }}</h5>
{{ .Content }}
<h4><a href="{{ .Site.BaseURL }}">Home</a></h4>
</div>
</div>
</body>
</html>

View File

@ -1,46 +0,0 @@
<!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>

View File

@ -1,6 +0,0 @@
<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/favicon.svg" />
<link rel="alternate icon" href="/blog/favicon.ico" />

View File

@ -1,3 +0,0 @@
<div class="header">
<h1>bbaovanc's Blog</h1>
</div>

View File

@ -1,5 +0,0 @@
<div class="navbar">
<a href="/blog/">Blog Home</a>
<a href="/article">Articles</a>
<a href="/">Main Site</a>
</div>

View File

@ -1,108 +0,0 @@
@media screen and (max-width: 700px) {
.row {
flex-direction: column;
}
}
@media screen and (max-width: 400px) {
.navbar a {
float: none;
width: 100%;
}
}
body {
font-family: sans-serif;
}
a {
color: blue;
}
.header {
padding: 10px;
text-align: center;
background: #4FA2F5;
color: white;
}
.header h1 {
font-size: 40px;
}
.navbar {
overflow: hidden;
background-color: #999;
}
.navbar a {
float: left;
display: block;
color: white;
text-align: center;
padding: 14px 20px;
text-decoration: none;
}
/* .navbar a.right {
float: right;
} */
.navbar a:hover {
background-color: #ddd;
color: black;
}
* {
box-sizing: border-box;
}
.row {
display: flex;
flex-wrap: wrap;
}
.side {
flex: 25%;
background-color: lightgray;
padding: 20px;
}
.main {
flex: 70%;
background-color: white;
padding: 20px;
max-width: 650px;
}
.footer {
padding: 20px;
text-align: center;
background: #ddd;
}
@media (prefers-color-scheme: dark) {
body {
background-color: black;
}
a {
color: #4da6ff;
}
.header {
background: #1A406B;
color: lightgray;
}
.navbar {
background-color: #222;
}
.navbar a {
color: lightgray;
}
.navbar a:hover {
background-color: #444;
color: white;
}
.side {
background-color: #111;
color: lightgray;
}
.main {
background-color: black;
color: lightgray;
}
.footer {
background: #222;
color: lightgray;
}
max-width: 650px;
}

View File

@ -1,21 +0,0 @@
# 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 = ""