mirror of https://github.com/luizdepra/hugo-coder.git

Luiz F. A. de Prá
16.12.2021 32ffc536aa934737dbd58c986c21a91de7e9eb29
Format toml files
3 files modified
44 ■■■■ changed files
exampleSite/config.toml 44 ●●●● patch | view | raw | blame | history
netlify.toml patch | view | raw | blame | history
theme.toml patch | view | raw | blame | history
exampleSite/config.toml
@@ -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 @@
    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 @@
# 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 @@
            "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 @@
    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 @@
    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 @@
            [[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 @@
            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 @@
            [[languages.pt-br.menu.main]]
            name = "Projetos"
            weight = 3
            url = "projects/"
url = "https://luizdepra.dev"
            [[languages.pt-br.menu.main]]
            name = "Contato"
netlify.toml
theme.toml