90 lines
3.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-10 17:13:02 -03:00
copyright = "John Doe (CC BY 4.0)"
defaultContentLanguage = "en"
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 16:56:09 -03:00
[languages]
[languages.en]
2023-02-13 21:31:35 -03:00
title = "Bear Cub"
2023-02-13 21:18:59 -03:00
languageName = "en-US 🇺🇸"
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-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]
2023-02-13 21:31:35 -03:00
title = "Bear Cub"
2023-02-13 21:18:59 -03:00
languageName = "pt-BR 🇧🇷"
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-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
2023-03-04 15:08:11 -03:00
# to your site. Ignored if `generateSocialCard = true`. For more information
# about previews, see https://gohugo.io/templates/internal#twitter-cards and
2023-02-10 17:58:47 -03:00
# https://gohugo.io/templates/internal#open-graph
images = ["images/share.webp"]
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-13 21:31:35 -03:00
title = "Bear Cub"
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-03-04 15:08:11 -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
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"
2023-03-04 15:08:11 -03:00
# (EXPERIMENTAL) This theme is capable of dynamically generating social cards
2023-03-04 16:36:06 -03:00
# for posts that don't have `images` defined in their front matter; By setting
2023-03-04 15:08:11 -03:00
# `generateSocialCard` to false, you can prevent this behavior. For more
2024-02-08 12:01:03 -03:00
# information see layouts/partials/social_card.html
2023-03-04 15:08:11 -03:00
generateSocialCard = true
2023-03-04 14:39:39 -03:00
# Social media. Delete any item you aren't using to make sure it won't show up
# in your website's metadata.
2024-01-04 17:03:02 -03:00
[params.social]
2023-03-04 14:39:39 -03:00
twitter = "example" # Twitter handle (without '@')
facebook_admin = "0000000000" # Facebook Page Admin ID
2024-01-04 17:32:06 -03:00
# 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.
2024-01-04 17:32:06 -03:00
[params.author]
name = "John Doe" # Your name as shown in the RSS feed metadata
email = "me@example.com" # Added to the footer so readers can reply to posts