Skip to content

MIIS 2.3.0

Compare
Choose a tag to compare
@jmalarcon jmalarcon released this 06 Apr 10:20
· 122 commits to master since this release

This is the last intended update until the next major version 3.0.0 that will have major breaking changes.

What's new?

  • ⚠️ Removed the allowDownloading option and the corresponding "download" query string parameter.
  • Now you can disable the current template in a page by specifying `TemplateName: none´ in the Front-Matter. This will use the default HTML5 basic template that only includes de basic tags, a CSS file and the content. This is useful for testing purposes or to create some basic pages for special purposes.
  • Raw contents: If you specify `TemplateName: raw´ in the Front-Matter, then no template will be used and you'll get the final raw HTML for the requested page. useful for debugging and to return raw information.
  • MIME type: When you use the "raw" template to get raw contents from a file, you can also add a new {{mime}} parameter in the page (it's a Front-Mater only field) that allows you to specify the MIME type of the raw content that is going to be returned from the current page. This parameter can be useful to return formatted text that gets generated from a raw .mdh file.
  • 6 new standard fields available to use in templates and content pages:
    • {{Url}}
    • {{NoExtUrl}}
    • {{Domain}}
    • {{BaseUrl}}
    • {{Now}}
    • {{Time}}
  • Fixed extra new line added at the beginning of the content because of Front-Matter removed. No extra new line is added now.