Danilo M. [Sun, 5 Apr 2026 08:27:36 +0000 (10:27 +0200)]
fix: use articles section to properly detect and display articles
Changed home.html to fetch articles from the /articles section directly instead of filtering by Type. This properly handles existing articles that may use different type field formats.
Also increased articles shown from 3 to 6, sorted by date descending (newest first).
Supports both old articles with custom 'type' fields and new articles with the tech/life/quote/link/photo system.
Danilo M. [Sun, 5 Apr 2026 08:22:47 +0000 (10:22 +0200)]
fix: restore article display on homepage
Simplified home.html article query to directly iterate over all pages with Type='articles'. The previous complex featured article filtering was breaking the display.
Now shows all articles in latest-first order with proper grid layout.
Danilo M. [Sun, 5 Apr 2026 08:15:12 +0000 (10:15 +0200)]
docs: add comprehensive menu configuration guide
Added documentation explaining how to configure navigation menu via hugo.toml:
- Explains menu item parameters (name, pageRef, weight)
- Shows how to add new menu items
- Demonstrates external links
- Provides examples of creating pages for menu items
Also updated hugo.toml with better comments explaining menu configuration.
Danilo M. [Sun, 5 Apr 2026 07:38:47 +0000 (09:38 +0200)]
feat: add video shortcode and documentation
Ported video shortcode from previous theme. Embeds HTML5 videos with optional autoplay, loop, and muted controls. Supports mp4, webm, and other HTML5 video formats.
Usage: {{< video src="video.mp4" width=800 height=450 autoplay=true loop=true muted=true >}}
Also updated CONTENT_GUIDE with comprehensive usage examples and parameters.
Danilo M. [Sun, 5 Apr 2026 07:30:59 +0000 (09:30 +0200)]
docs: add shortcode documentation to CONTENT_GUIDE
Document the three available shortcodes:
- img: responsive images with LQIP and WebP support
- quote: styled blockquotes with optional source attribution
- gravatar: profile image embedding with optional caption and link
Includes usage examples, parameters, and configuration options.
Danilo M. [Sun, 5 Apr 2026 06:43:04 +0000 (08:43 +0200)]
feat: add filter functionality, archetypes, and sample content
- Create filters.js for post filtering by type (tech, life, quote, link, photo)
- Add article.md and page.md archetypes with appropriate fields
- Update default.md archetype with correct TOML syntax
- Create sample content for home, articles, and about pages
- Fix section.html template resource permalink syntax