v0.27.0-beta - Sitemaps and RSS feeds
caendesilva
released this
19 May 18:22
·
567 commits
to master
since this release
New Features
Adds sitemap.xml generation
When a site_url is set, (and the feature is not disabled in the config), a sitemap.xml will automatically be generated during the static site building process.
Adds RSS feed generation
When enabled, an RSS feed with your Markdown blog posts will be generated when you compile your static site.
Note that this requires that a site_url is set!
'generateRssFeed' => true, // Default is true
A link to the RSS feed is automatically added to blog related pages, and the index page. See example of generated HTML:
<link rel="alternate" type="application/rss+xml" title="HydePHP Canary RSS Feed" href="http://localhost:8080/feed.xml" />
Changes
ext-simplexml
has been added as a requirement tocomposer.json
- The order of page builders have been changed, so that Blade and Markdown pages are compiled first.
This allows you to browse the most common parts of the site (like the index page) while the other
pages are being generated. - Merge "Site URL Configuration" options. Please republish your configs.
- Remove @HydeConfigVersion annotation from config/hyde.php
- Adds page slug property to BladePages for compatibility, fixing bug where Blade pages did not render the canonical link meta tag
Fixes
- Fix bug where categorized documentation sidebar items were not sorted by @caendesilva in hydephp/framework#422
Full changelog: hydephp/framework@v0.26.0-beta...v0.27.5-beta