Skip to content

Commit ac2ca42

Browse files
committed
init project
1 parent 0756bc5 commit ac2ca42

File tree

7 files changed

+127
-8
lines changed

7 files changed

+127
-8
lines changed

archetypes/default.md

-5
This file was deleted.

content/about.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: "About"
3+
date: 2024-08-19T23:05:31+08:00
4+
description:
5+
comments: false
6+
showMetaInfo: false
7+
toc: false
8+
norss: true
9+
nosearch: true
10+
---
11+
12+
# About Me
13+
关于我

content/posts/first.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: "Markdown Syntax Guide"
3+
date: 2024-08-19T10:21:38+08:00
4+
description:
5+
tags: ["markdown"]
6+
categories: ["markdown"]
7+
comments: true
8+
showMetaInfo: true
9+
toc: true
10+
---
11+
12+
# Markdown Syntax Guide

content/posts/second.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: "Markdown语法指导"
3+
date: 2024-08-19T16:30:37+08:00
4+
description:
5+
tags: ["markdown"]
6+
categories: ["markdown"]
7+
comments: true
8+
showMetaInfo: true
9+
toc: true
10+
---
11+
12+
# Markdown 语法指导

data/footer_columns.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
- title: My other projects
2+
links:
3+
- title: Project1
4+
link: https://project1.com
5+
- title: Project2
6+
link: https://project2.com
7+
- title: About me
8+
links:
9+
- title: My personal website
10+
link: https://mysite.com
11+
- title: My GitHub
12+
link: https://github.com/mygithubxxx

data/jumbotron.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
title: Example Astronaut
2+
hugeTitle: true
3+
subtitle: subtitle
4+
image: /jumbotron_image.svg
5+
imagePosition: left # values: left, right, top, bottom
6+
7+
# 背景视频
8+
backgroundVideo: /jumbotron_video.mp4
9+
10+
# 最好同时提供mp4和web源以达到更好的适配效果
11+
backgroundVideoMp4: /jumbotron_video.mp4
12+
backgroundVideoWebm: /jumbotron_video.webm
13+
videoOpacity: 1.0
14+
textShadow: false
15+
fullscreen: false
16+
downArrow: true
17+
whiteText: true # 巨幕中强制显示白色文本
18+
links:
19+
- title: About me
20+
link: /about
21+
- title: Read my blog
22+
link: /posts

hugo.toml

+56-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,56 @@
1-
baseURL = 'https://example.org/'
2-
languageCode = 'en-us'
3-
title = 'My New Hugo Site'
1+
baseURL = "https://example.com/"
2+
3+
theme = "astronaut"
4+
5+
title = "Example Astronaut"
6+
7+
languageCode = "zh"
8+
9+
defaultContentLanguage = "zh"
10+
11+
copyright = "Some copyright notice - [my license](https://example.com/license)"
12+
13+
hasCJKLanguage = true
14+
15+
paginate = 2
16+
17+
summaryLength = 70
18+
19+
[menus]
20+
[[menu.main]]
21+
name = "Home"
22+
identifier = "home"
23+
url = "/"
24+
weight = 10
25+
[[menu.main]]
26+
name = "Posts"
27+
identifier = "posts"
28+
url = "/posts"
29+
weight = 20
30+
[[menu.main]]
31+
name = "Categories"
32+
identifier = "categories"
33+
url = "/categories"
34+
weight = 30
35+
[[menu.main]]
36+
name = "Tags"
37+
identifier = "tags"
38+
url = "/tags"
39+
weight = 40
40+
[[menu.main]]
41+
name = "About"
42+
identifier = "about"
43+
url = "/about"
44+
weight = 50
45+
46+
# 图标菜单
47+
[[menu.icons]]
48+
identifier = "github"
49+
name = "GitHub"
50+
url = "https://github.com/kanghuahe"
51+
weight = 60
52+
[[menu.icons]]
53+
identifier = "email"
54+
name = "Email"
55+
url = "mailto://kanghuahe.dx@gmail.com"
56+
weight = 70

0 commit comments

Comments
 (0)