summaryrefslogtreecommitdiffstats
path: root/themes/danix-xyz-hacker/layouts/shortcodes
AgeCommit message (Collapse)AuthorFilesLines
2026-04-18removed all occurrencies of the highlight shortcode. File removed.Danilo M.1-3/+0
2026-04-18consolidated duplicated shortcodes. Initial fix of the content files. Manual ↵Danilo M.6-67/+49
review needed
2026-04-16feat: import 36 articles with assets and create supporting shortcodesDanilo M.8-0/+19
- 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-15Resolve page bundle video paths using Resources APIDanilo M.1-0/+43
- Use .Page.Resources.GetMatch to resolve video files in page bundles - For videos in the same directory as index.md, use src="filename.webm" - Template automatically resolves to correct permalink (/articles/slug/filename.webm) - Falls back to literal path if resource not found (for external URLs) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-15Allow custom sizing in image shortcodeDanilo M.1-2/+2
- Move w-full h-auto into default class parameter instead of hardcoding - Users can now override sizing with custom class parameter - Default still applies w-full h-auto if no class specified - Update SHORTCODES.md documentation with sizing examples - Add CSS class reference tables for common sizing patterns Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-15Fix article shortcode issues and add actions shortcodeDanilo M.1-0/+19
- 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-15Implement taxonomy system for tags and categoriesDanilo M.1-0/+15
- Enable tags and categories taxonomies in hugo.toml - Create taxonomy/list.html for archive pages (/tags, /categories) - Create taxonomy/term.html for individual term pages (/tags/example) - Add quote shortcode for quote-type articles - Both templates reuse article-list-item partial for consistent styling Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-15Fix gravatar shortcode and about page ref linksDanilo M.1-1/+1
- 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.1-2/+0
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.1-47/+0
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-15Fix shortcode location: move from shortcodes/ to layouts/shortcodes/Danilo M.4-0/+165
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>