mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-02-02 11:32:30 -06:00
Update index.it.md
more translation
This commit is contained in:
parent
a751c97dd9
commit
4df9af06ad
1 changed files with 19 additions and 17 deletions
|
@ -96,44 +96,46 @@ Per questo metodo utilizzerai Hugo per gestire i tuoi temi. Hugo utilizza **Go**
|
||||||
Assicurati di usare la **versione Go 1.12** o successive poiché Hugo lo richiede affinché i moduli funzionino correttamente.
|
Assicurati di usare la **versione Go 1.12** o successive poiché Hugo lo richiede affinché i moduli funzionino correttamente.
|
||||||
{{< /alert >}}
|
{{< /alert >}}
|
||||||
|
|
||||||
2. From your Hugo project directory (that you created above), initialise modules for your website:
|
2. Dalla directory del tuo progetto Hugo (che hai creato sopra), inizializza i moduli per il tuo sito web:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
# If you're managing your project on GitHub
|
# Se gestisci il tuo progetto su GitHub
|
||||||
hugo mod init github.com/<username>/<repo-name>
|
Hugo mod init github.com/<nomeutente>/<nome-repo>
|
||||||
|
|
||||||
# If you're managing your project locally
|
# Se gestisci il tuo progetto localmente
|
||||||
hugo mod init my-project
|
Hugo mod init my-project
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Add the theme to your configuration by creating a new file `config/_default/module.toml` and adding the following:
|
3. Aggiungi il tema alla tua configurazione creando un nuovo file `config/_default/module.toml` e aggiungendo quanto segue:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[[imports]]
|
[[imports]]
|
||||||
path = "github.com/nunocoracao/blowfish/v2"
|
path = "github.com/nunocoracao/blowfish/v2"
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Start your server using `hugo server` and the theme will be downloaded automatically.
|
4. Avvia il tuo server utilizzando `hugo server` e il tema verrà scaricato automaticamente.
|
||||||
5. Continue to [set up the theme configuration files](#set-up-theme-configuration-files).
|
5. Continua con [impostare i file di configurazione del tema](#set-up-theme-configuration-files).
|
||||||
|
|
||||||
##### Install manually
|
##### Installazione manuale
|
||||||
|
1. Scarica l'ultima versione del codice sorgente del tema.
|
||||||
|
|
||||||
1. Download the latest release of the theme source code.
|
{{< button href="https://github.com/nunocoracao/blowfish/releases/latest" target="_blank" >}}Scarica da Github{{< /button >}}
|
||||||
|
|
||||||
{{< button href="https://github.com/nunocoracao/blowfish/releases/latest" target="_blank" >}}Download from Github{{< /button >}}
|
"blowfish" e "themes/"
|
||||||
|
2. Estrai l'archivio, rinomina la cartella in `blowfish` spostala nella directory `themes/` all'interno della cartella principale del tuo progetto Hugo.
|
||||||
|
3. Continua con [impostare i file di configurazione del tema](#set-up-theme-configuration-files).
|
||||||
|
|
||||||
2. Extract the archive, rename the folder to `blowfish` and move it to the `themes/` directory inside your Hugo project's root folder.
|
#### Imposta i file di configurazione del tema
|
||||||
3. Continue to [set up the theme configuration files](#set-up-theme-configuration-files).
|
|
||||||
|
|
||||||
#### Set up theme configuration files
|
Nella cartella principale del tuo sito web, elimina il file `config.toml` generato da Hugo. Copia i file di configurazione `*.toml` dal tema nella tua cartella `config/_default/`. Ciò ti garantirà di avere tutte le impostazioni corrette del tema e ti consentirà di personalizzare facilmente il tema in base alle tue esigenze.
|
||||||
|
|
||||||
In the root folder of your website, delete the `config.toml` file that was generated by Hugo. Copy the `*.toml` config files from the theme into your `config/_default/` folder. This will ensure you have all the correct theme settings and will enable you to easily customise the theme to your needs.
|
Nella cartella principale del tuo sito web, elimina il file `config.toml` generato da Hugo. Copia i file di configurazione `*.toml` dal tema della tua cartella `config/_default/` folder. Ti garantirà di avere tutte le impostazioni corrette del tema e ti consentirà di personalizzare facilmente il tema in base alle tue esigenze.
|
||||||
|
|
||||||
{{< alert >}}
|
{{< alert >}}
|
||||||
**Note:** You should not overwrite the `module.toml` file if one already exists in your project!
|
**Note:** Non dovresti sovrascrivere il file `module.toml` se ne esiste già uno nel tuo progetto!
|
||||||
{{< /alert >}}
|
{{< /alert >}}
|
||||||
|
|
||||||
Depending on how you installed the theme you will find the theme config files in different places:
|
A seconda di come hai installato il tema, troverai i file di configurazione del tema in posti diversi:
|
||||||
|
|
||||||
- **Hugo Modules:** In the Hugo cache directory, or [download a copy](https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/nunocoracao/blowfish/tree/main/config/_default) from GitHub
|
- **Hugo Modules:** In the Hugo cache directory, or [download a copy](https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/nunocoracao/blowfish/tree/main/config/_default) from GitHub
|
||||||
- **Git submodule or Manual install:** `themes/blowfish/config/_default`
|
- **Git submodule or Manual install:** `themes/blowfish/config/_default`
|
||||||
|
|
Loading…
Reference in a new issue