-
Notifications
You must be signed in to change notification settings - Fork 735
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(param): camelcase for parameter names
BREAKING CHANGE: Rename parameter names. | origin | now | | :------: |:--------:| | fancyboxJ**s** | fancyboxJ**S** | | fancyboxC**ss**| fancyboxC**SS**| | baidu_push | baidu**P**ush | | baidu_analytics | baidu**A**nalytics | | baidu_verification | baidu**V**erification | | google_verification | google**V**erification |
- Loading branch information
Showing
4 changed files
with
39 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,11 @@ baseURL = "http://localhost:1313/" | |
languageCode = "en" | ||
defaultContentLanguage = "en" # en / zh-cn / ... (This field determines which i18n file to use) | ||
title = "Even - A super concise theme for Hugo" | ||
preserveTaxonomyNames = true | ||
enableRobotsTXT = true | ||
enableEmoji = true | ||
theme = "even" | ||
|
||
preserveTaxonomyNames = true | ||
hasCJKLanguage = true # has chinese/japanese/korean ? # 自动检测是否包含 中文\日文\韩文 | ||
paginate = 5 # 首页每页显示的文章数 | ||
disqusShortname = "" # disqus_shortname | ||
|
@@ -83,11 +83,13 @@ copyright = "" # default: author.name ↓ # 默认为下面配 | |
|
||
changyanAppid = "" # Changyan app id # 畅言 | ||
changyanAppkey = "" # Changyan app key | ||
|
||
livereUID = "" # LiveRe UID # 来必力 | ||
baidu_push = false # baidu push # 百度 | ||
baidu_analytics = "" # Baidu Analytics | ||
baidu_verification = "" # Baidu Verification | ||
google_verification = "" # Google_Verification # 谷歌 | ||
|
||
baiduPush = false # baidu push # 百度 | ||
baiduAnalytics = "" # Baidu Analytics | ||
baiduVerification = "" # Baidu Verification | ||
googleVerification = "" # Google Verification # 谷歌 | ||
|
||
# Link custom CSS and JS assets | ||
# (relative to /static/css and /static/js respectively) | ||
|
@@ -98,17 +100,18 @@ copyright = "" # default: author.name ↓ # 默认为下面配 | |
enable = false | ||
jquery = '<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>' | ||
slideout = '<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/slideout.min.js" integrity="sha256-t+zJ/g8/KXIJMjSVQdnibt4dlaDxc9zXr/9oNPeWqdg=" crossorigin="anonymous"></script>' | ||
fancyboxJs = '<script src="https://cdn.jsdelivr.net/npm/@fancyapps/[email protected]/dist/jquery.fancybox.min.js" integrity="sha256-XVLffZaxoWfGUEbdzuLi7pwaUJv1cecsQJQqGLe7axY=" crossorigin="anonymous"></script>' | ||
fancyboxCss = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/[email protected]/dist/jquery.fancybox.min.css" integrity="sha256-7TyXnr2YU040zfSP+rEcz29ggW4j56/ujTPwjMzyqFY=" crossorigin="anonymous">' | ||
gitmentJS = '<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gitment.browser.min.js" crossorigin="anonymous"></script>' | ||
gitmentCSS = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/style/default.min.css" crossorigin="anonymous">' | ||
gitalkJS = '<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gitalk.min.js" integrity="sha256-DcjhdbufsHMHflFjZtKNFnPKOAL2ybOxGcPOR4MtnJg=" crossorigin="anonymous"></script>' | ||
gitalkCSS = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/gitalk.css" integrity="sha256-rJVe5uyYRXdLM+Kkoj7JtN+9qI0bZTxkYTaNWODpg7U=" crossorigin="anonymous">' | ||
fancyboxJS = '<script src="https://cdn.jsdelivr.net/npm/@fancyapps/[email protected]/dist/jquery.fancybox.min.js" integrity="sha256-XVLffZaxoWfGUEbdzuLi7pwaUJv1cecsQJQqGLe7axY=" crossorigin="anonymous"></script>' | ||
fancyboxCSS = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/[email protected]/dist/jquery.fancybox.min.css" integrity="sha256-7TyXnr2YU040zfSP+rEcz29ggW4j56/ujTPwjMzyqFY=" crossorigin="anonymous">' | ||
timeagoJS = '<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/timeago.min.js" integrity="sha256-jwCP0NAdCBloaIWTWHmW4i3snUNMHUNO+jr9rYd2iOI=" crossorigin="anonymous"></script>' | ||
timeagoLocalesJS = '<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/timeago.locales.min.js" integrity="sha256-ZwofwC1Lf/faQCzN7nZtfijVV6hSwxjQMwXL4gn9qU8=" crossorigin="anonymous"></script>' | ||
flowchartDiagramsJS = '<script src="https://cdn.jsdelivr.net/npm/[email protected]/raphael.min.js" integrity="sha256-67By+NpOtm9ka1R6xpUefeGOY8kWWHHRAKlvaTJ7ONI=" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/[email protected]/release/flowchart.min.js" integrity="sha256-zNGWjubXoY6rb5MnmpBNefO0RgoVYfle9p0tvOQM+6k=" crossorigin="anonymous"></script>' | ||
sequenceDiagramsCSS = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/bramp/[email protected]/dist/sequence-diagram-min.css" integrity="sha384-6QbLKJMz5dS3adWSeINZe74uSydBGFbnzaAYmp+tKyq60S7H2p6V7g1TysM5lAaF" crossorigin="anonymous">' | ||
sequenceDiagramsJS = '<script src="https://cdn.jsdelivr.net/npm/[email protected]/webfontloader.js" integrity="sha256-4O4pS1SH31ZqrSO2A/2QJTVjTPqVe+jnYgOWUVr7EEc=" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/snap.svg-min.js" integrity="sha256-oI+elz+sIm+jpn8F/qEspKoKveTc5uKeFHNNVexe6d8=" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/[email protected]/underscore-min.js" integrity="sha256-obZACiHd7gkOk9iIL/pimWMTJ4W/pBsKu+oZnSeBIek=" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/gh/bramp/[email protected]/dist/sequence-diagram-min.js" integrity="sha384-8748Vn52gHJYJI0XEuPB2QlPVNUkJlJn9tHqKec6J3q2r9l8fvRxrgn/E5ZHV0sP" crossorigin="anonymous"></script>' | ||
# comment | ||
gitmentJS = '<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gitment.browser.min.js" crossorigin="anonymous"></script>' | ||
gitmentCSS = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/style/default.min.css" crossorigin="anonymous">' | ||
gitalkJS = '<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gitalk.min.js" integrity="sha256-DcjhdbufsHMHflFjZtKNFnPKOAL2ybOxGcPOR4MtnJg=" crossorigin="anonymous"></script>' | ||
gitalkCSS = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/gitalk.css" integrity="sha256-rJVe5uyYRXdLM+Kkoj7JtN+9qI0bZTxkYTaNWODpg7U=" crossorigin="anonymous">' | ||
|
||
# Display a message at the beginning of an article to warn the readers that it's content may be outdated. | ||
# 在文章开头显示提示信息,提醒读者文章内容可能过时。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters