The second beta release of Stitcher ties a lot of loose ends together, getting ready for real production sites.
Installation
composer require pageon/stitcher-core @beta
Changelog
Note the a few config parameters are changed. These changes might fall under the category "breaking", but were really needed in order to get a more consistent API, before a real 1.0.0 release comes along.
- Add Parsedown extension to support classes on
<pre>tags in fenced code blocks. - Disable directory listing via .htaccess.
- Add
redirect.wwwandredirect.httpsoptions. Allowing to automatically redirect non-www to www, and http to https. - Add
redirectoption in site config files to make a route redirect to another page. - Use
pageon/html-meta^2.0 from now on. Lots of tweaks to social meta tags were added. - Add
asyncoption which, whenext-pcntlis installed, will enable asynchronous page rendering. - Add Parsedown extension to support
target="_blank"links by prefixing the URL with*. - Add
sitemap.xmlsupport. When setting thesitemap.urlvariable, asitemap.xmlwill be generated. - Fix bug with Collection Adapters not copying meta tags from the base page for its sub-pages.
- Add responsive images support to markdown parser.
caches.cdnbecomescache.cdn.caches.imagebecomescache.images.directories.htaccessis removed.minifybecomesengines.minifier- The following config parameters are changed (#2):
- Support multiple extensions per template engine (#7).
- Support nested conditions in the filter adapter (#1).
- Remove unused
eninges.asyncoption.
Things I wish I knew when I started programming
This is my newest book aimed at programmers of any skill level. This book isn't about patterns, principles, or best practices; there's actually barely any code in it. It's about the many things I've learned along the way being a professional programmer, and about the many, many mistakes I made along that way as well. It's what I wish someone would have told me years ago, and I hope it might inspire you.
Comments
Loading…
No comments yet, be the first!
0 Comments
Log in to join the conversation.No comments yet. Be the first to share your thoughts.