Download

Publii CMS v0.46.4 Released - New Homepage Context, Improvements, and Bug Fixes

With each update, Publii evolves, refining its capabilities to make managing static sites more seamless and intuitive. Version 0.46.4 introduces a new homepage context, several usability improvements, and a collection of bug fixes that enhance stability and content organization.

New Feature: Homepage Context in Renderer

This release's main addition is the introduction of a dedicated homepage context for rendering. This feature streamlines the handling of homepage content and ensures better customization options across themes.

The homepage context will now apply when:

  • The site is configured as a homepage.
  • The post index is displayed as the homepage.
  • The post index appears despite a post prefix being set, but no homepage is explicitly assigned.

With this change, Publii now uses a unified context for any type of homepage - whether it’s a page or a listing of posts. This makes theming and customization more straightforward.

Please note that the existing index context remains unchanged and is still assigned exclusively to homepage only. 

Improvements

Several refinements have been introduced to make site management more efficient:

  • Alphabetical Sorting in Dropdowns: Authors, pages, posts, and tags now appear alphabetically for more straightforward navigation (ref. GitHub)
  • Improved Handling of Quotes in Gallery Image Alts: This feature ensures the correct encoding and display of quotation marks in image descriptions (ref. GitHub)
  • Title Attribute for JSON/RSS Feeds: Titles are now included in JSON and RSS feeds for better metadata clarity (ref. GitHub)
  • Improved Feed Title Translations: Translated feed titles now display correctly in line with the selected site language (ref. GitHub)

Bug Fixes (Updated)

This update also resolves several issues affecting site generation, rendering, and linking:

  • Fixed Blog Link Generation Issues: Resolved incorrect URL generation under specific configurations
  • Fixed Selection of index.hbs for Rendering: Ensures the correct template is used
  • Improved Backup Date Accuracy: File metadata now provides more precise timestamps for backups (ref. GitHub)
  • Fixed Saving of Custom HTML Options: Certain Custom HTML fields that previously failed to save now function properly (ref. GitHub)
  • Fixed og:url Generation: When the post prefix is disabled, URLs in the og:url meta tag are now correct (ref. GitHub)
  • Prevented Duplicate Tags in Post Editor: Users can no longer assign the same tag multiple times (ref. GitHub)
  • Corrected Typo in Author Dropdown Code: Minor fix ensuring dropdown functionality remains accurate
  • Fixed Reversed Slashes in Windows Sitemaps: Sitemaps now generate with proper forward slashes
  • Fixed Non-Working Page Links in Excerpts: Links to pages now function properly within post excerpts (ref. GitHub)
  • Fixed Issue with Multiple Author Links in WYSIWYG Content: Only the first author link was rendered correctly, while others retained #INTERNAL_LINK#. All author links now resolve correctly (ref. GitHub)
  • Fixed Subpage URL Generation Issues: Corrects problems affecting URL generation for subpages (ref. GitHub)
  • Fixed Repeater Field with maxCount Option: Resolved an issue where repeaters did not respect the maximum count setting (ref. GitHub)

Hotifixes

In addition to the previously listed fixes, we’ve also addressed some issues:

  • Fixed Infinite Component Update Loop in Dropdown Sorting: Under specific configurations, a bug in the alphabetical sorting of tags, authors, and pages caused an infinite loop. The sorting logic has been adjusted to prevent this issue and ensure smooth performance.
  • Fixed Internal Link Syntax Issue: Internal links using the #INTERNAL_LINK# syntax incorrectly appended a comma at the end of the domain, leading to broken links (404 errors).

These fixes require updating to the latest available version of Publii, which retains the same version number but comes with a new build number 17047.

Final Thoughts

With each release, Publii becomes more refined, adaptable, and powerful. The new homepage context, along with a set of enhancements and fixes, makes this version one of the most stable and feature-rich yet.

As always, we invite you to join the Publii Community and share your thoughts. Your feedback helps shape the future of Publii, ensuring it remains the best static CMS for modern site-building.

Ready to upgrade? Download the latest version and explore the new features!

Download Publii

What are you waiting for?

Start building your site today.

  1. 1 Download Publii
  2. 2 Write your content
  3. 3 Publish your site
Create website