From 87e5b7f46fffb573781c465d79b5e1d72d6161fe Mon Sep 17 00:00:00 2001 From: James Braza Date: Tue, 20 Jun 2023 19:27:30 -0700 Subject: [PATCH] Standardized naming of code blocks to 'toml' --- exampleSite/content/en/features/code-blocks.md | 2 +- exampleSite/content/en/features/multilingual/_index.md | 2 +- exampleSite/content/en/usage/configuration.md | 4 ++-- exampleSite/content/en/usage/getting-started.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/exampleSite/content/en/features/code-blocks.md b/exampleSite/content/en/features/code-blocks.md index 5964122..16ba29e 100644 --- a/exampleSite/content/en/features/code-blocks.md +++ b/exampleSite/content/en/features/code-blocks.md @@ -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 ``` diff --git a/exampleSite/content/en/features/multilingual/_index.md b/exampleSite/content/en/features/multilingual/_index.md index f60431b..c7ec243 100644 --- a/exampleSite/content/en/features/multilingual/_index.md +++ b/exampleSite/content/en/features/multilingual/_index.md @@ -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] diff --git a/exampleSite/content/en/usage/configuration.md b/exampleSite/content/en/usage/configuration.md index b78c2e4..3f472d7 100644 --- a/exampleSite/content/en/usage/configuration.md +++ b/exampleSite/content/en/usage/configuration.md @@ -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" diff --git a/exampleSite/content/en/usage/getting-started.md b/exampleSite/content/en/usage/getting-started.md index ff6ea17..e0f3991 100644 --- a/exampleSite/content/en/usage/getting-started.md +++ b/exampleSite/content/en/usage/getting-started.md @@ -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"