Merge branch 'main' into main

This commit is contained in:
BabaRagnarok
2024-08-24 12:36:25 +02:00
committed by GitHub
1396 changed files with 6374 additions and 1065607 deletions
@@ -1,8 +1,8 @@
---
title: "Per iniziare"
date: 2020-08-15
weight: 3
draft: false
description: "Tutte le variabili del front matter sono disponibili in Blowfish.
description: "Tutte le variabili del front matter sono disponibili in Blowfish."
slug: "per-iniziare"
tags: ["installazione", "documenti"]
series: ["Documentazione"]
@@ -27,9 +27,10 @@ I file di configurazione forniti con Blowfish contengono tutte le possibili impo
## Configurazione di base
Prima di creare qualsiasi contenuto, è necessario impostare alcune cose per una nuova installazione. Iniziando dal file `config.toml`, imposta i parametri `baseURL` e `lingualCode`. Il `lingualCode` dovrebbe essere impostato sulla lingua principale che utilizzerai per creare i tuoi contenuti.
=======
```toml
# config/_default/config.toml
# config/_default/hugo.toml
baseURL = "https://your_domain.com/"
languageCode = "en"
@@ -40,7 +41,9 @@ Il passo successivo è configurare le impostazioni della lingua. Sebbene Blowfis
Individua il file "languages.en.toml" nella cartella di configurazione. Se la tua lingua principale è l'inglese puoi utilizzare questo file così com'è. Altrimenti, rinominalo in modo che includa il codice della lingua corretto nel nome del file. Ad esempio, per il francese, rinominare il file in "languages.fr.toml".
{{< alert >}}
Tieni presente che il codice della lingua nel nome del file di configurazione della lingua deve corrispondere all'impostazione "languageCode" in "config.toml".
{{< /alert >}}
```toml
@@ -257,7 +260,7 @@ Questo renderà una seconda riga con le sottocategorie sotto il menu principale
weight = 20
```
Il `name' predefinito è il titolo di `pageRef', con le caselle.
Il `name` predefinito è il titolo di `pageRef`, con le caselle.
## Thumbnails & Backgrounds
@@ -1,6 +1,6 @@
---
title: "Getting Started"
date: 2020-08-15
weight: 3
draft: false
description: "All the front matter variables available in Blowfish."
slug: "getting-started"
@@ -26,10 +26,10 @@ The config files that ship with Blowfish contain all of the possible settings th
## Basic configuration
Before creating any content, there are a few things you should set for a new installation. Starting in the `config.toml` file, set the `baseURL` and `languageCode` parameters. The `languageCode` should be set to the main language that you will be using to author your content.
Before creating any content, there are a few things you should set for a new installation. Starting in the `hugo.toml` file, set the `baseURL` and `languageCode` parameters. The `languageCode` should be set to the main language that you will be using to author your content.
```toml
# config/_default/config.toml
# config/_default/hugo.toml
baseURL = "https://your_domain.com/"
languageCode = "en"
@@ -40,7 +40,7 @@ The next step is to configure the language settings. Although Blowfish supports
Locate the `languages.en.toml` file in the config folder. If your main language is English you can use this file as is. Otherwise, rename it so that it includes the correct language code in the filename. For example, for French, rename the file to `languages.fr.toml`.
{{< alert >}}
Note that the language code in the language config filename should match the `languageCode` setting in `config.toml`.
Note that the language code in the language config filename should match the `languageCode` setting in `hugo.toml`.
{{< /alert >}}
```toml
@@ -1,6 +1,6 @@
---
title: "Getting Started"
date: 2020-08-15
weight: 3
draft: false
description: "All the front matter variables available in Blowfish."
slug: "getting-started"
@@ -26,10 +26,10 @@ The config files that ship with Blowfish contain all of the possible settings th
## Basic configuration
Before creating any content, there are a few things you should set for a new installation. Starting in the `config.toml` file, set the `baseURL` and `languageCode` parameters. The `languageCode` should be set to the main language that you will be using to author your content.
Before creating any content, there are a few things you should set for a new installation. Starting in the `hugo.toml` file, set the `baseURL` and `languageCode` parameters. The `languageCode` should be set to the main language that you will be using to author your content.
```toml
# config/_default/config.toml
# config/_default/hugo.toml
baseURL = "https://your_domain.com/"
languageCode = "en"
@@ -40,7 +40,7 @@ The next step is to configure the language settings. Although Blowfish supports
Locate the `languages.en.toml` file in the config folder. If your main language is English you can use this file as is. Otherwise, rename it so that it includes the correct language code in the filename. For example, for French, rename the file to `languages.fr.toml`.
{{< alert >}}
Note that the language code in the language config filename should match the `languageCode` setting in `config.toml`.
Note that the language code in the language config filename should match the `languageCode` setting in `hugo.toml`.
{{< /alert >}}
```toml
@@ -1,6 +1,6 @@
---
title: "入门指南"
date: 2020-08-15
weight: 3
draft: false
description: "所有在你要使用 Blowfish 主题搭建网站之前的准备工作"
slug: "getting-started"
@@ -26,21 +26,21 @@ Blowfish 中的配置文件中包含了主题需要的所有可能的设置选
## 基础设置
在刚刚安装完成,创建内容之前,有几个设置需要关注。从 `config.toml` 开始,设置 `baseURL``languageCode` 参数。`languageCode`参数是用来指定你创作内容的主要语言。
在刚刚安装完成,创建内容之前,有几个设置需要关注。从 `hugo.toml` 开始,设置 `baseURL``languageCode` 参数。`languageCode`参数是用来指定你创作内容的主要语言。
```toml
# config/_default/config.toml
# config/_default/hugo.toml
baseURL = "https://your_domain.com/"
languageCode = "en"
```
下一步是设置语言。尽管 Blowfish 支持多语言,但是 `config.toml` 只能配置一个主语言。
下一步是设置语言。尽管 Blowfish 支持多语言,但是 `hugo.toml` 只能配置一个主语言。
`config/_default` 文件夹中找到 `languages.en.toml`。如果你的主语言是英语,你可以直接使用此文件。否则需要重命名为主语言对应的文件名。例如,如果主语言是法语,那么需要将文件命名为 `languages.fr.toml`
{{< alert >}}
注意:语言配置文件名中的语言代码需要与 `config.toml``languageCode` 相匹配。
注意:语言配置文件名中的语言代码需要与 `hugo.toml``languageCode` 相匹配。
{{< /alert >}}
```toml
@@ -116,8 +116,7 @@ Blowfish 定义了一种由三种主色调构成的配色方案,每种主色
#### Slate
{{< swatches "#6B7280" "#64748b" "#6B7280" >}}
尽管这些事默认的方案,你也可以创建属于你自己的,详细信息请参阅 [高级自定义]({{< ref "advanced-customisation#colour-schemes" >}}) 部分
尽管这些事默认的方案,你也可以创建属于你自己的,详细信息请参阅 [高级自定义]({{< ref "advanced-customisation#colour-schemes" >}}) 部分。
这些是内置的配色方案,你也可以去自定义这一部分,请参阅 [高级自定义]({{< ref "advanced-customisation#colour-schemes" >}}) 。
## 整理内容