diff --git a/assets/css/_common/outline/sidebar/sidebar-toc.scss b/assets/css/_common/outline/sidebar/sidebar-toc.scss
index cca699b..d378d7c 100644
--- a/assets/css/_common/outline/sidebar/sidebar-toc.scss
+++ b/assets/css/_common/outline/sidebar/sidebar-toc.scss
@@ -1,15 +1,14 @@
@if $toc_enable {
.post-toc {
font-size: $font-size-small;
- padding: 0 8px;
- ul {
+ ol {
list-style: none;
margin: 0;
padding: 0 2px 5px 10px;
text-align: left;
- > li {
+ > ol {
padding-left: 0;
}
diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml
index 576644e..0daee31 100644
--- a/exampleSite/config.yaml
+++ b/exampleSite/config.yaml
@@ -1,13 +1,15 @@
-#:==============================================================
+# ===============================================================
# It's recommended to use Alternate Theme Config to configure NexT
# Modifying this file may result in merge conflict
# See: https://theme-next.js.org/docs/getting-started/configuration
-#:==============================================================
+# ===============================================================
baseURL: /
theme: hugo-theme-next
-paginate: 10
+
+paginate: 8
+
enableEmoji: true
# Make markdown content support HTML syntax
@@ -15,15 +17,6 @@ markup:
goldmark:
renderer:
unsafe: true
- highlight:
- codeFences: true
- lineNos: true
- lineNumbersInTable: true
- noClasses: true
- tableOfContents:
- endLevel: 3
- ordered: false
- startLevel: 1
defaultContentLanguage: zh-cn
languages:
@@ -312,11 +305,11 @@ params:
# Beian ICP and gongan information for Chinese users. See: https://beian.miit.gov.cn, http://www.beian.gov.cn
beian:
enable: true
- icp: 粤ICP备 18047355-1 号
+ icp: 粤ICP备18047355-1号
# The digit in the num of gongan beian.
provinceAbbr: 沪
# The full num of gongan beian.
- gonganNum: 31011402009770
+ gonganNum: 11010102001808
# The icon for gongan beian. See: http://www.beian.gov.cn/portal/download
#gongan_icon_url:
@@ -770,7 +763,7 @@ params:
# AddThis Share. See: https://www.addthis.com
# Go to https://www.addthis.com/dashboard to customize your tools.
- addThisId: ra-6049e46e9ee22127
+ addThisId:
# ---------------------------------------------------------------
diff --git a/exampleSite/content/about.md b/exampleSite/content/about.md
deleted file mode 100644
index ae17cc8..0000000
--- a/exampleSite/content/about.md
+++ /dev/null
@@ -1,19 +0,0 @@
----
-title: "关于 Hugo NexT 组织"
-description: ""
-
-date: 2022-06-09T20:12:52+08:00
-lastmod: 2022-06-09T20:12:52+08:00
-
-share: false
-followme: false
-nav: false
-copyright: false
-url: about.html
----
-
-`Hugo NexT` 组织是由众多喜爱 `NexT` 主题及风格的世界各地友人共同组建而成,为的就是让这个主题继续在 `Hugo` 引擎中也能得到发扬光大,在此也欢迎你的加入!
-
-# 我们的愿景
-
-延续 `NexT` 经典的黑白调搭配,保持简单的易用性及强大的功能。
\ No newline at end of file
diff --git a/exampleSite/content/hello-world.md b/exampleSite/content/hello-world.md
deleted file mode 100644
index 24c9eb4..0000000
--- a/exampleSite/content/hello-world.md
+++ /dev/null
@@ -1,60 +0,0 @@
----
-title: "'Hello World'"
-isCJKLanguage: true
-
-author: elkan1788
-lastmod: '2022-06-02T11:52:03+08:00'
-publishDate: '2022-06-02T11:52:03+08:00'
-
-categories:
- - 博客
-tags:
- - Hugo
- - 开始
-
-toc: false
-draft: true
-url: hello-world2.html
----
-
-The world’s fastest framework for building websites.
-
-[Hugo](https://gohugo.io/) is one of the most popular open-source static site generators. With its amazing speed and flexibility, Hugo makes building websites fun again.
-
-
-
-## Quick Start
-
-### Create a new post
-
-```shell
-$ hugo new hello-world.md
-```
-
-More info: [Content's Formats](https://gohugo.io/content-management/formats/)
-
-### Run server
-
-```shell
-$ hugo server
-```
-
-More info: [Hugo Server CLI](https://gohugo.io/commands/hugo_server/)
-
-### Generate static files
-
-```shell
-$ hugo
-```
-
-More info: [Hugo Build Site](https://gohugo.io/commands/hugo/)
-
-### Deploy to remote sites
-
-```language
-$ hugo deploy
-```
-
-More info: [Hugo Deployment](https://gohugo.io/commands/hugo_deploy/)
-
-See you will enjoy the Hugo journey and good luck for you!
\ No newline at end of file
diff --git a/exampleSite/content/posts/markdown-syntax.md b/exampleSite/content/posts/markdown-syntax.md
index 43ab71d..9618861 100644
--- a/exampleSite/content/posts/markdown-syntax.md
+++ b/exampleSite/content/posts/markdown-syntax.md
@@ -43,28 +43,10 @@ url: markdown-syntax.html
## 图像
-### Markdown 语法
-
-```markdown
-
-```

-### HTML IMG 标签
-
-```html
-
-```
-### SVG 格式
-
-```html
-
-```
-
-
-
## 列表类型
### 有序列表
diff --git a/exampleSite/content/posts/syntax-highlighting.md b/exampleSite/content/posts/syntax-highlighting.md
deleted file mode 100644
index 2c3c05b..0000000
--- a/exampleSite/content/posts/syntax-highlighting.md
+++ /dev/null
@@ -1,147 +0,0 @@
----
-title: "Hugo 内置的 Chroma 语法高亮"
-description: "描述下 Chroma 所支持的各种语法及高亮效果展示"
-keywords: "Chroma,语法,高亮"
-
-date: 2022-06-07T19:09:52+08:00
-lastmod: 2022-06-07T19:09:52+08:00
-
-categories:
- - 示例
-tags:
- - 语法
- - 高亮
- - Chroma
-
-url: "syntax-highlighting.html"
----
-
-Hugo 通过 Chroma 提供非常快速的语法高亮显示,现 Hugo 中使用 Chroma 作为代码块高亮支持,它内置在 Go 语言当中,速度是真的非常、非常快,而且最为重要的是它也兼容之前我们使用的 Pygments 方式。
-
-以下通过 Hugo 内置短代码 `highlight` 和 `Markdown` 代码块方式分别验证不同语言的代码块渲染效果并能正确高亮显示,有关优化语法突出显示的更多信息,请参阅 [Hugo 文档](https://gohugo.io/getting-started/configuration-markup#highlight)。
-
-
-
-# 编程语言
-
-## GO
-
-{{< highlight go "linenos=table,hl_lines=8 15-17,linenostart=199" >}}
-
-func GetTitleFunc(style string) func(s string) string {
- switch strings.ToLower(style) {
- case "go":
- return strings.Title
- case "chicago":
- return transform.NewTitleConverter(transform.ChicagoStyle)
- default:
- return transform.NewTitleConverter(transform.APStyle)
- }
-}
-
-{{< / highlight >}}
-
-## Java
-
-```java
-import javax.swing.JFrame; //Importing class JFrame
-import javax.swing.JLabel; //Importing class JLabel
-public class HelloWorld {
- public static void main(String[] args) {
- JFrame frame = new JFrame(); //Creating frame
- frame.setTitle("Hi!"); //Setting title frame
- frame.add(new JLabel("Hello, world!"));//Adding text to frame
- frame.pack(); //Setting size to smallest
- frame.setLocationRelativeTo(null); //Centering frame
- frame.setVisible(true); //Showing frame
- }
-}
-```
-
-## Python
-
-``` python
-print "Hello, world!"
-```
-
-## Git 对比
-
-``` diff {hl_lines=[4,"6-7"], linenos=true}
-*** /path/to/original ''timestamp''
---- /path/to/new ''timestamp''
-***************
-*** 1 ****
-! This is a line.
---- 1 ---
-! This is a replacement line.
-It is important to spell
--removed line
-+new line
-```
-
-```diff {hl_lines=[4,"6-7"], linenos=false}
-*** /path/to/original ''timestamp''
---- /path/to/new ''timestamp''
-***************
-*** 1 ****
-! This is a line.
---- 1 ---
-! This is a replacement line.
-It is important to spell
--removed line
-+new line
-```
-
-# 文件
-
-## Make 文件
-
-``` makefile {linenos=false}
-CC=gcc
-CFLAGS=-I.
-
-hellomake: hellomake.o hellofunc.o
- $(CC) -o hellomake hellomake.o hellofunc.o -I.
-```
-
-## Markdown 文档
-
-``` markdown
-**bold**
-*italics*
-[link](www.example.com)
-```
-
-# 数据内容
-
-## JSON 数据
-
-``` json
-{"employees":[
- {"firstName":"John", "lastName":"Doe"},
-]}
-```
-
-## XML 内容
-
-``` xml
-