Update hugo.toml
This commit is contained in:
parent
e6710a03ae
commit
c3218bf56a
1 changed files with 5 additions and 46 deletions
51
hugo.toml
51
hugo.toml
|
@ -1,28 +1,19 @@
|
||||||
# Basic config
|
|
||||||
baseURL = "https://miraikumiko.com"
|
baseURL = "https://miraikumiko.com"
|
||||||
theme = "hugo-bearcub"
|
theme = "hugo-bearcub"
|
||||||
copyright = "Mirai Kumiko (CC BY 4.0)"
|
#copyright = "Mirai Kumiko (CC BY 4.0)"
|
||||||
defaultContentLanguage = "en"
|
defaultContentLanguage = "en"
|
||||||
enableRobotsTXT = true
|
enableRobotsTXT = true
|
||||||
uglyURLs = true
|
uglyURLs = true
|
||||||
|
|
||||||
# Setup syntax highlighting without inline styles. For more information about
|
|
||||||
# why you'd want to avoid inline styles, see
|
|
||||||
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src#unsafe_inline_styles
|
|
||||||
[markup]
|
[markup]
|
||||||
[markup.highlight]
|
[markup.highlight]
|
||||||
lineNos = true
|
lineNos = true
|
||||||
lineNumbersInTable = false
|
lineNumbersInTable = false
|
||||||
# This allows Bear Cub to use a variation of Dracula that is more accessible
|
|
||||||
# to people with poor eyesight. For more information about color contrast
|
|
||||||
# and accessibility, see https://web.dev/color-and-contrast-accessibility/
|
|
||||||
noClasses = false
|
noClasses = false
|
||||||
[markup.goldmark]
|
[markup.goldmark]
|
||||||
[markup.goldmark.renderer]
|
[markup.goldmark.renderer]
|
||||||
unsafe = true
|
unsafe = true
|
||||||
|
|
||||||
# Multilingual mode config. More for information about how to setup translation,
|
|
||||||
# see https://gohugo.io/content-management/multilingual/
|
|
||||||
[languages]
|
[languages]
|
||||||
[languages.en]
|
[languages.en]
|
||||||
title = "Mirai Kumiko's website"
|
title = "Mirai Kumiko's website"
|
||||||
|
@ -47,50 +38,18 @@ uglyURLs = true
|
||||||
# madeWith = "Персональный сайт"
|
# madeWith = "Персональный сайт"
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
# The description of your website
|
|
||||||
description = "Mirai Kumiko's website"
|
description = "Mirai Kumiko's website"
|
||||||
|
|
||||||
# The path to your favicon
|
|
||||||
favicon = "images/favicon.png"
|
favicon = "images/favicon.png"
|
||||||
|
|
||||||
# These images will show up when services want to generate a preview of a link
|
|
||||||
# to your site. Ignored if `generateSocialCard = true`. For more information
|
|
||||||
# about previews, see https://gohugo.io/templates/internal#twitter-cards and
|
|
||||||
# https://gohugo.io/templates/internal#open-graph
|
|
||||||
images = ["images/share.webp"]
|
images = ["images/share.webp"]
|
||||||
|
|
||||||
# This title is used as the site_name on the Hugo's internal opengraph
|
|
||||||
# structured data template
|
|
||||||
title = "Mirai Kumiko's website"
|
title = "Mirai Kumiko's website"
|
||||||
|
|
||||||
# Dates are displayed following the format below. For more information about
|
|
||||||
# formatting, see https://gohugo.io/functions/format/
|
|
||||||
dateFormat = "2006-01-02"
|
dateFormat = "2006-01-02"
|
||||||
|
|
||||||
# If your blog is multilingual but you haven't translated a page, this theme
|
|
||||||
# will create a disabled link. By setting `hideUntranslated` to true, you can
|
|
||||||
# have the theme simply not show any link
|
|
||||||
hideUntranslated = false
|
hideUntranslated = false
|
||||||
|
|
||||||
# (EXPERIMENTAL) This theme has two options for its CSS styles: "original" and
|
|
||||||
# "herman". The former is what you see on Bear Cub's demo (an optimized
|
|
||||||
# version of Hugo Bear Blog), while the latter has a more modern look based on
|
|
||||||
# Herman Martinus's version of the Blogster Minimal theme for Astro.
|
|
||||||
themeStyle = "original"
|
themeStyle = "original"
|
||||||
|
|
||||||
# (EXPERIMENTAL) This theme is capable of dynamically generating social cards
|
|
||||||
# for posts that don't have `images` defined in their front matter; By setting
|
|
||||||
# `generateSocialCard` to false, you can prevent this behavior. For more
|
|
||||||
# information see layouts/partials/social_card.html
|
|
||||||
generateSocialCard = true
|
generateSocialCard = true
|
||||||
|
|
||||||
# Author metadata. This is mostly used for the RSS feed of your site, but the
|
|
||||||
# email is also added to the footer of each post. You can hide the "reply to"
|
|
||||||
# link by using a `hideReply` param in front matter.
|
|
||||||
[params.author]
|
[params.author]
|
||||||
name = "Mirai Kumiko"
|
name = "Mirai Kumiko"
|
||||||
email = "miraikumiko@disroot.org"
|
email = "miraikumiko@disroot.org"
|
||||||
[params.links]
|
#[params.links]
|
||||||
email = "mailto:miraikumiko@disroot.org"
|
# email = "mailto:miraikumiko@disroot.org"
|
||||||
git = "https://git.miraikumiko.com"
|
# git = "https://git.miraikumiko.com"
|
||||||
misskey = "https://underground.pm/@miraikumiko"
|
# misskey = "https://underground.pm/@miraikumiko"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue