]> danix's work - danix.xyz-2.git/log
danix.xyz-2.git
2 weeks agoExtract contact form JavaScript to separate file and remove shortcode from contact...
Danilo M. [Wed, 15 Apr 2026 15:43:32 +0000 (17:43 +0200)] 
Extract contact form JavaScript to separate file and remove shortcode from 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 <redacted>
2 weeks agoRemove unnecessary type field from static pages
Danilo M. [Wed, 15 Apr 2026 15:39:02 +0000 (17:39 +0200)] 
Remove unnecessary type field from static pages

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 <redacted>
2 weeks agoFix language switcher to preserve current page path
Danilo M. [Wed, 15 Apr 2026 15:33:26 +0000 (17:33 +0200)] 
Fix language switcher to preserve current page path

- Update language switcher to translate current page path instead of redirecting to root
- When switching languages, preserve the page you're on (e.g., /articles/ → /it/articles/)
- Works for both desktop header and mobile hamburger menu
- Uses Hugo's string functions to manipulate URL paths

Co-Authored-By: Claude Haiku 4.5 <redacted>
2 weeks agoAdd language toggle to desktop header
Danilo M. [Wed, 15 Apr 2026 15:31:52 +0000 (17:31 +0200)] 
Add language toggle to desktop header

- Add language switcher (IT/EN) visible on desktop only
- Language buttons show in header next to theme toggle
- Current language highlighted with accent background
- Mobile still uses hamburger menu for language toggle
- Responsive design: hidden on mobile (md:hidden), visible on desktop

Co-Authored-By: Claude Haiku 4.5 <redacted>
2 weeks agoRemove Alpine.js dependency from menu toggle, use vanilla JavaScript
Danilo M. [Wed, 15 Apr 2026 15:30:01 +0000 (17:30 +0200)] 
Remove Alpine.js dependency from menu toggle, use vanilla JavaScript

- Replace Alpine.js directives (@click, x-ref) with vanilla JS
- Update hamburger-menu.html to use id selectors instead of x-ref
- Rewrite menu.js to work without Alpine.js
- Menu now opens/closes on click with proper event handling
- Language toggle now accessible in hamburger menu

Co-Authored-By: Claude Haiku 4.5 <redacted>
2 weeks agoFix Hugo v0.160 compatibility: remove os.Getenv and fix template syntax
Danilo M. [Wed, 15 Apr 2026 15:25:14 +0000 (17:25 +0200)] 
Fix Hugo v0.160 compatibility: remove os.Getenv and fix template syntax

- 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 <redacted>
2 weeks agoFix shortcode location: move from shortcodes/ to layouts/shortcodes/
Danilo M. [Wed, 15 Apr 2026 14:38:12 +0000 (16:38 +0200)] 
Fix shortcode location: move from shortcodes/ to layouts/shortcodes/

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 <redacted>
2 weeks agoupdated gitignore
Danilo M. [Wed, 15 Apr 2026 14:32:44 +0000 (16:32 +0200)] 
updated gitignore

2 weeks agoSet up Tailwind CSS build pipeline and bilingual homepage content
Danilo M. [Wed, 15 Apr 2026 14:18:41 +0000 (16:18 +0200)] 
Set up Tailwind CSS build pipeline and bilingual homepage content

- 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 <redacted>
2 weeks agoadded contact form backend
Danilo M. [Wed, 15 Apr 2026 13:58:26 +0000 (15:58 +0200)] 
added contact form backend

2 weeks agodocs: update AGENTS.md with comprehensive content management guide
Danilo M. [Wed, 15 Apr 2026 13:54:19 +0000 (15:54 +0200)] 
docs: update AGENTS.md with comprehensive content management guide

2 weeks agodocs: create comprehensive shortcodes documentation
Danilo M. [Wed, 15 Apr 2026 13:54:18 +0000 (15:54 +0200)] 
docs: create comprehensive shortcodes documentation

2 weeks agofeat: add contact.php placeholder for form handling
Danilo M. [Wed, 15 Apr 2026 13:52:18 +0000 (15:52 +0200)] 
feat: add contact.php placeholder for form handling

2 weeks agofeat: create contact-form shortcode with Alpine.js AJAX
Danilo M. [Wed, 15 Apr 2026 13:52:17 +0000 (15:52 +0200)] 
feat: create contact-form shortcode with Alpine.js AJAX

2 weeks agofeat: create gallery shortcode with responsive columns
Danilo M. [Wed, 15 Apr 2026 13:52:15 +0000 (15:52 +0200)] 
feat: create gallery shortcode with responsive columns

2 weeks agofeat: create image shortcode with lazy-loading and captions
Danilo M. [Wed, 15 Apr 2026 13:52:14 +0000 (15:52 +0200)] 
feat: create image shortcode with lazy-loading and captions

2 weeks agofeat: create gravatar shortcode with MD5 hashing
Danilo M. [Wed, 15 Apr 2026 13:52:12 +0000 (15:52 +0200)] 
feat: create gravatar shortcode with MD5 hashing

2 weeks agofeat: create Tech article type template (uses Chroma for syntax)
Danilo M. [Wed, 15 Apr 2026 13:50:45 +0000 (15:50 +0200)] 
feat: create Tech article type template (uses Chroma for syntax)

2 weeks agofeat: create Quote article type template
Danilo M. [Wed, 15 Apr 2026 13:50:43 +0000 (15:50 +0200)] 
feat: create Quote article type template

2 weeks agofeat: create Link article type template with external button
Danilo M. [Wed, 15 Apr 2026 13:50:42 +0000 (15:50 +0200)] 
feat: create Link article type template with external button

2 weeks agofeat: create Photo article type template
Danilo M. [Wed, 15 Apr 2026 13:50:40 +0000 (15:50 +0200)] 
feat: create Photo article type template

2 weeks agofeat: create Life article type template
Danilo M. [Wed, 15 Apr 2026 13:50:38 +0000 (15:50 +0200)] 
feat: create Life article type template

2 weeks agofeat: create article type dispatcher template
Danilo M. [Wed, 15 Apr 2026 13:50:35 +0000 (15:50 +0200)] 
feat: create article type dispatcher template

2 weeks agofeat: add article header and sidebar partials supporting single article template
Danilo M. [Wed, 15 Apr 2026 13:49:00 +0000 (15:49 +0200)] 
feat: add article header and sidebar partials supporting single article template

2 weeks agofeat: create single article template with sidebar
Danilo M. [Wed, 15 Apr 2026 13:48:58 +0000 (15:48 +0200)] 
feat: create single article template with sidebar

2 weeks agofeat: create article list item with type badges and pinned indicator
Danilo M. [Wed, 15 Apr 2026 13:48:55 +0000 (15:48 +0200)] 
feat: create article list item with type badges and pinned indicator

2 weeks agofeat: create articles list with pinned post support
Danilo M. [Wed, 15 Apr 2026 13:48:54 +0000 (15:48 +0200)] 
feat: create articles list with pinned post support

2 weeks agofeat: create landing page with hero and CTAs
Danilo M. [Wed, 15 Apr 2026 13:47:44 +0000 (15:47 +0200)] 
feat: create landing page with hero and CTAs

2 weeks agofeat: create English i18n strings
Danilo M. [Wed, 15 Apr 2026 13:44:27 +0000 (15:44 +0200)] 
feat: create English i18n strings

2 weeks agofix: remove duplicate keys from Italian i18n, use contactMe for social section
Danilo M. [Wed, 15 Apr 2026 13:44:00 +0000 (15:44 +0200)] 
fix: remove duplicate keys from Italian i18n, use contactMe for social section

2 weeks agofeat: add missing email key in Forms section
Danilo M. [Wed, 15 Apr 2026 13:42:29 +0000 (15:42 +0200)] 
feat: add missing email key in Forms section

2 weeks agofeat: create Italian i18n strings
Danilo M. [Wed, 15 Apr 2026 13:42:09 +0000 (15:42 +0200)] 
feat: create Italian i18n strings

2 weeks agofeat: create language switcher with persistence
Danilo M. [Wed, 15 Apr 2026 13:39:59 +0000 (15:39 +0200)] 
feat: create language switcher with persistence

2 weeks agofix: remove duplicate Alpine-based menu toggle, rely solely on menu.js for menu state...
Danilo M. [Wed, 15 Apr 2026 13:39:27 +0000 (15:39 +0200)] 
fix: remove duplicate Alpine-based menu toggle, rely solely on menu.js for menu state management

2 weeks agofeat: create hamburger menu toggle script
Danilo M. [Wed, 15 Apr 2026 13:38:16 +0000 (15:38 +0200)] 
feat: create hamburger menu toggle script

2 weeks agofix: remove duplicate theme toggle logic from hamburger-menu.html, delegate to dedica...
Danilo M. [Wed, 15 Apr 2026 13:37:29 +0000 (15:37 +0200)] 
fix: remove duplicate theme toggle logic from hamburger-menu.html, delegate to dedicated theme-toggle.js

2 weeks agofeat: create theme toggle with localStorage persistence
Danilo M. [Wed, 15 Apr 2026 13:36:17 +0000 (15:36 +0200)] 
feat: create theme toggle with localStorage persistence

2 weeks agofix: add light theme color overrides and remove duplicate inline code styling from...
Danilo M. [Wed, 15 Apr 2026 13:35:45 +0000 (15:35 +0200)] 
fix: add light theme color overrides and remove duplicate inline code styling from chroma-custom.css

2 weeks agofeat: create syntax highlighting theme with dark/light support
Danilo M. [Wed, 15 Apr 2026 13:34:25 +0000 (15:34 +0200)] 
feat: create syntax highlighting theme with dark/light support

2 weeks agofix: remove redundant focus ring offset rule in main.css
Danilo M. [Wed, 15 Apr 2026 13:33:55 +0000 (15:33 +0200)] 
fix: remove redundant focus ring offset rule in main.css

2 weeks agofeat: create Tailwind CSS with theme variables and base styles
Danilo M. [Wed, 15 Apr 2026 13:32:30 +0000 (15:32 +0200)] 
feat: create Tailwind CSS with theme variables and base styles

2 weeks agofeat: create footer with links and copyright
Danilo M. [Wed, 15 Apr 2026 13:28:47 +0000 (15:28 +0200)] 
feat: create footer with links and copyright

2 weeks agofeat: create hamburger overlay menu with language and theme toggles
Danilo M. [Wed, 15 Apr 2026 13:28:40 +0000 (15:28 +0200)] 
feat: create hamburger overlay menu with language and theme toggles

2 weeks agofeat: create responsive header with theme toggle and hamburger
Danilo M. [Wed, 15 Apr 2026 13:28:29 +0000 (15:28 +0200)] 
feat: create responsive header with theme toggle and hamburger

2 weeks agofeat: create base template with theme toggle, fonts, and Alpine.js
Danilo M. [Wed, 15 Apr 2026 13:28:22 +0000 (15:28 +0200)] 
feat: create base template with theme toggle, fonts, and Alpine.js

2 weeks agofeat: add site configuration with bilingual setup and article types
Danilo M. [Wed, 15 Apr 2026 13:26:54 +0000 (15:26 +0200)] 
feat: add site configuration with bilingual setup and article types

2 weeks agofeat: add theme metadata
Danilo M. [Wed, 15 Apr 2026 13:26:44 +0000 (15:26 +0200)] 
feat: add theme metadata

2 weeks agoadded gitignore
Danilo M. [Wed, 15 Apr 2026 13:24:25 +0000 (15:24 +0200)] 
added gitignore

2 weeks agoinitial commit
Danilo M. [Wed, 15 Apr 2026 13:23:46 +0000 (15:23 +0200)] 
initial commit