summaryrefslogtreecommitdiffstats
path: root/content
AgeCommit message (Collapse)AuthorFilesLines
2026-04-17fix: implement proper language-specific 404 layoutsDanilo M.2-12/+0
Created 404.en.html and 404.it.html in themes/danix-xyz-hacker/layouts/ following Hugo's standard pattern for language-specific templates. Each layout uses i18n for translations and links to the correct language-specific sections. Hugo automatically selects the correct template based on request language. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-17build: generate language-specific 404.html filesDanilo M.2-0/+2
Created content/en/404.md and content/it/404.md with proper front matter to generate public/404.html and public/it/404.html files. These are ready for deployment with proper language-aware redirect rules. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-17fix: use content-based 404 pages with proper language contextDanilo M.2-0/+10
Created language-specific 404 content pages (content/en/404.md and content/it/404.md) that Hugo renders with the correct language context. Updated redirect rules and created _default/404.html layout that uses i18n properly. Now .Lang is set correctly for translation strings. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-17Revert "fix: use language-specific 404 layouts for proper i18n support"Danilo M.2-10/+0
This reverts commit 94a11324999f07feff138364633e8442947b628a.
2026-04-17fix: use language-specific 404 layouts for proper i18n supportDanilo M.2-0/+10
Created separate 404.html layouts in themes/danix-xyz-hacker/layouts/it/ and themes/danix-xyz-hacker/layouts/en/ with hardcoded language-specific links. Hugo automatically routes language requests to the correct layout, enabling proper i18n context and translations. Removed generic 404.html and all JavaScript detection hacks. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-17Revert "fix: use Hugo content-based 404 pages for proper multilingual support"Danilo M.2-10/+0
This reverts commit 1cab4424a5c6dd2aeb453d299b6a2f12a840599d.
2026-04-17fix: use Hugo content-based 404 pages for proper multilingual supportDanilo M.2-0/+10
Created language-specific 404 pages (content/en/404.md and content/it/404.md) instead of using JavaScript detection. Hugo now properly routes 404 errors to the correct language context, allowing .Lang and i18n to work correctly. Removed JS language detection hack. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-17test: verify repository page content, cards, keyboard nav, dark mode, responsiveDanilo M.2-8/+10
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 <noreply@anthropic.com>
2026-04-17feat: create Italian repository page contentDanilo M.1-0/+62
2026-04-17feat: create English repository page contentDanilo M.1-0/+62
2026-04-16feat: import 36 articles with assets and create supporting shortcodesDanilo M.81-3/+1976
- Migrate all English articles from old site to content/en/articles/ - Organize article assets in static/uppies/year/month/ structure - Create Italian article stubs with draft=true status - Add 7 new shortcodes: strike, em, dropcap, figure, highlight, img, youtube, gal-img - Update article image paths to reference /uppies/ locations - All 36 articles now build successfully without errors Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-15Implement article type colors, reading progress bar, and optimize layoutDanilo M.10-2/+85
- Add colored type pills to article list items (overlay on thumbnails, top-right) - Add type accent corner (L-shaped) to single article headers with colored pill badge in metadata - Implement smooth reading progress bar at viewport top (violet→green gradient) - Progress bar only appears on single pages/articles, not on lists or homepage - Constrain article width to max-w-7xl for comfortable reading with side gutters - Use CSS variables for all colors to support dark/light theme switching - Add reading-progress.js with requestAnimationFrame throttling for performance - Update HANDOFF.md with current progress Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-15Fix article shortcode issues and add actions shortcodeDanilo M.1-0/+234
- Fix gify-back-to-bash-scripting article: replace figure shortcode with image - Add actions shortcode for download/action buttons with icon and styling - Actions shortcode accepts: url (required), desc, outclass, inclass parameters - Rendered as styled link with feather download icon Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-15Fix article list template to display articles without pinned parameterDanilo M.1-0/+4
- Handle undefined .Params.pinned gracefully by checking for nil/"" values - This allows articles without explicit pinned param to appear in regular posts section - Added check: if where clause returns no unpinned posts, search for nil/empty params - Articles test index now has proper TOML frontmatter with title Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-15Complete multilingual theme implementation with language-aware menusDanilo M.8-46/+50
- Refactor hugo.toml to define menus separately for each language using pageRef - Simplify header and hamburger-menu templates to use Hugo-native language handling - Update content structure with proper language prefix organization - Remove JavaScript language-switcher in favor of Hugo's native approach - Add new layout templates for /is/ section with list view - Update HANDOFF.md with current implementation status - Rebuild minified CSS with updated template changes Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-15Fix gravatar shortcode and about page ref linksDanilo M.2-4/+4
- Fix gravatar.html: replace trim() with strings.TrimSpace() - Fix about pages: replace {{< ref "legal" >}} with relative path ../legal - Both English and Italian about pages now build without errors Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-15Fix contact form shortcode: rename from contact-form.html to contact.htmlDanilo M.2-3/+7
Problem: Hugo v0.160 doesn't find shortcode as 'contact_form' when filename is contact-form.html Solution: Rename to contact.html so shortcode is {{< contact >}} - Rename shortcodes/contact-form.html → contact.html - Update contact pages to use {{< contact >}} shortcode - Remove unused dict initialization line from contact shortcode - Contact form now works on both English and Italian contact pages Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-15Extract contact form JavaScript to separate file and remove shortcode from ↵Danilo M.2-0/+2
contact pages - Move contact form Alpine.js logic to assets/js/contact-form.js - Simplify contact-form.html shortcode by removing inline script - Load contact-form.js in baseof.html after Alpine.js - Temporarily remove {{< contact_form >}} shortcode from contact pages (shortcode parsing issue to investigate later) - Contact pages now display with placeholder text Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-15Remove unnecessary type field from static pagesDanilo M.6-4/+116
The 'type' field is unused for static pages. Hugo automatically sets the type based on directory structure. The 'type' custom parameter is only used for articles (Life, Photo, Link, Quote, Tech). Static pages no longer need: type = "page" Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-15Fix Hugo v0.160 compatibility: remove os.Getenv and fix template syntaxDanilo M.5-0/+31
- Remove os.Getenv("THEME") call that violates security policy - Use CSS variables and data attributes for theme-aware badge colors - Update theme-toggle.js to update badge colors on theme switch - Fix .LastMod → .Lastmod (correct API) - Fix template syntax for date comparison in article-header.html Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-15Fix shortcode location: move from shortcodes/ to layouts/shortcodes/Danilo M.3-8/+23
Hugo v0.156.0+ requires shortcodes to be in layouts/shortcodes/ directory. Moved all shortcodes (gravatar, image, gallery, contact-form) to correct location. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-15Set up Tailwind CSS build pipeline and bilingual homepage contentDanilo M.2-0/+20
- Install and configure Tailwind CSS with tailwind.config.js - Create npm scripts for building Tailwind (build/watch) - Add .gitignore to exclude node_modules and build artifacts - Create bilingual homepage content (content/it/_index.md, content/en/_index.md) - Update baseof.html to use compiled main.min.css - Fix .ByDate deprecation in list.html template (use sort function) - Fix main.css pre element to support rgba with opacity - Homepage now displays with full dark/light theme styling Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>