Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
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"
enableGitInfo = false # use git commit log to generate lastmod record # 鍙牴鎹 Git 涓殑鎻愪氦鐢熸垚鏈杩戞洿鏂拌褰曘
# Syntax highlighting by Chroma. NOTE: Don't enable `highlightInClient` and `chroma` at the same time!
pygmentsOptions = "linenos=table"
pygmentsCodefences = true
pygmentsUseClasses = true
pygmentsCodefencesGuessSyntax = true
hasCJKLanguage = true # has chinese/japanese/korean ? # 鑷姩妫娴嬫槸鍚﹀寘鍚 涓枃\鏃ユ枃\闊╂枃
paginate = 5 # 棣栭〉姣忛〉鏄剧ず鐨勬枃绔犳暟
disqusShortname = "" # disqus_shortname
googleAnalytics = "" # UA-XXXXXXXX-X
copyright = "" # default: author.name 鈫 # 榛樿涓轰笅闈㈤厤缃殑author.name 鈫
[author] # essential # 蹇呴渶
name = "olOwOlo"
[sitemap] # essential # 蹇呴渶
changefreq = "weekly"
priority = 0.5
filename = "sitemap.xml"
[[menu.main]] # config your menu # 閰嶇疆鐩綍
name = "Home"
weight = 10
identifier = "home"
url = "/"
[[menu.main]]
name = "Archives"
weight = 20
identifier = "archives"
url = "/post/"
[[menu.main]]
name = "Tags"
weight = 30
identifier = "tags"
url = "/tags/"
[[menu.main]]
name = "Categories"
weight = 40
identifier = "categories"
url = "/categories/"
[params]
version = "4.x" # Used to give a friendly message when you have an incompatible update
debug = false # If true, load `eruda.min.js`. See https://github.com/liriliri/eruda
since = "2017" # Site creation time # 绔欑偣寤虹珛鏃堕棿
# use public git repo url to link lastmod git commit, enableGitInfo should be true.
# 鎸囧畾 git 浠撳簱鍦板潃锛屽彲浠ョ敓鎴愭寚鍚戞渶杩戞洿鏂扮殑 git commit 鐨勯摼鎺ワ紝闇瑕佸皢 enableGitInfo 璁剧疆鎴 true.
gitRepo = ""
# site info (optional) # 绔欑偣淇℃伅锛堝彲閫夛紝涓嶉渶瑕佺殑鍙互鐩存帴娉ㄩ噴鎺夛級
logoTitle = "Even" # default: the title value # 榛樿鍊: 涓婇潰璁剧疆鐨則itle鍊
keywords = ["Hugo", "theme","even"]
description = "Hugo theme even example site."
# paginate of archives, tags and categories # 褰掓。銆佹爣绛俱佸垎绫绘瘡椤垫樉绀虹殑鏂囩珷鏁扮洰锛屽缓璁慨鏀逛负涓涓緝澶х殑鍊
archivePaginate = 50
# show 'xx Posts In Total' in archive page ? # 鏄惁鍦ㄥ綊妗i〉鏄剧ず鏂囩珷鐨勬绘暟
showArchiveCount = false
# The date format to use; for a list of valid formats, see https://gohugo.io/functions/format/
dateFormatToUse = "2006-01-02"
# show word count and read time ? # 鏄惁鏄剧ず瀛楁暟缁熻涓庨槄璇绘椂闂
moreMeta = false
# Syntax highlighting by highlight.js
highlightInClient = false
# 涓浜涘叏灞寮鍏筹紝浣犱篃鍙互鍦ㄦ瘡涓绡囧唴瀹圭殑 front matter 涓拡瀵瑰崟绡囧唴瀹瑰叧闂垨寮鍚煇浜涘姛鑳斤紝鍦 archetypes/default.md 鏌ョ湅鏇村淇℃伅銆
# Some global options, you can also close or open something in front matter for a single post, see more information from `archetypes/default.md`.
toc = true # 鏄惁寮鍚洰褰
autoCollapseToc = false # Auto expand and collapse toc # 鐩綍鑷姩灞曞紑/鎶樺彔
fancybox = true # see https://github.com/fancyapps/fancybox # 鏄惁鍚敤fancybox锛堝浘鐗囧彲鐐瑰嚮锛
# mathjax
mathjax = false # see https://www.mathjax.org/ # 鏄惁浣跨敤mathjax锛堟暟瀛﹀叕寮忥級
mathjaxEnableSingleDollar = false # 鏄惁浣跨敤 $...$ 鍗冲彲閫茶inline latex娓叉煋
mathjaxEnableAutoNumber = false # 鏄惁浣跨敤鍏紡鑷姩缂栧彿
mathjaxUseLocalFiles = false # You should install mathjax in `your-site/static/lib/mathjax`
postMetaInFooter = true # contain author, lastMod, markdown link, license # 鍖呭惈浣滆咃紝涓婃淇敼鏃堕棿锛宮arkdown閾炬帴锛岃鍙俊鎭
linkToMarkDown = false # Only effective when hugo will output .md files. # 閾炬帴鍒癿arkdown鍘熷鏂囦欢锛堜粎褰撳厑璁竓ugo鐢熸垚markdown鏂囦欢鏃舵湁鏁堬級
contentCopyright = '' # e.g. '<a rel="license noopener" href="https://creativecommons.org/licenses/by-nc-nd/4.0/" target="_blank">CC BY-NC-ND 4.0</a>'
changyanAppid = "" # Changyan app id # 鐣呰█
changyanAppkey = "" # Changyan app key
livereUID = "" # LiveRe UID # 鏉ュ繀鍔
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)
customCSS = []
customJS = []
uglyURLs = false # please keep same with uglyurls setting
# Show language selector for multilingual site.
showLanguageSelector = false
[params.publicCDN] # load these files from public cdn # 鍚敤鍏叡CDN锛岄渶鑷瀹氫箟
enable = true
jquery = '<script src="https://cdn.jsdelivr.net/npm/jquery@3.2.1/dist/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>'
slideout = '<script src="https://cdn.jsdelivr.net/npm/slideout@1.0.1/dist/slideout.min.js" integrity="sha256-t+zJ/g8/KXIJMjSVQdnibt4dlaDxc9zXr/9oNPeWqdg=" crossorigin="anonymous"></script>'
fancyboxJS = '<script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.js" integrity="sha256-XVLffZaxoWfGUEbdzuLi7pwaUJv1cecsQJQqGLe7axY=" crossorigin="anonymous"></script>'
fancyboxCSS = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.css" integrity="sha256-7TyXnr2YU040zfSP+rEcz29ggW4j56/ujTPwjMzyqFY=" crossorigin="anonymous">'
timeagoJS = '<script src="https://cdn.jsdelivr.net/npm/timeago.js@3.0.2/dist/timeago.min.js" integrity="sha256-jwCP0NAdCBloaIWTWHmW4i3snUNMHUNO+jr9rYd2iOI=" crossorigin="anonymous"></script>'
timeagoLocalesJS = '<script src="https://cdn.jsdelivr.net/npm/timeago.js@3.0.2/dist/timeago.locales.min.js" integrity="sha256-ZwofwC1Lf/faQCzN7nZtfijVV6hSwxjQMwXL4gn9qU8=" crossorigin="anonymous"></script>'
flowchartDiagramsJS = '<script src="https://cdn.jsdelivr.net/npm/raphael@2.2.7/raphael.min.js" integrity="sha256-67By+NpOtm9ka1R6xpUefeGOY8kWWHHRAKlvaTJ7ONI=" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/flowchart.js@1.8.0/release/flowchart.min.js" integrity="sha256-zNGWjubXoY6rb5MnmpBNefO0RgoVYfle9p0tvOQM+6k=" crossorigin="anonymous"></script>'
sequenceDiagramsCSS = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/bramp/js-sequence-diagrams@2.0.1/dist/sequence-diagram-min.css" integrity="sha384-6QbLKJMz5dS3adWSeINZe74uSydBGFbnzaAYmp+tKyq60S7H2p6V7g1TysM5lAaF" crossorigin="anonymous">'
sequenceDiagramsJS = '<script src="https://cdn.jsdelivr.net/npm/webfontloader@1.6.28/webfontloader.js" integrity="sha256-4O4pS1SH31ZqrSO2A/2QJTVjTPqVe+jnYgOWUVr7EEc=" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/snapsvg@0.5.1/dist/snap.svg-min.js" integrity="sha256-oI+elz+sIm+jpn8F/qEspKoKveTc5uKeFHNNVexe6d8=" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/underscore@1.8.3/underscore-min.js" integrity="sha256-obZACiHd7gkOk9iIL/pimWMTJ4W/pBsKu+oZnSeBIek=" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/gh/bramp/js-sequence-diagrams@2.0.1/dist/sequence-diagram-min.js" integrity="sha384-8748Vn52gHJYJI0XEuPB2QlPVNUkJlJn9tHqKec6J3q2r9l8fvRxrgn/E5ZHV0sP" crossorigin="anonymous"></script>'
# Display a message at the beginning of an article to warn the readers that it's content may be outdated.
# 鍦ㄦ枃绔犲紑澶存樉绀烘彁绀轰俊鎭紝鎻愰啋璇昏呮枃绔犲唴瀹瑰彲鑳借繃鏃躲
[params.outdatedInfoWarning]
enable = false
hint = 30 # Display hint if the last modified time is more than these days ago. # 濡傛灉鏂囩珷鏈鍚庢洿鏂颁簬杩欏ぉ鏁颁箣鍓嶏紝鏄剧ず鎻愰啋
warn = 180 # Display warning if the last modified time is more than these days ago. # 濡傛灉鏂囩珷鏈鍚庢洿鏂颁簬杩欏ぉ鏁颁箣鍓嶏紝鏄剧ず璀﹀憡
[params.gitment] # Gitment is a comment system based on GitHub issues. see https://github.com/imsun/gitment
owner = "" # Your GitHub ID
repo = "" # The repo to store comments
clientId = "" # Your client ID
clientSecret = "" # Your client secret
[params.utterances] # https://utteranc.es/
owner = "" # Your GitHub ID
repo = "" # The repo to store comments
[params.gitalk] # Gitalk is a comment system based on GitHub issues. see https://github.com/gitalk/gitalk
owner = "" # Your GitHub ID
repo = "" # The repo to store comments
clientId = "" # Your client ID
clientSecret = "" # Your client secret
# Valine.
# You can get your appid and appkey from https://leancloud.cn
# more info please open https://valine.js.org
[params.valine]
enable = false
appId = '浣犵殑appId'
appKey = '浣犵殑appKey'
notify = false # mail notifier , https://github.com/xCss/Valine/wiki
verify = false # Verification code
avatar = 'mm'
placeholder = '璇寸偣浠涔堝惂...'
visitor = false
[params.flowchartDiagrams]# see https://blog.olowolo.com/example-site/post/js-flowchart-diagrams/
enable = false
options = ""
[params.sequenceDiagrams] # see https://blog.olowolo.com/example-site/post/js-sequence-diagrams/
enable = false
options = "" # default: "{theme: 'simple'}"
[params.busuanzi] # count web traffic by busuanzi # 鏄惁浣跨敤涓嶈挏瀛愮粺璁$珯鐐硅闂噺
enable = false
siteUV = true
sitePV = true
pagePV = true
[params.reward] # 鏂囩珷鎵撹祻
enable = false
wechat = "/path/to/your/wechat-qr-code.png" # 寰俊浜岀淮鐮
alipay = "/path/to/your/alipay-qr-code.png" # 鏀粯瀹濅簩缁寸爜
[params.social] # 绀句氦閾炬帴
a-email = "mailto:your@email.com"
b-stack-overflow = "http://localhost:1313"
c-twitter = "http://localhost:1313"
d-facebook = "http://localhost:1313"
e-linkedin = "http://localhost:1313"
f-google = "http://localhost:1313"
g-github = "http://localhost:1313"
h-weibo = "http://localhost:1313"
i-zhihu = "http://localhost:1313"
j-douban = "http://localhost:1313"
k-pocket = "http://localhost:1313"
l-tumblr = "http://localhost:1313"
m-instagram = "http://localhost:1313"
n-gitlab = "http://localhost:1313"
o-bilibili = "http://localhost:1313"
# See https://gohugo.io/about/hugo-and-gdpr/
[privacy]
[privacy.googleAnalytics]
anonymizeIP = true # 12.214.31.144 -> 12.214.31.0
[privacy.youtube]
privacyEnhanced = true
# see https://gohugo.io/getting-started/configuration-markup
[markup]
[markup.tableOfContents]
startLevel = 1
[markup.goldmark.renderer]
unsafe = true
# 灏嗕笅闈㈣繖娈甸厤缃彇娑堟敞閲婂彲浠ヤ娇 hugo 鐢熸垚 .md 鏂囦欢
# Uncomment these options to make hugo output .md files.
#[mediaTypes]
# [mediaTypes."text/plain"]
# suffixes = ["md"]
#
#[outputFormats.MarkDown]
# mediaType = "text/plain"
# isPlainText = true
# isHTML = false
#
#[outputs]
# home = ["HTML", "RSS"]
# page = ["HTML", "MarkDown"]
# section = ["HTML", "RSS"]
# taxonomy = ["HTML", "RSS"]
# taxonomyTerm = ["HTML"]