blog/config/_default/config.toml

568 lines
17 KiB
TOML
Raw Normal View History

2021-06-30 12:23:47 +00:00
baseURL = "https://blog.kazu634.com/"
2021-11-13 03:11:49 +00:00
# [en, zh-cn, fr, ...] determines default content language
defaultContentLanguage = "en"
# language code
languageCode = "jp"
2023-08-11 03:49:56 +00:00
hasCJKLanguage = true
title = "His greatness lies in his sense of responsibilities"
2021-11-13 03:11:49 +00:00
# Change the default theme to be use when building the site with Hugo
2022-12-01 12:43:08 +00:00
theme = "DoIt"
2021-11-13 03:11:49 +00:00
2019-03-31 11:00:21 +00:00
[params]
# DoIt theme version
2021-11-13 03:11:49 +00:00
version = "0.2.X"
# website title
title = "His greatness lies in his sense of responsibilities"
2021-11-13 03:11:49 +00:00
# site description
description = "@kazu634のブログです"
# site keywords
keywords = ["Tech", "Hugo"]
# site default theme ("light", "dark", "black", "auto")
2021-11-13 03:11:49 +00:00
defaultTheme = "auto"
# public git repo url only then enableGitInfo is true
gitRepo = "https://gitea.kazu634.com/kazu634/blog.git"
# which hash function used for SRI, when empty, no SRI is used
# ("sha256", "sha384", "sha512", "md5")
fingerprint = ""
# date format
2021-11-13 03:11:49 +00:00
dateFormat = "2006-01-02"
# website images for Open Graph and Twitter Cards
images = ["/images/profile.png"]
# enable PWA support
enablePWA = false
# App icon config
# License information
license = '<a rel="license external nofollow noopener noreffer" href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank">CC BY-NC 4.0</a>'
[params.app]
# optional site title override for the app when added to an iOS home screen or Android launcher
title = "@kazu634 Blog"
# whether to omit favicon resource links
noFavicon = false
# modern SVG favicon to use in place of older style .png and .ico files
svgFavicon = ""
# Safari mask icon color
iconColor = "#5bbad5"
# Windows v8-10 tile color
tileColor = "#da532c"
2021-11-13 03:11:49 +00:00
# Search config
[params.search]
enable = true
# type of search engine ("lunr", "algolia", "fuse")
type = "fuse"
# max index length of the chunked content
contentLength = 4000
# placeholder of the search bar
placeholder = ""
# max number of results length
maxResultLength = 10
# snippet length of the result
snippetLength = 30
# HTML tag name of the highlight part in results
highlightTag = "em"
# whether to use the absolute URL based on the baseURL in search index
absoluteURL = false
[params.search.fuse]
# https://fusejs.io/api/options.html
isCaseSensitive = false
minMatchCharLength = 2
findAllMatches = false
location = 0
threshold = 0.3
distance = 100
ignoreLocation = false
useExtendedSearch = false
ignoreFieldNorm = false
2021-11-13 03:11:49 +00:00
# Header config
[params.header]
# desktop header mode ("fixed", "normal", "auto")
desktopMode = "fixed"
# mobile header mode ("fixed", "normal", "auto")
mobileMode = "auto"
# Theme change mode
# theme change mode ("switch", "select")
themeChangeMode = "select"
# Header title config
2021-11-13 03:11:49 +00:00
[params.header.title]
# URL of the LOGO
logo = ""
2021-11-13 03:11:49 +00:00
# title name
name = "His greatness lies in his sense of responsibilities."
2021-11-13 03:11:49 +00:00
# you can add extra information before the name (HTML format is supported), such as icons
pre = ""
# you can add extra information after the name (HTML format is supported), such as icons
post = ""
# whether to use typeit animation for title name
2021-11-13 03:11:49 +00:00
typeit = false
# Footer config
[params.footer]
enable = true
# Custom content (HTML format is supported)
custom = ''
# whether to show Hugo and theme info
hugo = true
# Hosted on (HTML format is supported)
# <a title="Github Pages" href="https://docs.github.com/en/pages/" target="_blank" rel="noopener noreffer">GitHub Pages</a>
hostedOn = ''
# whether to show copyright info
copyright = true
# whether to show the author
author = true
# Site creation time
since = 2005
# ICP info only in China (HTML format is supported)
icp = ""
# license info (HTML format is supported)
license = '<a rel="license external nofollow noopener noreffer" href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank">CC BY-NC 4.0</a>'
2021-11-13 03:11:49 +00:00
# Section (all posts) page config
[params.section]
# special amount of posts in each section page
paginate = 20
# date format (month and day)
dateFormat = "01-02"
# amount of RSS pages
rss = 10
# recently updated posts settings
[params.section.recentlyUpdated]
enable = false
rss = false
days = 30
maxCount = 10
2021-11-13 03:11:49 +00:00
# List (category or tag) page config
[params.list]
# special amount of posts in each list page
paginate = 20
# date format (month and day)
dateFormat = "01-02"
# amount of RSS pages
rss = 10
2021-11-13 03:11:49 +00:00
# Home page config
[params.home]
# amount of RSS pages
rss = 10
# Home page profile
[params.home.profile]
enable = true
# Gravatar Email for preferred avatar in home page
gravatarEmail = ""
# URL of avatar shown in home page
# Place your avatar file under static or assets directory
# The filepath is relative to the static or assets directory
avatarURL = "/images/profile.png"
# title shown in home page (HTML format is supported)
title = "Kazuhiro Musashi"
# subtitle shown in home page
subtitle = "ITエンジニアです。本当は手を動かしたいけど、いまはプレセールスをしています"
# whether to use typeit animation for subtitle
typeit = true
# whether to show social links
social = true
# disclaimer (HTML format is supported)
disclaimer = "Opinions are my own."
# Home page posts
[params.home.posts]
enable = true
# special amount of posts in each home posts page
paginate = 6
# replaced with hiddenFromHomePage in params.page
# default behavior when you don't set "hiddenFromHomePage" in front matter
defaultHiddenFromHomePage = false
2021-11-13 03:11:49 +00:00
# Social config about the author
[params.social]
RSS = true #
[params.social.Twitter]
weight = 1
id = "MusashiKazuhiro"
2022-12-01 14:15:09 +00:00
[params.social.Mastodon]
# weight when arranging icons (the greater the weight, the later the icon is positioned)
weight = 2
2022-12-01 14:15:09 +00:00
# your social ID
id = "@kazu634"
# prefix of your social link
prefix = "https://mstdn.guru/"
# content hovering on the icon
title = "Mastodon"
[params.social.Facebook]
# weight when arranging icons (the greater the weight, the later the icon is positioned)
weight = 3
# your social ID
id = "kazu634"
[params.social.Linkedin]
# weight when arranging icons (the greater the weight, the later the icon is positioned)
weight = 4
# your social ID
id = "一弘-武蔵-b90bba54"
[params.social.Github]
# weight when arranging icons (the greater the weight, the later the icon is positioned)
weight = 5
# your social ID
id = "kazu634"
[params.social.Gitea]
# weight when arranging icons (the greater the weight, the later the icon is positioned)
weight = 6
# your social ID
id = "https://gitea.kazu634.com/kazu634"
[params.social.Foursquare]
# weight when arranging icons (the greater the weight, the later the icon is positioned)
weight = 7
# your social ID
id = "musashikazuhiro"
[params.social.Strava]
# weight when arranging icons (the greater the weight, the later the icon is positioned)
weight = 8
# your social ID
id = "89291248"
[params.social.Flickr]
# weight when arranging icons (the greater the weight, the later the icon is positioned)
weight = 9
# your social ID
id = "42332031@N02"
[params.social.Youtubechannel]
# weight when arranging icons (the greater the weight, the later the icon is positioned)
weight = 10
# your social ID
id = "UC1acPRvMPda9eL1JqlO-_rA"
# Page config
2021-11-13 03:11:49 +00:00
[params.page]
# whether to hide a page from home page
2021-11-13 03:11:49 +00:00
hiddenFromHomePage = false
# whether to hide a page from search results
2021-11-13 03:11:49 +00:00
hiddenFromSearch = false
# whether to enable twemoji
2021-11-13 03:11:49 +00:00
twemoji = true
# whether to enable lightgallery
lightgallery = true
# whether to enable the ruby extended syntax
2021-11-13 03:11:49 +00:00
ruby = true
# whether to enable the fraction extended syntax
2021-11-13 03:11:49 +00:00
fraction = true
# whether to enable the fontawesome extended syntax
2021-11-13 03:11:49 +00:00
fontawesome = true
# whether to show link to Raw Markdown content of the content
linkToMarkdown = false
# configure the link to the source file of the post
2022-12-01 14:15:09 +00:00
linkToSource = false
# "https://github.com/user/repo/blob/main/{path}"
# configure the link to edit the post
2022-12-01 14:15:09 +00:00
linkToEdit = false
# "https://github.com/user/repo/edit/main/{path}"
# "https://gitlab.com/user/repo/-/edit/main/{path}"
# "https://bitbucket.org/user/repo/src/main/{path}?mode=edit"
# configure the link to report issue for the post
2022-12-01 14:15:09 +00:00
linkToReport = false
# "https://github.com/user/repo/issues/new?title=[bug]%20{title}&body=|Field|Value|%0A|-|-|%0A|Title|{title}|%0A|Url|{url}|%0A|Filename|https://github.com/user/repo/blob/main/{path}|"
# whether to show the full text content in RSS
2021-11-13 03:11:49 +00:00
rssFullText = false
# page layout style ("normal", "wide")
2022-12-01 14:15:09 +00:00
pageStyle = "wide"
# whether to enable series navigation
2022-12-01 14:15:09 +00:00
seriesNavigation = true
# outdated article reminder config
2022-12-01 14:15:09 +00:00
[params.page.outdatedArticleReminder]
enable = false
# Display the reminder if the last modified time is more than 90 days ago.
reminder = 90
# Display warning if the last modified time is more than 180 days ago.
warning = 180
# Table of the contents config
2021-11-13 03:11:49 +00:00
[params.page.toc]
# whether to enable the table of the contents
enable = true
# whether to keep the static table of the contents in front of the post
keepStatic = true
2021-11-13 03:11:49 +00:00
# whether to make the table of the contents in the sidebar automatically collapsed
auto = true
# KaTeX mathematical formulas
2021-11-13 03:11:49 +00:00
[params.page.math]
enable = true
# default block delimiter is $$ ... $$ and \\[ ... \\]
blockLeftDelimiter = ""
blockRightDelimiter = ""
# default inline delimiter is $ ... $ and \\( ... \\)
inlineLeftDelimiter = ""
inlineRightDelimiter = ""
# KaTeX extension copy_tex
copyTex = true
# KaTeX extension mhchem
mhchem = true
# Code config
2021-11-13 03:11:49 +00:00
[params.page.code]
# whether to show the copy button of the code block
copy = true
# the maximum number of lines of displayed code by default
maxShownLines = 10
# Table config
[params.page.table]
# whether to enable sorting in the tables
sort = true
# Mapbox GL JS config
2021-11-13 03:11:49 +00:00
[params.page.mapbox]
# access token of Mapbox GL JS
accessToken = "pk.eyJ1Ijoia2F6dTYzNCIsImEiOiJja3drcGt4MWUxaHp2MzFwYm9iMTE5MXNxIn0.wqNoFnA8BDNNRhxFuvB_xw"
2021-11-13 03:11:49 +00:00
# style for the light theme
lightStyle = "mapbox://styles/mapbox/light-v9"
# style for the dark theme
darkStyle = "mapbox://styles/mapbox/dark-v9"
# whether to add NavigationControl
navigation = true
# whether to add GeolocateControl
geolocate = true
# whether to add ScaleControl
scale = true
# whether to add FullscreenControl
fullscreen = true
# social share links in post page
2021-11-13 03:11:49 +00:00
[params.page.share]
enable = true
Twitter = true
Facebook = true
Whatsapp = true
2021-11-13 03:11:49 +00:00
Line = true
Pocket = true
Trello = true
# Comment config
[params.page.comment]
2024-07-20 02:17:47 +00:00
enable = false
# Disqus comment config
[params.page.comment.disqus]
#
2024-07-20 02:17:47 +00:00
enable = false
# Disqus shortname to use Disqus in posts
shortname = "blog-kazu634"
# Third-party library config
[params.page.library]
[params.page.library.css]
# someCSS = "some.css"
# Enhance third-party library config
# [params.page.library.css.someOtherCSS]
# src = "someOther.css"
# defer = true
# attr = "customAttribute"
# located in "assets/"
# Or
# someCSS = "https://cdn.example.com/some.css"
[params.page.library.js]
# someJavaScript = "some.js"
# Enhance third-party library config
# [params.page.library.js.someOtherJavaScript]
# src = "someOther.js"
# defer = false
# async = true
# attr = "customAttribute"
# located in "assets/"
# Or
# someJavaScript = "https://cdn.example.com/some.js"
# Page SEO config
[params.page.seo]
# image URL
images = []
# Publisher info
[params.page.seo.publisher]
name = ""
logoUrl = ""
# Related content config
[params.page.related]
enable = false
count = 5
2021-11-13 03:11:49 +00:00
# Sponsor config
[params.sponsor]
enable = false
bio = "If you find this post helpful, please consider sponsoring."
link = "https://www.buymeacoffee.com" # The link to your sponsor page
custom = "" # Custom HTML button
# TypeIt config
[params.typeit]
# typing speed between each step (measured in milliseconds)
speed = 100
# blinking speed of the cursor (measured in milliseconds)
cursorSpeed = 1000
# character used for the cursor (HTML format is supported)
cursorChar = "|"
# cursor duration after typing finishing (measured in milliseconds, "-1" means unlimited)
duration = -1
# Site verification code config for Google/Bing/Yandex/Pinterest/Baidu
[params.verification]
google = ""
bing = ""
yandex = ""
pinterest = ""
baidu = ""
so = "" # 360 search
sogou = ""
# Site SEO config
[params.seo]
# image URL
image = ""
# thumbnail URL
thumbnailUrl = ""
# Analytics config
2021-11-13 03:11:49 +00:00
[params.analytics]
enable = true
# Google Analytics
[params.analytics.google]
id = "UA-57665492-1"
# whether to anonymize IP
anonymizeIP = true
# Cookie consent config
[params.cookieconsent]
enable = false
# text strings used for Cookie consent banner
[params.cookieconsent.content]
message = ""
dismiss = ""
link = ""
# CDN config for third-party library files
[params.cdn]
# CDN data file name, disabled by default
# ("jsdelivr.yml")
# located in "themes/DoIt/assets/data/cdn/" directory
# you can store your own data files in the same path under your project:
# "assets/data/cdn/"
data = ""
# Compatibility config
[params.compatibility]
# whether to use Polyfill.io to be compatible with older browsers
polyfill = false
# whether to use object-fit-images to be compatible with older browsers
objectFit = false
# Markup related config in Hugo
[markup]
# Syntax Highlighting
[markup.highlight]
codeFences = true
guessSyntax = true
lineNos = true
lineNumbersInTable = true
# false is a necessary configuration
# (https://github.com/dillonzq/LoveIt/issues/158)
noClasses = false
# Goldmark is from Hugo 0.60 the default library used for Markdown
[markup.goldmark]
[markup.goldmark.extensions]
definitionList = true
footnote = true
linkify = true
strikethrough = true
table = true
taskList = true
typographer = true
[markup.goldmark.renderer]
# whether to use HTML tags directly in the document
unsafe = true
# Table Of Contents settings
[markup.tableOfContents]
startLevel = 2
endLevel = 6
# Author config
[author]
name = "kazu634"
email = "simoom634@yahoo.co.jp"
link = ""
avatar = ""
gravatarEmail = ""
# Sitemap config
[sitemap]
changefreq = "weekly"
filename = "sitemap.xml"
priority = 0.5
# Permalinks config
[Permalinks]
2022-12-07 13:00:50 +00:00
# posts = ":year/:filename"
# Privacy config
[privacy]
# privacy of the Google Analytics (replaced by params.analytics.google)
[privacy.googleAnalytics]
# ...
[privacy.twitter]
enableDNT = true
[privacy.youtube]
privacyEnhanced = true
# Options to make output .md files
[mediaTypes]
[mediaTypes."text/plain"]
suffixes = ["md"]
# Options to make output .md files
[outputFormats.MarkDown]
mediaType = "text/plain"
isPlainText = true
isHTML = false
# Options to make hugo output files
[outputs]
#
home = ["HTML", "RSS", "JSON"]
page = ["HTML", "MarkDown"]
section = ["HTML", "RSS"]
taxonomy = ["HTML", "RSS"]
taxonomyTerm = ["HTML"]
# Options for taxonomies
[taxonomies]
author = "authors"
category = "categories"
tag = "tags"
series = "series"
2021-11-13 03:11:49 +00:00
[menu]
[[menu.main]]
identifier = "posts"
# you can add extra information before the name (HTML format is supported), such as icons
pre = ""
# you can add extra information after the name (HTML format is supported), such as icons
post = ""
name = "Posts"
url = "/posts/"
2021-11-13 03:11:49 +00:00
# title will be shown when you hover on this menu link
title = ""
weight = 1
[[menu.main]]
identifier = "photos"
# you can add extra information before the name (HTML format is supported), such as icons
pre = ""
# you can add extra information after the name (HTML format is supported), such as icons
post = ""
name = "Photos"
url = "/photos/"
# title will be shown when you hover on this menu link
title = ""
weight = 2
2021-11-13 03:11:49 +00:00
[[menu.main]]
identifier = "tags"
pre = ""
post = ""
name = "Tags"
url = "/tags/"
title = ""
weight = 3
2021-11-13 03:11:49 +00:00
[[menu.main]]
identifier = "categories"
pre = ""
post = ""
name = "Categories"
url = "/categories/"
title = ""
weight = 4