Add post: 暗黑能天使
This commit is contained in:
45
config/_default/config.yaml
Normal file
45
config/_default/config.yaml
Normal file
@@ -0,0 +1,45 @@
|
||||
baseURL: /
|
||||
title: Eureka Demo
|
||||
|
||||
# Uncomment when not installing with Hugo Modules
|
||||
# theme: eureka
|
||||
# Comment when not installing with Hugo Modules
|
||||
theme: wangchucheng.com/hugo-eureka
|
||||
# If you cannot access the Github mirror, you can also use the Gitee mirror: gitee.com/wangchucheng/hugo-eureka
|
||||
|
||||
paginate: 3
|
||||
copyright: >
|
||||
© 2021 <a href="https://www.wangchucheng.com/">WANG Chucheng</a> and <a
|
||||
href="https://www.ruiqima.com/">MA Ruiqi</a>
|
||||
enableEmoji: true
|
||||
enableGitInfo: false
|
||||
summaryLength: 75
|
||||
|
||||
defaultContentLanguage: en
|
||||
hasCJKLanguage: false # Set `true` for Chinese/Japanese/Korean.
|
||||
defaultContentLanguageInSubdir: false
|
||||
|
||||
# Uncomment for google analytics
|
||||
# googleAnalytics: UA-123-45
|
||||
|
||||
markup:
|
||||
# Do not modify markup.highlight
|
||||
highlight:
|
||||
codeFences: false
|
||||
noClasses: false
|
||||
tableOfContents:
|
||||
startLevel: 2
|
||||
endLevel: 6
|
||||
ordered: false
|
||||
goldmark:
|
||||
renderer:
|
||||
unsafe: true
|
||||
|
||||
taxonomies:
|
||||
category: categories
|
||||
tag: tags
|
||||
series: series
|
||||
author: authors
|
||||
|
||||
build:
|
||||
useResourceCacheWhen: always
|
||||
12
config/_default/languages.yaml
Normal file
12
config/_default/languages.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
en:
|
||||
languageCode: en
|
||||
languageName: English
|
||||
# Uncomment for multilingual sites, and move the default content into corresponding sub-folder.
|
||||
# contentDir: content/en
|
||||
|
||||
# Uncomment for multilingual sites, and customize the following config.
|
||||
# zh:
|
||||
# languageCode: zh
|
||||
# languageName: 简体中文
|
||||
# contentDir: content/zh
|
||||
# title: 中文标题
|
||||
10
config/_default/menus.yaml
Normal file
10
config/_default/menus.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
main:
|
||||
- name: About
|
||||
url: '#about'
|
||||
weight: 1
|
||||
- name: Posts
|
||||
url: /posts/
|
||||
weight: 2
|
||||
- name: Docs
|
||||
url: /docs/
|
||||
weight: 3
|
||||
81
config/_default/params.yaml
Normal file
81
config/_default/params.yaml
Normal file
@@ -0,0 +1,81 @@
|
||||
mainSections:
|
||||
- posts
|
||||
description: Eureka is a elegant and powerful theme for Hugo.
|
||||
|
||||
repoEditURL:
|
||||
|
||||
dateFormat:
|
||||
|
||||
titleSeparator:
|
||||
|
||||
# Options: auto, light and dark. Default is auto.
|
||||
colorScheme:
|
||||
|
||||
# Colors and fonts. Default style is data/styles/default.yaml/
|
||||
style:
|
||||
|
||||
# E.g. Person, Organization, LocalBusiness, Project, EducationalOrganization
|
||||
siteType: Person
|
||||
icon: images/icon.png
|
||||
publisherName: WANG Chucheng
|
||||
publisherLogo:
|
||||
|
||||
highlight:
|
||||
handler: highlightjs
|
||||
|
||||
highlightjs:
|
||||
# highlight.js doesn't bundle every language. So please specify additional languages you want here.
|
||||
# See https://github.com/highlightjs/cdn-release/tree/main/build/languages for available languages.
|
||||
languages:
|
||||
- dart
|
||||
# See https://github.com/highlightjs/cdn-release/tree/main/build/styles for available styles.
|
||||
style: base16/solarized-light
|
||||
|
||||
math:
|
||||
handler: katex
|
||||
|
||||
# katex:
|
||||
# # Browse https://katex.org/docs/options.html to see the options available.
|
||||
# # KaTeX's Auto-render ignores `displayMode` property of the options, so this property will not work.
|
||||
# # You can list the key and value you want as below.
|
||||
# # Because Hugo's config params are case-insensitive, you need to add `-` or `_` before the uppercase letters.
|
||||
# # For example, `throwOnError` should be written as `throw-On-Error` or other acceptable formats.
|
||||
# leqno:
|
||||
|
||||
comment:
|
||||
# Options: disqus, commento, valine and utterances.
|
||||
handler:
|
||||
|
||||
# disqus:
|
||||
# shortname:
|
||||
|
||||
# utterances:
|
||||
# # Browse https://utteranc.es/ to see the options available.
|
||||
# # If you want the color scheme of utterances to follow eureka's, you can set `theme: eureka`.
|
||||
# repo:
|
||||
# issue-term:
|
||||
# theme:
|
||||
|
||||
# commento:
|
||||
# # If self-hosting, please enter the url (e.g. https://commento.example.com) here. Otherwise leave empty.
|
||||
# url:
|
||||
|
||||
# valine:
|
||||
# # Browse https://valine.js.org/en/configuration.html to see the options available.
|
||||
# # You can list the key and value you want as below.
|
||||
# # Because Hugo's config params are case-insensitive, you need to add `-` or `_` before the uppercase letters.
|
||||
# # For example, `appId` should be written as `app-Id` or other acceptable formats.
|
||||
# app-Id:
|
||||
# app-Key:
|
||||
|
||||
diagram:
|
||||
handler: mermaid
|
||||
|
||||
# mermaid:
|
||||
# # Browse https://mermaid-js.github.io/mermaid/#/Setup to see the options available.
|
||||
# # You can list the key and value you want as below.
|
||||
# # Because Hugo's config params are case-insensitive, you need to add `-` or `_` before the uppercase letters.
|
||||
# # For example, `diagramPadding` should be written as `diagram-Padding` or other acceptable formats.
|
||||
# theme:
|
||||
# flowchart:
|
||||
# diagram-padding:
|
||||
Reference in New Issue
Block a user