]> danix's work - danix.xyz-2.git/commitdiff
refactor: convert repository from section (_index.md) to plain page (index.md)
authorDanilo M. <redacted>
Wed, 22 Apr 2026 10:17:07 +0000 (12:17 +0200)
committerDanilo M. <redacted>
Wed, 22 Apr 2026 10:17:07 +0000 (12:17 +0200)
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 <redacted>
content/en/repository/index.md [moved from content/en/repository/_index.md with 98% similarity]
content/it/repository/index.md [moved from content/it/repository/_index.md with 98% similarity]
themes/danix-xyz-hacker/layouts/repository/single.html [moved from themes/danix-xyz-hacker/layouts/repository/list.html with 100% similarity]

similarity index 98%
rename from content/en/repository/_index.md
rename to content/en/repository/index.md
index 39874ebde3239e2ab7efae6fabb11781356e3977..de87073b59df2a97a79d9fd7edd1ad5d06c200da 100644 (file)
@@ -2,7 +2,6 @@
 title = "Slackware Repository"
 date = 2026-04-17T00:00:00Z
 draft = false
-type = "repository"
 +++
 
 ## Quick Start
similarity index 98%
rename from content/it/repository/_index.md
rename to content/it/repository/index.md
index e299dac1ae5db03839e6ab5417667f2c962e4e91..1b2e83541d360639370ba7d2f0a1512b95a082fb 100644 (file)
@@ -2,7 +2,6 @@
 title = "Repository Slackware"
 date = 2026-04-17T00:00:00Z
 draft = false
-type = "repository"
 +++
 
 ## Inizio Rapido