You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To better support the new Origami language server, all parsing of Origami template documents (with extensions like .ori.html or .ori.md) is now done in the main Origami parser. This creates the opportunity for the language server to provide diagnostics and other features in template documents.
An Origami template document with body text and YAML front matter now returns an object, not a function. The documentation has been updated to clarify the differences between the three variations of template documents. If you were previously invoking the template with foo.ori.html(), you'll need to update that to foo.ori.html/. The slash syntax returns the result of the template without trying to invoke it. Thanks to @hpfast for noticing the bug that led to this change.
An Origami error message now points to the problematic file with a relative path (instead of an absolute path) if the file is at or below the current folder. This lets messages be more concise.