v0.3.0
What's Changed
Added
- Logo support in header: Set
logo: "/images/logo.svg"in site config to replace the plain text title with an image in the header block. Optionally setlogo_dark:for a separate dark-mode variant. Falls back to text title when neither key is present. - Print styles: Built-in CSS print styles for clean printed pages
- View transitions: Smooth page transitions using the View Transitions API
- Highlight theme: Configurable syntax highlighting theme support
related_contentblock: Show related content across different content typesanalyticsblock: Built-in analytics integration block- Responsive images hook: Automatic
srcsetgeneration for responsive images mix sayfa.gen.imagestask: Image optimization pipeline scaffold (vips/ImageMagick)- Content validation: Validates required front matter fields during build and reports errors
- Prev/next navigation: Automatic previous/next content links generated by the builder
mix sayfa.gen.langtask: Add language support to an existing site- Multilingual content generation:
mix sayfa.newnow generates content files for non-default languages
Changed
- Output directory renamed: Default build output directory changed from
outputtodist - Nixpacks: Replaced Docker with Nixpacks configuration in the new site template
Fixed
- Image optimization script: Removed unsupported
--formatflag fromvips thumbnailcalls (format is inferred from file extension) - Image optimization script: Prevent duplicate processing — skip
*_1200.*files and already-optimized sources on reruns
Upgrading from 0.2.0
If you have a config/site.exs or build scripts referencing the output directory, update them to use dist instead.
Full Changelog: v0.2.0...v0.3.0