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" >}} {{< tabs "uniqueid" >}}
{{< tab "TOML" >}} {{< tab "TOML" >}}
```TOML ```toml
pygmentsUseClasses=true pygmentsUseClasses=true
pygmentsCodeFences=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`: 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" defaultContentLanguage = "en"
[languages.en] [languages.en]

View File

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