place basic config dir

This commit is contained in:
Malin Freeborn 2023-09-06 21:50:59 +02:00
parent b17378ca5f
commit 6b93ae1bbb
Signed by: andonome
GPG Key ID: 52295D2377F4D70F
7 changed files with 289 additions and 0 deletions

View File

@ -0,0 +1,24 @@
# set `baseurl` to your root domain
# if you set it to "/" share icons won't work properly on production
baseurl = "https://domestos.info/" # Include trailing slash
# title = "Clarity" # Edit directly from config/_default/languages.toml # alternatively, uncomment this and remove `title` entry from the aforemention file.
copyright = "Copyright © 20082018, Steve Francia and the Hugo Authors; all rights reserved."
# canonifyurls = true
paginate = 10
theme = "hugo-clarity"
disqusShortname = ""
DefaultContentLanguage = "en"
# [languages]
# config/_default/languages.toml
# [menus]
# config/_default/menus/menu.xx.toml
[taxonomies]
category = "categories"
tag = "tags"
series = "series"
[outputs]
home = ["HTML", "RSS", "JSON"]

View File

@ -0,0 +1,23 @@
timeout = 30000
enableInlineShortcodes = true
footnoteReturnLinkContents = "^"
[privacy]
[privacy.vimeo]
disabled = false
simple = true
[privacy.twitter]
disabled = false
enableDNT = true
simple = true
disableInlineCSS = true
[privacy.instagram]
disabled = false
simple = true
[privacy.youtube]
disabled = false
privacyEnhanced = true

View File

@ -0,0 +1,11 @@
[en]
title = "Clarity"
LanguageName = "English"
weight = 1
[pt]
title = "Claridade" # just for the sake of showing this is possible
LanguageName = "Português"
weight = 2
# tip: assign the default language the lowest Weight

View File

@ -0,0 +1,17 @@
[goldmark]
[goldmark.renderer]
hardWraps = false
unsafe = true # change to false to disable inclusion of rawHTML and math functions
xhtml = false
[goldmark.extensions]
typographer = false
[highlight]
codeFences = true
guessSyntax = true
hl_Lines = "--"
lineNoStart = 1
lineNos = true # always set to true # else line numbers won't show at all! even when you toggle them on in the UI
lineNumbersInTable = false # toggling this on (i.e to true) or deleting this line will break the code blocks functionality. Will
noClasses = false
# style = "monokai"
tabWidth = 2

View File

@ -0,0 +1,46 @@
[[main]]
name = "Home"
url = ""
weight = -110
[[main]]
name = "Archives"
url = "post/rich-content/"
weight = -109
# Submenus are done this way: parent -> identifier
[[main]]
name = "Links"
identifier = "Links"
weight = -108
[[main]]
name = "About"
url = "about/"
weight = -107
# social menu links
[[social]]
name = "github"
type = "social"
weight = 1
url = "https://github.com/#"
[[social]]
name = "rss"
weight = 4
url = "index.xml"
# other supported social links
# name = "youtube"
# url = "https://www.youtube.com/#"
# name = "facebook"
# url = "https://facebook.com/#"
# name = "instagram"
# url = "https://instagram.com/#"
# name = "stackoverflow"
# url = "https://stackoverflow.com/#"
# name = "gitlab"
# url = "https://gitlab.com/#"
# name = "discord"
# url = "https://discord.gg/#"

View File

@ -0,0 +1,19 @@
[[main]]
name = "Início"
url = ""
weight = -110
# [[main]]
# name = "Arquivos"
# url = "post/rich-content/"
# weight = -109
# Submenus are done this way: parent -> identifier
[[main]]
name = "Links"
identifier = "Links"
weight = -108
[[main]]
name = "Sobre"
url = "about/"
weight = -107

149
config/_default/params.toml Normal file
View File

@ -0,0 +1,149 @@
# enable search
enableSearch = true
# socials
introDescription = "Technologist, perpetual student, teacher, continual incremental improvement."
# introURL = "about/" # set the url for the 'read more' button below the introDescription, or set to false to not show the button
# description = "A theme based on VMware's Clarity Design System for publishing technical blogs with Hugo." # Set your site's meta tag (SEO) description here. Alternatively set this description in your home page content file e.g. content/_index.md. Whatever is set in the latter will take precedence.
# keywords = ["design", "clarity", "hugo theme"] # Set your site's meta tag (SEO) keywords here. Alternatively set these in your home page content file e.g. content/_index.md. Whatever is set in the latter will take precedence.
# showShare = false # Uncomment to not show share buttons on each post. Also available in each post's front matter.
# Google analytics Id
ga_analytics = ""
# Google tag manager
google_tag_manager_id = ""
# Baidu analytics Id
# baidu_analytics = "XXXXXXXX"
# limit the number of taxonomies links shown on the sidebar of each page by default.
numberOfTagsShown = 14 # Applies for all other default & custom taxonomies. e.g categories, brands see https://gohugo.io/content-management/taxonomies#what-is-a-taxonomy
# Whether to default to storing images and other assets in the `static` directory, or use Hugo page bundles.
# Switch to `true` if you'd like to group assets with the post itself (as a "leaf bundle").
# This can be overridden at the page level; what is set below acts as the default if no page variable is set.
# Details on page bundles: https://gohugo.io/content-management/page-bundles/#leaf-bundles
usePageBundles = false
# Path variables
#
# By default, each of these directories are children of the `static` directory.
#
# In some Apache server installs, these directory names could conflict and you
# may want to change them. See:
# https://github.com/chipzoller/hugo-clarity/issues/74
#
# If you change the names of these directories, be sure to copy the contents of
# the originals to get the files included with Hugo Clarity.
#
# Images:
imagesDir = "images/" # without a leading forward slash
# Icons:
iconsDir = "icons/" # without a leading forward slash
# Fonts:
fontsDir = "fonts/" # without a leading forward slash
# Social media sharing image: Will be used on Twitter, Facebook, LinkedIn, etc.
# when a given page has no other image present.
fallBackOgImage = "images/thumbnail.png"
# Logo image
logo = "logos/logo.png"
# center logo on navbar
centerLogo = false # Set to "true" for centering or "false" for left aligned.
# sets the maximum number of lines per codeblock. The codeblock will however be scrollable and expandable.
codeMaxLines = 7
# disable showing line numbers by default. Switch to `true` if you'd rather have them on.
codeLineNumbers = false
# enable math notation. Switch to `true` to enable mathjax in your site.
enableMathNotation = false
# directory(s) where your articles are located
mainSections = ["post"] # see config details here https://gohugo.io/functions/where/#mainsections
# Label Non inline images on an article body
figurePositionShow = false # toggle on or off globally
# you can toggle this behaviour on or off on per page using the same variable inside your articles frontmatter
figurePositionLabel = "Figure" # the text before image number e.g Figure 1.0
# Set the collapsed mobile navigation to either appear from the left or the right
mobileNavigation = "left" # if you prefer right change to 'right'
# some site owners want to decide how they would like their sites to be introduced users. These settings give you as a site owner to decide how the user will view your site for the first time.
# please note that you cannot enforce both modes at the same time. i.e by enforcing one mode, you priotise it over the other (by setting it to true). enforceDarkMode will be commented out
# please also not that mode toggle UI will remain in place. That way, if a user prefers darkmode, they can have their way.
enforceLightMode = false
# enforceDarkMode = false
# customize footer icon. see issue https://github.com/chipzoller/hugo-clarity/issues/77
# footerLogo = "icons/copy.svg"
# Customize Sidebar Disclaimer Text
# sidebardisclaimer = true
# disclaimerText = "The opinions expressed on this site are my own personal opinions and do not represent my employers view in any way."
# Text for the languages menu.
languageMenuName = "🌐"
# Title separator, default to |.
# titleSeparator = "|"
# Enable or disable comments globally. Default to true.
# comments = false
# Enable or disable Utterances (https://github.com/utterance/utterances) Github Issue-Based Commenting
# utterances = true # Run the utterances script in the single.html layout to load https://utteranc.es comments
# utterancesRepo = "GHUsername/Repository.Name" # Utterances is enabled when this param is set
# utterancesLabel = "blog comments ✨💬✨" # The label needs to be manually added to your Github repository issues before configuring here
# utterancesTheme = "github-light" # Default: github-dark
# utterancesIssueTerm = "pathname" # Default: pathname
# Maximum number of recent posts. (default: 8)
# numberOfRecentPosts = 8
# Maximum number of featured posts. (default: 8)
# numberOfFeaturedPosts = 8
# Pin featured posts in list.
# pinFeatured = true
# Maximum number of pinned featured posts. (default: 8)
# numberOfPinnedPosts = 8
# Date format. Checkout https://gohugo.io/functions/format/#hugo-date-and-time-templating-reference for details.
# dateFormat = "2006-01-02" # Default to "Jan 2, 2006".
# customFonts = false # toggle to true if you want to use custom fonts only.
# The year when ths website was created, this value is used in the copyright
# notice of the footer.
# since = 2016
# Show related content at the end of an article based on the 'series' taxonomy. Can be set in post front matter.
# showRelatedInArticle = false
# showRelatedInSidebar = false
# website author
[author]
name = "Jane Doe"
# photo = "images/jane-doe.png" #include this if you would like to show the author photo on the sidebar
[plausible_analytics]
enable = false # to enable plausible analytics set to true.
websiteDomain = "example.com" # domain name of your website, most cases same as your base url
# plausibleDomain = "plausible.io" # default is set to plausible.io, only required if plausible is selfhosted
# scritpName = "plausible" # default is set to plausible, only required if using a custome name for script
[matomo_analytics]
enable = false # To enable matomo analytics change to `true`.
websiteDomain = "example.com" # Set the domain name of your website, in most cases same as your base URL this is required.
matomoDomain = "matomo.example.com" # Set to Matomo domain
matomoSiteID = "1" # Default is set to 1, change this to the siteid being tracked