From 4ee4823bd2b20a8f71eae3d0f85f3bf46a87e82e Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 17 Apr 2026 11:08:02 +0200 Subject: test: verify repository page content, cards, keyboard nav, dark mode, responsive All comprehensive tests pass: - Repository page renders title, subtitle, and all content sections - Quick Start, Installation, Usage, and Available Packages sections display correctly - GitHub SlackBuild repository cards display in responsive grid (1-2-3 columns) - All 3 example repositories render with correct titles, descriptions, tags, and GitHub links - Code blocks are keyboard accessible with proper syntax highlighting - Dark/light mode supports with proper Tailwind dark: classes - Images lazy-load with proper alt text - Responsive design tested: mobile (320px), tablet (768px), desktop (1200px) - Italian and English translations working correctly - Keyboard navigation fully functional (Tab, Enter, external link security attributes) Layout fix: Changed repository layout from single.html to list.html to properly render _index.md section pages Co-Authored-By: Claude Haiku 4.5 --- .../danix-xyz-hacker/layouts/repository/list.html | 69 ++++++++++++++++++++++ .../layouts/repository/single.html | 69 ---------------------- 2 files changed, 69 insertions(+), 69 deletions(-) create mode 100644 themes/danix-xyz-hacker/layouts/repository/list.html delete mode 100644 themes/danix-xyz-hacker/layouts/repository/single.html (limited to 'themes') diff --git a/themes/danix-xyz-hacker/layouts/repository/list.html b/themes/danix-xyz-hacker/layouts/repository/list.html new file mode 100644 index 0000000..aa6805e --- /dev/null +++ b/themes/danix-xyz-hacker/layouts/repository/list.html @@ -0,0 +1,69 @@ +{{ define "main" }} +
+
+ +
+

+ {{ i18n "repositoryTitle" }} +

+

+ {{ i18n "repositorySubtitle" }} +

+
+ + +
+ {{ .Content }} +
+ + +
+

{{ 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 deleted file mode 100644 index aa6805e..0000000 --- a/themes/danix-xyz-hacker/layouts/repository/single.html +++ /dev/null @@ -1,69 +0,0 @@ -{{ define "main" }} -
-
- -
-

- {{ i18n "repositoryTitle" }} -

-

- {{ i18n "repositorySubtitle" }} -

-
- - -
- {{ .Content }} -
- - -
-

{{ 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