blog/config/_default/config.toml

308 lines
10 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"
title = "His greatness lies in his sense of responsibilities."
# 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
# Author config
[author]
name = "kazu634"
email = "simoom634@yahoo.co.jp"
link = ""
2019-03-31 11:00:21 +00:00
[params]
2021-11-13 03:11:49 +00:00
author = "kazu634"
# LoveIt theme version
version = "0.2.X"
# site description
description = "@kazu634のブログです"
# site keywords
keywords = ["Blog", "Hugo", "Tech"]
# site default theme ("light", "dark", "auto")
defaultTheme = "auto"
# LoveIt NEW | 0.2.0 date format
dateFormat = "2006-01-02"
[params.page.seo]
# image URL
images = []
# Publisher info
[params.page.seo.publisher]
name = "kazu634"
logoUrl = ""
# Header config
[params.header]
# desktop header mode ("fixed", "normal", "auto")
desktopMode = "fixed"
# mobile header mode ("fixed", "normal", "auto")
mobileMode = "auto"
# LoveIt NEW | 0.2.0 Header title config
[params.header.title]
# title name
name = "His greatness lies in his sense of responsibilities"
# 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 = ""
# LoveIt NEW | 0.2.5 whether to use typeit animation for title name
typeit = false
[params.footer]
enable = true
# LoveIt NEW | 0.2.0 Custom content (HTML format is supported)
custom = ''
# LoveIt NEW | 0.2.0 whether to show Hugo and theme info
hugo = true
# LoveIt NEW | 0.2.0 whether to show copyright info
copyright = true
# LoveIt NEW | 0.2.0 whether to show the author
author = true
# Site creation time
since = 2005
# LoveIt NEW | 0.2.0 Section (all posts) page config
[params.section]
# special amount of posts in each section page
paginate = 15
# date format (month and day)
dateFormat = "01-02"
# amount of RSS pages
rss = 10
# LoveIt NEW | 0.2.0 List (category or tag) page config
[params.list]
# special amount of posts in each list page
paginate = 15
# date format (month and day)
dateFormat = "01-02"
# amount of RSS pages
rss = 10
# Home page config
[params.home]
# LoveIt NEW | 0.2.0 amount of RSS pages
rss = 10
# Home page profile
[params.home.profile]
enable = true
# URL of avatar shown in home page
avatarURL = "/images/profile.png"
# LoveIt CHANGED | 0.2.7 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
# LoveIt NEW | 0.2.0 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 = 5
# LoveIt DELETED | 0.2.0 replaced with hiddenFromHomePage in params.page
# default behavior when you don't set "hiddenFromHomePage" in front matter
defaultHiddenFromHomePage = false
# Social config about the author
[params.social]
Gitea = "https://gitea.kazu634.com/kazu634"
2022-11-20 11:17:18 +00:00
Github = "kazu634"
Foursquare = "musashikazuhiro"
Strava = "89291248"
2021-11-13 03:11:49 +00:00
Twitter = "MusashiKazuhiro"
Facebook = "kazu634"
Linkedin = "一弘-武蔵-b90bba54"
Flickr = "42332031@N02"
2022-12-01 14:15:09 +00:00
Youtubechannel = "UC1acPRvMPda9eL1JqlO-_rA"
2021-11-13 03:11:49 +00:00
RSS = true # LoveIt NEW | 0.2.0
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 = 4
# your social ID
id = "@kazu634"
# prefix of your social link
prefix = "https://mstdn.guru/"
# content hovering on the icon
title = "Mastodon"
2021-11-13 03:11:49 +00:00
[params.page]
2022-12-01 14:15:09 +00:00
# DoIt NEW | 0.2.0 whether to hide a page from home page
2021-11-13 03:11:49 +00:00
hiddenFromHomePage = false
2022-12-01 14:15:09 +00:00
# DoIt NEW | 0.2.0 whether to hide a page from search results
2021-11-13 03:11:49 +00:00
hiddenFromSearch = false
2022-12-01 14:15:09 +00:00
# DoIt NEW | 0.2.0 whether to enable twemoji
2021-11-13 03:11:49 +00:00
twemoji = true
# whether to enable lightgallery
lightgallery = true
2022-12-01 14:15:09 +00:00
# DoIt NEW | 0.2.0 whether to enable the ruby extended syntax
2021-11-13 03:11:49 +00:00
ruby = true
2022-12-01 14:15:09 +00:00
# DoIt NEW | 0.2.0 whether to enable the fraction extended syntax
2021-11-13 03:11:49 +00:00
fraction = true
2022-12-01 14:15:09 +00:00
# DoIt NEW | 0.2.0 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 = true
2022-12-01 14:15:09 +00:00
# DoIt NEW | 0.2.14 configure the link to the source file of the post
linkToSource = false
# "https://github.com/user/repo/blob/main/{path}"
# DoIt NEW | 0.2.13 configure the link to edit the post
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"
# DoIt NEW | 0.2.14 configure the link to report issue for the post
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}|"
# DoIt NEW | 0.2.4 whether to show the full text content in RSS
2021-11-13 03:11:49 +00:00
rssFullText = false
2022-12-01 14:15:09 +00:00
# DoIt NEW | 0.2.11 page layout style ("normal", "wide")
pageStyle = "wide"
# DoIt NEW | 0.2.13 whether to enable series navigation
seriesNavigation = true
# DoIt NEW | 0.2.13 outdated article reminder config
[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
# DoIt NEW | 0.2.0 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
2022-12-01 14:15:09 +00:00
# DoIt NEW | 0.2.9 whether to keep the static table of the contents in front of the post
2021-11-13 03:11:49 +00:00
keepStatic = false
# whether to make the table of the contents in the sidebar automatically collapsed
auto = true
2022-12-01 14:15:09 +00:00
# DoIt CHANGED | 0.2.0 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
# LoveIt NEW | 0.2.0 Code config
[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
# LoveIt NEW | 0.2.0 Mapbox GL JS config
[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
# LoveIt CHANGED | 0.2.0 social share links in post page
[params.page.share]
enable = true
Twitter = true
Facebook = true
Line = true
Pocket = true
# LoveIt NEW | 0.2.0 Analytics config
[params.analytics]
enable = true
# Google Analytics
[params.analytics.google]
id = "UA-57665492-1"
# whether to anonymize IP
anonymizeIP = true
[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/"
# 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
[markup]
2021-11-13 03:11:49 +00:00
# Syntax Highlighting (https://gohugo.io/content-management/syntax-highlighting)
2020-05-01 05:53:16 +00:00
[markup.highlight]
codeFences = true
guessSyntax = true
2021-11-13 03:11:49 +00:00
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]
2021-11-13 03:11:49 +00:00
[markup.goldmark.extensions]
definitionList = true
footnote = true
linkify = true
strikethrough = true
table = true
taskList = true
typographer = true
[markup.goldmark.renderer]
2021-11-13 03:11:49 +00:00
# whether to use HTML tags directly in the document
unsafe = true
# Table Of Contents settings
[markup.tableOfContents]
startLevel = 2
endLevel = 6