Standardized naming of code blocks to 'toml'

This commit is contained in:
James Braza 2023-06-20 19:27:30 -07:00
parent eae36bd7bd
commit 87e5b7f46f
4 changed files with 5 additions and 5 deletions

View File

@ -55,7 +55,7 @@ Hugo has a build-in shortcode for syntax highlighting. To work properly with thi
{{< tabs "uniqueid" >}}
{{< tab "TOML" >}}
```TOML
```toml
pygmentsUseClasses=true
pygmentsCodeFences=true
```

View File

@ -12,7 +12,7 @@ Hugo supports the creation of websites with multiple languages. In this post we
You need to set a default language and configure at least two different languages used by your site to your configuration file at `config.toml`:
```Toml
```toml
defaultContentLanguage = "en"
[languages.en]

View File

@ -10,7 +10,7 @@ weight: -10
{{< tabs "site-config" >}}
{{< tab "TOML" >}}
```Toml
```toml
baseURL = "http://localhost"
title = "Geekdocs"
theme = "hugo-geekdoc"
@ -265,7 +265,7 @@ params:
{{< tabs "page-config" >}}
{{< tab "TOML" >}}
```Toml
```toml
# Set type to 'posts' if you want to render page as blogpost
type = "posts"

View File

@ -46,7 +46,7 @@ To prepare your new site environment just a few steps are required:
4. Create the minimal required Hugo configuration `config.toml`. For all configuration options take a look at the [configuration](/usage/configuration/) page.
```Toml
```toml
baseURL = "http://localhost"
title = "Geekdocs"
theme = "hugo-geekdoc"