From 3c7ce68314526ad1faf319c4c8d62ae8ccc727cd Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 22 Apr 2026 12:17:07 +0200 Subject: refactor: convert repository from section (_index.md) to plain page (index.md) Repository is a simple page, not a section. Renamed _index.md to index.md in both EN and IT, removed type = "repository" front matter (Hugo resolves layouts/repository/single.html automatically by section name), and renamed list.html to single.html. Visual output unchanged. Co-Authored-By: Claude Haiku 4.5 --- content/en/repository/_index.md | 63 ------------------ content/en/repository/index.md | 62 +++++++++++++++++ content/it/repository/_index.md | 63 ------------------ content/it/repository/index.md | 62 +++++++++++++++++ .../danix-xyz-hacker/layouts/repository/list.html | 77 ---------------------- .../layouts/repository/single.html | 77 ++++++++++++++++++++++ 6 files changed, 201 insertions(+), 203 deletions(-) delete mode 100644 content/en/repository/_index.md create mode 100644 content/en/repository/index.md delete mode 100644 content/it/repository/_index.md create mode 100644 content/it/repository/index.md delete mode 100644 themes/danix-xyz-hacker/layouts/repository/list.html create mode 100644 themes/danix-xyz-hacker/layouts/repository/single.html diff --git a/content/en/repository/_index.md b/content/en/repository/_index.md deleted file mode 100644 index 39874eb..0000000 --- a/content/en/repository/_index.md +++ /dev/null @@ -1,63 +0,0 @@ -+++ -title = "Slackware Repository" -date = 2026-04-17T00:00:00Z -draft = false -type = "repository" -+++ - -## Quick Start - -Add the repository to your Slackware system: - -```bash -# Add repository configuration (example command) -wget -O - https://danix.xyz/packages/slackware.asc | gpg --import -echo "deb https://danix.xyz/packages/slackware/ stable main" >> /etc/apt/sources.list.d/danix.list -apt-get update -``` - -## Installation - -### Prerequisites - -- Slackware 15.0 or later -- Root or sudo access -- wget or curl - -### Steps - -1. Download and import the repository GPG key -2. Add the repository to your package manager configuration -3. Update your package lists -4. Install packages as needed - -### Repository URL - -``` -https://danix.xyz/packages/slackware/ -``` - -## Usage - -### Installing a Package - -```bash -apt-get install package-name -``` - -### Updating Packages - -```bash -apt-get update -apt-get upgrade -``` - -### Searching for Packages - -```bash -apt-cache search keyword -``` - -## Available Packages - -Check the repository for the latest available packages. See the GitHub SlackBuild repositories below for build information and source files. diff --git a/content/en/repository/index.md b/content/en/repository/index.md new file mode 100644 index 0000000..de87073 --- /dev/null +++ b/content/en/repository/index.md @@ -0,0 +1,62 @@ ++++ +title = "Slackware Repository" +date = 2026-04-17T00:00:00Z +draft = false ++++ + +## Quick Start + +Add the repository to your Slackware system: + +```bash +# Add repository configuration (example command) +wget -O - https://danix.xyz/packages/slackware.asc | gpg --import +echo "deb https://danix.xyz/packages/slackware/ stable main" >> /etc/apt/sources.list.d/danix.list +apt-get update +``` + +## Installation + +### Prerequisites + +- Slackware 15.0 or later +- Root or sudo access +- wget or curl + +### Steps + +1. Download and import the repository GPG key +2. Add the repository to your package manager configuration +3. Update your package lists +4. Install packages as needed + +### Repository URL + +``` +https://danix.xyz/packages/slackware/ +``` + +## Usage + +### Installing a Package + +```bash +apt-get install package-name +``` + +### Updating Packages + +```bash +apt-get update +apt-get upgrade +``` + +### Searching for Packages + +```bash +apt-cache search keyword +``` + +## Available Packages + +Check the repository for the latest available packages. See the GitHub SlackBuild repositories below for build information and source files. diff --git a/content/it/repository/_index.md b/content/it/repository/_index.md deleted file mode 100644 index e299dac..0000000 --- a/content/it/repository/_index.md +++ /dev/null @@ -1,63 +0,0 @@ -+++ -title = "Repository Slackware" -date = 2026-04-17T00:00:00Z -draft = false -type = "repository" -+++ - -## Inizio Rapido - -Aggiungi il repository al tuo sistema Slackware: - -```bash -# Aggiungi configurazione repository (comando di esempio) -wget -O - https://danix.xyz/packages/slackware.asc | gpg --import -echo "deb https://danix.xyz/packages/slackware/ stable main" >> /etc/apt/sources.list.d/danix.list -apt-get update -``` - -## Installazione - -### Prerequisiti - -- Slackware 15.0 o successivi -- Accesso root o sudo -- wget o curl - -### Passaggi - -1. Scarica e importa la chiave GPG del repository -2. Aggiungi il repository alla configurazione del gestore di pacchetti -3. Aggiorna gli elenchi dei pacchetti -4. Installa i pacchetti come necessario - -### URL Repository - -``` -https://danix.xyz/packages/slackware/ -``` - -## Utilizzo - -### Installazione di un Pacchetto - -```bash -apt-get install nome-pacchetto -``` - -### Aggiornamento dei Pacchetti - -```bash -apt-get update -apt-get upgrade -``` - -### Ricerca di Pacchetti - -```bash -apt-cache search parola-chiave -``` - -## Pacchetti Disponibili - -Controlla il repository per i pacchetti disponibili più recenti. Consulta i repository GitHub SlackBuild di seguito per informazioni sulla compilazione e file di origine. diff --git a/content/it/repository/index.md b/content/it/repository/index.md new file mode 100644 index 0000000..1b2e835 --- /dev/null +++ b/content/it/repository/index.md @@ -0,0 +1,62 @@ ++++ +title = "Repository Slackware" +date = 2026-04-17T00:00:00Z +draft = false ++++ + +## Inizio Rapido + +Aggiungi il repository al tuo sistema Slackware: + +```bash +# Aggiungi configurazione repository (comando di esempio) +wget -O - https://danix.xyz/packages/slackware.asc | gpg --import +echo "deb https://danix.xyz/packages/slackware/ stable main" >> /etc/apt/sources.list.d/danix.list +apt-get update +``` + +## Installazione + +### Prerequisiti + +- Slackware 15.0 o successivi +- Accesso root o sudo +- wget o curl + +### Passaggi + +1. Scarica e importa la chiave GPG del repository +2. Aggiungi il repository alla configurazione del gestore di pacchetti +3. Aggiorna gli elenchi dei pacchetti +4. Installa i pacchetti come necessario + +### URL Repository + +``` +https://danix.xyz/packages/slackware/ +``` + +## Utilizzo + +### Installazione di un Pacchetto + +```bash +apt-get install nome-pacchetto +``` + +### Aggiornamento dei Pacchetti + +```bash +apt-get update +apt-get upgrade +``` + +### Ricerca di Pacchetti + +```bash +apt-cache search parola-chiave +``` + +## Pacchetti Disponibili + +Controlla il repository per i pacchetti disponibili più recenti. Consulta i repository GitHub SlackBuild di seguito per informazioni sulla compilazione e file di origine. diff --git a/themes/danix-xyz-hacker/layouts/repository/list.html b/themes/danix-xyz-hacker/layouts/repository/list.html deleted file mode 100644 index ce2c305..0000000 --- a/themes/danix-xyz-hacker/layouts/repository/list.html +++ /dev/null @@ -1,77 +0,0 @@ -{{ define "main" }} -
-
- - {{ partial "breadcrumb.html" . }} - - -
-

- {{ i18n "repositoryTitle" }} -

-

- {{ i18n "repositorySubtitle" }} -

-
- - -
- {{ .Content }} -
- - -
- {{ partial "social-share.html" (dict "page" . "mode" "inline") }} -
- - -
-

{{ i18n "githubReposTitle" }}

- -
- {{ range $.Site.Data.repos.repos }} -
- - {{ .name }} - - -
-

{{ .name }}

- -

- {{ i18n .description_key }} -

- - - {{ if .tags }} -
- {{ range .tags }} - - {{ . }} - - {{ end }} -
- {{ end }} - - - - {{ i18n "visitGithub" }} → - -
-
- {{ end }} -
-
-
-
-{{ end }} diff --git a/themes/danix-xyz-hacker/layouts/repository/single.html b/themes/danix-xyz-hacker/layouts/repository/single.html new file mode 100644 index 0000000..ce2c305 --- /dev/null +++ b/themes/danix-xyz-hacker/layouts/repository/single.html @@ -0,0 +1,77 @@ +{{ define "main" }} +
+
+ + {{ partial "breadcrumb.html" . }} + + +
+

+ {{ i18n "repositoryTitle" }} +

+

+ {{ i18n "repositorySubtitle" }} +

+
+ + +
+ {{ .Content }} +
+ + +
+ {{ partial "social-share.html" (dict "page" . "mode" "inline") }} +
+ + +
+

{{ i18n "githubReposTitle" }}

+ +
+ {{ range $.Site.Data.repos.repos }} +
+ + {{ .name }} + + +
+

{{ .name }}

+ +

+ {{ i18n .description_key }} +

+ + + {{ if .tags }} +
+ {{ range .tags }} + + {{ . }} + + {{ end }} +
+ {{ end }} + + + + {{ i18n "visitGithub" }} → + +
+
+ {{ end }} +
+
+
+
+{{ end }} -- cgit v1.2.3