3

Stitcher beta 2 - stitcher.io

 3 years ago
source link: https://www.stitcher.io/blog/stitcher-beta-2
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Stitcher beta 2
By continuing your visit to this site, you accept the use of cookies. Read more.

Scout APM helps PHP developers pinpoint N+1 queries, memory leaks & more so you can troubleshoot fast & get back to coding faster. Start your free 14-day trial today.

« back — written by Brent on August 27, 2017

Stitcher beta 2

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
     tags in fenced code blocks.
  • Disable directory listing via .htaccess.
  • Add redirect.www and redirect.https options. Allowing to automatically redirect non-www to www, and http to https.
  • Add redirect option 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 async option which, when ext-pcntl is installed, will enable asynchronous page rendering.
  • Add Parsedown extension to support target="_blank" links by prefixing the URL with *.
  • Add sitemap.xml support. When setting the sitemap.url variable, a sitemap.xml will 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.
  • The following config parameters are changed (#2):
    • caches.cdn becomes cache.cdn.
    • caches.image becomes cache.images.
    • directories.htaccess is removed.
    • minify becomes engines.minifier
  • Support multiple extensions per template engine (#7).
  • Support nested conditions in the filter adapter (#1).
  • Remove unused eninges.async option.
Next up:  Key bindings

Follow me: TwitterRSSNewsletterPatreonGitHub

© 2020 stitcher.io — Cookies & Privacy


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK