Format toml files

This commit is contained in:
Luiz F. A. de Prá
2021-03-15 21:12:40 -03:00
parent 68580148a3
commit 32ffc536aa
3 changed files with 145 additions and 171 deletions

View File

@@ -1,17 +1,12 @@
baseURL = "http://www.example.com"
title = "johndoe"
theme = "hugo-coder"
languageCode = "en"
defaultContentLanguage = "en"
paginate = 20
pygmentsStyle = "b2"
pygmentsCodeFences = true
pygmentsCodeFencesGuessSyntax = true
disqusShortname = "yourdiscussshortname"
[params]
@@ -22,41 +17,30 @@ disqusShortname = "yourdiscussshortname"
avatarURL = "images/avatar.jpg"
#gravatar = "john.doe@example.com"
footerContent = "Enter a text here."
dateFormat = "January 2, 2006"
hideFooter = false
hideCredits = false
hideCopyright = false
since = 2019
# Git Commit in Footer, uncomment the line below to enable it.
commit = "https://github.com/luizdepra/hugo-coder/tree/"
rtl = false
# Specify light/dark colorscheme
# Supported values:
# "auto" (use preference set by browser)
# "dark" (dark background, light foreground)
# "light" (light background, dark foreground) (default)
colorScheme = "auto"
# Hide the toggle button, along with the associated vertical divider
hideColorSchemeToggle = false
# Series see also post count
maxSeeAlsoItems = 5
# Enable Twemoji
enableTwemoji = true
# Custom CSS
customCSS = []
# Custom SCSS
customSCSS = []
# Custom JS
customJS = []
@@ -94,11 +78,7 @@ disqusShortname = "yourdiscussshortname"
# If you want to implement a Content-Security-Policy, add this section
[params.csp]
childsrc = ["'self'"]
fontsrc = [
"'self'",
"https://fonts.gstatic.com",
"https://cdn.jsdelivr.net/"
]
fontsrc = ["'self'", "https://fonts.gstatic.com", "https://cdn.jsdelivr.net/"]
formaction = ["'self'"]
framesrc = ["'self'"]
imgsrc = ["'self'"]
@@ -109,11 +89,7 @@ disqusShortname = "yourdiscussshortname"
"https://fonts.googleapis.com/",
"https://cdn.jsdelivr.net/"
]
scriptsrc = [
"'self'",
"'unsafe-inline'",
"https://www.google-analytics.com"
]
scriptsrc = ["'self'", "'unsafe-inline'", "https://www.google-analytics.com"]
prefetchsrc = ["'self'"]
[taxonomies]
@@ -127,26 +103,31 @@ disqusShortname = "yourdiscussshortname"
icon = "fa fa-github"
weight = 1
url = "https://github.com/johndoe/"
[[params.social]]
name = "Gitlab"
icon = "fa fa-gitlab"
weight = 2
url = "https://gitlab.com/johndoe/"
[[params.social]]
name = "Twitter"
icon = "fa fa-twitter"
weight = 3
url = "https://twitter.com/johndoe/"
[[params.social]]
name = "LinkedIn"
icon = "fa fa-linkedin"
weight = 4
url = "https://www.linkedin.com/in/johndoe/"
[[params.social]]
name = "Medium"
icon = "fa fa-medium"
weight = 5
url = "https://medium.com/@johndoe"
[[params.social]]
name = "RSS"
icon = "fa fa-rss"
@@ -155,13 +136,9 @@ disqusShortname = "yourdiscussshortname"
rel = "alternate"
type = "application/rss+xml"
[languages]
[languages.en]
languageName = "English"
[languages.en.menu]
[[languages.en.menu.main]]
name = "About"
weight = 1
@@ -175,14 +152,13 @@ disqusShortname = "yourdiscussshortname"
[[languages.en.menu.main]]
name = "Projects"
weight = 3
url = "projects/"
url = "https://luizdepra.dev"
[[languages.en.menu.main]]
name = "Contact me"
weight = 5
url = "contact/"
[languages.pt-br]
languageName = "Português"
title = "João Ninguém"
@@ -194,8 +170,6 @@ disqusShortname = "yourdiscussshortname"
keywords = "blog,desenvolvedor,pessoal"
footerContent = "Coloque algum texto aqui."
[languages.pt-br.menu]
[[languages.pt-br.menu.main]]
name = "Sobre"
weight = 1
@@ -209,7 +183,7 @@ disqusShortname = "yourdiscussshortname"
[[languages.pt-br.menu.main]]
name = "Projetos"
weight = 3
url = "projects/"
url = "https://luizdepra.dev"
[[languages.pt-br.menu.main]]
name = "Contato"