feat: init my blog
This commit is contained in:
commit
e30934c198
14 files changed
+719
No files matched your search
@@ -0,0 +1,72 @@
|
||||
baseURL = 'http://localhost:1313/'
|
||||
locale = 'zh-cn'
|
||||
title = "James'sLog"
|
||||
theme = 'PaperMod'
|
||||
|
||||
[params]
|
||||
disableSpecial1stPost = true # 关闭首篇文章特殊高亮显示
|
||||
ShowToc = true # 开启目录
|
||||
TocOpen = false # 页面打开时默认目录展开
|
||||
math = true # 开启数学公式渲染支持
|
||||
|
||||
[params.homeInfoParams]
|
||||
Title = "👋 Welcome to James'sLog"
|
||||
Content = "Hi, this is James. I’m documenting my learning notes in this blog since 2026."
|
||||
|
||||
[[params.socialIcons]]
|
||||
name = "twitter"
|
||||
url = "https://twitter.com/"
|
||||
|
||||
[[params.socialIcons]]
|
||||
name = "other"
|
||||
url = "https://example.com/"
|
||||
|
||||
[[params.socialIcons]]
|
||||
name = "rss"
|
||||
url = "index.xml"
|
||||
|
||||
[[params.socialIcons]]
|
||||
name = "github"
|
||||
url = "https://github.com/Liubruh"
|
||||
|
||||
[[params.socialIcons]]
|
||||
name = "instagram"
|
||||
url = "https://instagram.com/"
|
||||
|
||||
[markup]
|
||||
[markup.goldmark]
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true # 允许渲染文章中的原生 HTML 标签
|
||||
[markup.goldmark.extensions]
|
||||
[markup.goldmark.extensions.passthrough]
|
||||
enable = true
|
||||
[markup.goldmark.extensions.passthrough.delimiters]
|
||||
block = [['\[', '\]'], ['$$', '$$']]
|
||||
inline = [['\(', '\)'], ['$', '$']]
|
||||
|
||||
[outputs]
|
||||
home = ['HTML', 'RSS', 'JSON']
|
||||
|
||||
[menus]
|
||||
[[menus.main]]
|
||||
identifier = 'posts'
|
||||
name = 'Posts'
|
||||
url = '/'
|
||||
weight = 1
|
||||
|
||||
[[menus.main]]
|
||||
name = 'Archive'
|
||||
url = '/archive/'
|
||||
weight = 2
|
||||
|
||||
[[menus.main]]
|
||||
identifier = 'search'
|
||||
name = 'Search'
|
||||
url = '/search/'
|
||||
weight = 4
|
||||
|
||||
[[menus.main]]
|
||||
identifier = 'tags'
|
||||
name = 'Tags'
|
||||
url = '/tags/'
|
||||
weight = 3
|
||||
Reference in new issue
Block a user