refactor: move posts, data and configs to exampleSite

This commit is contained in:
geekifan
2025-05-11 12:26:39 +08:00
parent 7d2f103a0d
commit 23a2a5aab0
31 changed files with 18 additions and 1 deletions

View File

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

@ -1,4 +1,3 @@
theme_version = "5.2.0"
toc = true toc = true
avatar = "img/commons/avatar.jpg" avatar = "img/commons/avatar.jpg"
author = "yifan" author = "yifan"

View File

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 74 KiB

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

18
exampleSite/hugo.toml Normal file
View File

@ -0,0 +1,18 @@
title = 'Chirpy'
enableGitInfo = true
theme = "hugo-theme-chirpy"
themesDir = "../../"
defaultContentLanguage = "en"
defaultContentLanguageInSubdir = false
hasCJKLanguage = true
[pagination]
pagerSize = 5
[outputs]
home = ["HTML", "RSS", "JSON"]
[taxonomies]
category = "categories"
tag = "tags"