下载 hugo-theme-next-starter
1
2
3
| git clone https://github.com/hugo-next/hugo-theme-next-starter
cd hugo-theme-next-starter
git submodule update --init --recursive
|
配置
编辑hugo.yaml
1
2
3
4
5
6
| vim config/_default/hugo.yaml
# 站点域名
baseURL: https://sxqs.fun
# 站点标题
title: Dany 的个人小站
|
编辑params.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
| vim config/_default/params.yaml
# 站点基本信息
# Site Information Settings
author: Dany
subtitle: 上下求索
description: 你的要务不在于达成什么,而是待在当下此处。只管专注当下就行了。这能使你得到解脱,免于痛苦,免于恐惧,免于心智的束缚。
keywords: emacs,elisp,java
# 知识共享国际许可 4.0
# 侧边栏显示
sidebar: false
# 文章底部显示
post: false
# 侧边栏头像
# 设置显示头像的相对路径
url: /imgs/head.png
siteState:
# 是否在侧边栏显示文章、分类、标签信息
basic: false
# 站点访问信息
views:
enable: false
# 社交链接地址
social0: Github || https://github.com/sxqsfun || fab fa-github
social1: E-Mail || mailto:78528291@qq.com || fa fa-envelope
# 友情链接设置
# 显示标题
# Show title
# 友情链接地址
links:
#link0: Hugo-NexT || https://gitee.com/hugo-next/hugo-theme-next
#link1: 凡梦星尘空间站 || https://lisenhui.cn
# 站点开始年份,默认为当下时间的年份
since: 2019
# 国内 ICP 备案和公安网备信息
beian:
enable: false
# 站点支持供应商列表
vendors:
enable: false
# 文章的在线编辑
postEdit:
enable: false
# 右上角在 Github 上面关注我的横幅
githubBanner:
enable: false
|