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 --- .../layouts/repository/single.html | 77 ++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 themes/danix-xyz-hacker/layouts/repository/single.html (limited to 'themes/danix-xyz-hacker/layouts/repository/single.html') 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