Compare commits
2 Commits
master
...
bwaycer-gu
Author | SHA1 | Date | |
---|---|---|---|
9e7c051884 | |||
d37c835b01 |
17
.gitignore
vendored
17
.gitignore
vendored
@ -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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
baseURL = "https://bbaovanc.com/blog"
|
baseURL = "https://bbaovanc.com/blog/"
|
||||||
languageCode = "en-us"
|
languageCode = "en-us"
|
||||||
title = "bbaovanc's blog"
|
title = "bbaovanc's blog"
|
||||||
theme = "bbaovanc"
|
theme = "bbaovanc"
|
||||||
|
7
content/about.md
Normal file
7
content/about.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
title: "About"
|
||||||
|
date: 2021-03-24T23:20:36-05:00
|
||||||
|
draft: false
|
||||||
|
---
|
||||||
|
|
||||||
|
This is my personal blog website. I have no idea how to use Hugo.
|
@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
title: "First"
|
|
||||||
date: 2021-02-21T14:50:30-06:00
|
|
||||||
---
|
|
||||||
|
|
||||||
This is the first article in my blog.
|
|
@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
title: "Second"
|
|
||||||
date: 2021-02-21T14:50:47-06:00
|
|
||||||
---
|
|
||||||
|
|
||||||
This is the second article in my blog.
|
|
12
content/post/first.md
Normal file
12
content/post/first.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
title: "First"
|
||||||
|
date: 2021-03-24T20:42:10-05:00
|
||||||
|
draft: true
|
||||||
|
tags: ["test"]
|
||||||
|
---
|
||||||
|
|
||||||
|
Hello, world!
|
||||||
|
|
||||||
|
<!--more-->
|
||||||
|
|
||||||
|
This is some more!
|
21
content/post/lorem_ipsum.md
Normal file
21
content/post/lorem_ipsum.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
title: "Lorem Ipsum"
|
||||||
|
date: 2021-03-24T20:50:43-05:00
|
||||||
|
draft: false
|
||||||
|
---
|
||||||
|
|
||||||
|
## Lorem
|
||||||
|
|
||||||
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Aliquam malesuada bibendum arcu vitae. Suspendisse ultrices gravida dictum fusce ut placerat. Volutpat est velit egestas dui id ornare arcu. Quisque egestas diam in arcu. Augue lacus viverra vitae congue eu consequat ac. Tortor at auctor urna nunc id. Eu consequat ac felis donec. Nulla aliquet porttitor lacus luctus accumsan tortor. Justo nec ultrices dui sapien. Nec ullamcorper sit amet risus. Eleifend quam adipiscing vitae proin sagittis nisl rhoncus mattis rhoncus. Risus nullam eget felis eget nunc. Ut placerat orci nulla pellentesque dignissim enim sit amet.
|
||||||
|
|
||||||
|
<!--more-->
|
||||||
|
|
||||||
|
## Ipsum
|
||||||
|
|
||||||
|
At varius vel pharetra vel turpis nunc eget. Dolor morbi non arcu risus quis varius. Suspendisse potenti nullam ac tortor vitae purus faucibus ornare suspendisse. Sit amet facilisis magna etiam tempor orci eu. Nulla porttitor massa id neque. Volutpat consequat mauris nunc congue nisi vitae suscipit. Aliquet risus feugiat in ante. Lacus laoreet non curabitur gravida. Diam donec adipiscing tristique risus nec feugiat. Pharetra magna ac placerat vestibulum lectus mauris ultrices eros. Sed arcu non odio euismod lacinia at quis. Aliquam ultrices sagittis orci a. Libero nunc consequat interdum varius sit amet. Donec ultrices tincidunt arcu non sodales neque. Metus dictum at tempor commodo ullamcorper a lacus vestibulum.
|
||||||
|
|
||||||
|
Amet consectetur adipiscing elit pellentesque habitant. Dignissim convallis aenean et tortor at risus viverra adipiscing. Odio aenean sed adipiscing diam. Sociis natoque penatibus et magnis dis parturient montes nascetur. Eget mauris pharetra et ultrices. Neque sodales ut etiam sit amet nisl. Consequat ac felis donec et odio pellentesque. Morbi non arcu risus quis varius quam quisque. Sit amet facilisis magna etiam tempor orci. Augue mauris augue neque gravida in fermentum et sollicitudin. Eget nullam non nisi est sit. Nunc eget lorem dolor sed viverra ipsum nunc. Vulputate sapien nec sagittis aliquam malesuada bibendum arcu vitae. Sed vulputate odio ut enim blandit volutpat. Turpis nunc eget lorem dolor sed viverra ipsum nunc. Fermentum posuere urna nec tincidunt. Malesuada pellentesque elit eget gravida cum sociis. Interdum velit euismod in pellentesque massa placerat duis ultricies lacus.
|
||||||
|
|
||||||
|
Tempor id eu nisl nunc. Et egestas quis ipsum suspendisse. Consectetur adipiscing elit ut aliquam purus sit amet luctus. Adipiscing tristique risus nec feugiat in. Nibh tellus molestie nunc non blandit massa enim. Cras fermentum odio eu feugiat. Urna id volutpat lacus laoreet non curabitur gravida arcu ac. Quis commodo odio aenean sed adipiscing diam. Vel fringilla est ullamcorper eget nulla facilisi etiam dignissim diam. Netus et malesuada fames ac turpis. Nunc scelerisque viverra mauris in aliquam. Ut porttitor leo a diam sollicitudin tempor id eu nisl. Facilisis magna etiam tempor orci eu lobortis elementum. Vitae semper quis lectus nulla at volutpat diam ut. Pellentesque adipiscing commodo elit at imperdiet dui accumsan. Risus nullam eget felis eget. Neque volutpat ac tincidunt vitae semper quis lectus. Neque egestas congue quisque egestas diam in. Egestas quis ipsum suspendisse ultrices gravida dictum fusce. A iaculis at erat pellentesque adipiscing commodo elit at imperdiet.
|
||||||
|
|
||||||
|
Amet aliquam id diam maecenas ultricies mi eget mauris. Est placerat in egestas erat imperdiet sed euismod. Vel quam elementum pulvinar etiam non. Eros donec ac odio tempor orci dapibus ultrices in. Sagittis nisl rhoncus mattis rhoncus urna neque. Quam viverra orci sagittis eu volutpat odio facilisis. Maecenas pharetra convallis posuere morbi leo urna molestie. Mauris pellentesque pulvinar pellentesque habitant. Cursus in hac habitasse platea dictumst quisque. Nibh venenatis cras sed felis eget velit aliquet sagittis id.
|
@ -1,45 +1,6 @@
|
|||||||
<!DOCTYPE html>
|
{{ partial "header.html" . -}}
|
||||||
<html lang="en">
|
<h1>Posts</h1>
|
||||||
|
|
||||||
<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 }}
|
{{- range first 10 .Data.Pages }}
|
||||||
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
<h4><a href="{{ .Site.BaseURL }}">Home</a></h4>
|
{{ partial "footer.html" . -}}
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</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>
|
@ -1,37 +1,4 @@
|
|||||||
<!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 "header.html" . }}
|
||||||
{{ partial "navbar.html" . }}
|
<h1>{{ .Title }}</h1>
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="main">
|
|
||||||
<h2>{{ .Title }}</h2>
|
|
||||||
<h5>{{ .Date.Format "Mon, Jan 2, 2006" }}</h5>
|
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
<h4><a href="{{ .Site.BaseURL }}">Home</a></h4>
|
{{ partial "footer.html" . -}}
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
||||||
|
@ -1,46 +1,21 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html>
|
||||||
|
|
||||||
<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>
|
<body>
|
||||||
{{ partial "header.html" . }}
|
{{ partial "header.html" . }}
|
||||||
{{ partial "navbar.html" . }}
|
<h2>Posts</h2>
|
||||||
|
{{- range first 10 .Pages -}}
|
||||||
<div class="row">
|
{{- if eq .Type "post" }}
|
||||||
<div class="main">
|
|
||||||
<h2>Articles</h2>
|
|
||||||
{{- range first 10 .Data.Pages }}
|
|
||||||
{{- if eq .Type "article" }}
|
|
||||||
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
||||||
{{- end }}
|
{{- end -}}
|
||||||
{{- end }}
|
{{- end -}}
|
||||||
|
|
||||||
<h2>Pages</h2>
|
<h2>Pages</h2>
|
||||||
{{- range first 10 .Data.Pages }}
|
{{- range first 10 .Pages -}}
|
||||||
{{- if eq .Type "page" }}
|
{{- if eq .Type "page" }}
|
||||||
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
||||||
{{- end }}
|
{{- end -}}
|
||||||
{{- end }}
|
{{- end -}}
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
@ -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" />
|
|
@ -1,3 +1,3 @@
|
|||||||
<div class="header">
|
<div class="header">
|
||||||
<h1>bbaovanc's Blog</h1>
|
<h1>{{ .Site.Title }}</h1>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
<div class="navbar">
|
|
||||||
<a href="/blog/">Blog Home</a>
|
|
||||||
<a href="/article">Articles</a>
|
|
||||||
<a href="/">Main Site</a>
|
|
||||||
</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" . -}}
|
@ -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;
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user