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