hugo-bearcub/exampleSite/config.toml

71 lines
2.6 KiB
TOML
Raw Normal View History

2023-02-10 17:58:47 -03:00
# Basic config
2020-08-31 15:40:11 +02:00
baseURL = "https://example.com"
2023-02-09 16:56:09 -03:00
theme = "hugo-bearcub"
2023-02-09 17:51:22 -03:00
author = "John Doe"
2023-02-10 17:13:02 -03:00
copyright = "John Doe (CC BY 4.0)"
2020-08-31 15:40:11 +02:00
2023-02-10 17:40:02 -03:00
# Generate a nice robots.txt for SEO
enableRobotsTXT = true
2023-02-10 17:58:47 -03:00
# 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
2023-02-09 16:56:09 -03:00
[markup]
[markup.highlight]
lineNos = true
lineNumbersInTable = false
2023-02-10 17:32:44 -03:00
# This allows Bear Cub to use a variation of Dracula that is more accessible
2023-02-10 17:58:47 -03:00
# to people with poor eyesight. For more information about color contrast
# and accessibility, see https://web.dev/color-and-contrast-accessibility/
2023-02-09 16:56:09 -03:00
noClasses = false
2020-08-31 15:40:11 +02:00
2023-02-10 17:58:47 -03:00
# Multilingual mode config. More for information about how to setup translation,
# see https://gohugo.io/content-management/multilingual/
2023-02-09 17:17:51 -03:00
DefaultContentLanguage = "en"
2023-02-09 16:56:09 -03:00
[languages]
[languages.en]
title = "Example Site"
languageName = "English 🇺🇸"
2023-02-09 17:51:22 -03:00
LanguageCode = "en-US"
2023-02-09 16:56:09 -03:00
contentDir = "content"
[languages.en.params]
2023-02-10 17:58:47 -03:00
blogPath = "/blog" # Path to your blog section (used by RSS)
2023-02-09 17:54:15 -03:00
madeWith = "Made with [Bear Cub](https://github.com/clente/hugo-bearcub)"
2023-02-09 16:56:09 -03:00
[languages.pt]
title = "Site Exemplo"
languageName = "Português 🇧🇷"
2023-02-09 17:51:22 -03:00
LanguageCode = "pt-BR"
2023-02-09 16:56:09 -03:00
contentDir = "content.pt"
[languages.pt.params]
2023-02-10 17:58:47 -03:00
blogPath = "/pt/blog" # Path to your blog section (used by RSS)
2023-02-09 17:54:15 -03:00
madeWith = "Feito com [Bear Cub](https://github.com/clente/hugo-bearcub)"
2020-08-31 15:40:11 +02:00
[params]
2023-02-10 17:58:47 -03:00
# The description of your website
2023-02-09 16:56:09 -03:00
description = "Bear Cub Demo"
2020-08-31 15:40:11 +02:00
2023-02-10 17:58:47 -03:00
# The path to your favicon
2023-02-10 17:37:29 -03:00
favicon = "images/favicon.png"
2023-02-10 17:58:47 -03:00
# These images will show up when services want to generate a preview of a link
# to your site. For more information about previews, see
# https://gohugo.io/templates/internal#twitter-cards and
# https://gohugo.io/templates/internal#open-graph
2023-02-09 16:56:09 -03:00
images = ["/images/share.png"]
2020-08-31 15:40:11 +02:00
2023-02-10 17:58:47 -03:00
# This title is used as the site_name on the Hugo's internal opengraph
# structured data template
2023-02-09 16:56:09 -03:00
title = "Example Site"
2023-02-10 17:58:47 -03:00
# Dates are displayed following the format below. For more information about
# formatting, see https://gohugo.io/functions/format/
2023-02-09 16:56:09 -03:00
dateFormat = "2006-01-02"
2023-02-10 17:58:47 -03:00
# 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
2023-02-09 16:56:09 -03:00
hideUntranslated = false
2023-02-09 17:17:51 -03:00
2023-02-10 17:58:47 -03:00
# Your email, added to the navbar so readers can reply to your posts
2023-02-09 17:51:22 -03:00
email = "me@example.com"