baseurl = "https://davegallant.github.io"
languageCode = "en"
defaultContentLanguage = "en" # en / zh-cn / ... (This field determines which i18n file to use)
title = "Dave Gallant"
enableRobotsTXT = true
enableEmoji = true
theme = "ehlxr"
preserveTaxonomyNames = true
hasCJKLanguage = true # has chinese/japanese/korean?
paginate = 5
googleAnalytics = "UA-98710982-2"
[author] # essential
name = "Dave Gallant"
[sitemap] # essential
changefreq = "weekly"
priority = 0.5
filename = "sitemap.xml"
[[menu.main]]
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 = "3.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 = "2018" # Site creation time # 站点建立时间
# site info (optional) # 站点信息(可选,不需要的可以直接注释掉)
logoTitle = "Dave Gallant" # default: the title value # 默认值: 上面设置的title值
keywords = ["Hugo", "theme","even"]
description = "Dave Gallant's micro-tech blog."
# paginate of archives, tags and categories # 归档、标签、分类每页显示的文章数目,建议修改为一个较大的值
archivePaginate = 5
# show 'xx Posts In Total' in archive page ? # 是否在归档页显示文章的总数
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 = true
# 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
mathjax = false # see https://www.mathjax.org/
mathjaxEnableSingleDollar = false
mathjaxEnableAutoNumber = false
postMetaInFooter = true # contain author, lastMod, markdown link, license # 包含作者,上次修改时间,markdown链接,许可信息
linkToMarkDown = false # Only effective when hugo will output .md files. # 链接到markdown原始文件(仅当允许hugo生成markdown文件时有效)
contentCopyright = '' # e.g. 'CC BY-NC-ND 4.0'
google_verification = "" # Google_Verification
# Link custom CSS and JS assets
# (relative to /static/css and /static/js respectively)
customCSS = []
customJS = []
[params.publicCDN] # load these files from public cdn # 启用公共CDN,需自行定义
enable = false
jquery = ''
slideout = ''
fancyboxJs = ''
fancyboxCss = ''
timeagoJS = ''
timeagoLocalesJS = ''
# 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.social] # 社交链接
a-email = "mailto:dave.gallant@outlook.com"
c-twitter = "https://twitter.com/__dave_g__"
e-linkedin = "https://www.linkedin.com/in/dave-gallant-8523772a"
g-github = "https://github.com/davegallant"
[params.disqus]
name = "https-davegallant-github-io" # disqus_shortname
lazy = false # lazy to load disqus