The docs()
tag is for including markdown files from the local ./docs
directory.
- old:
{%= _.doc("foo.md") %}
- new:
{%= docs("foo") %}
Note that the underscore (_.
) is gone and the .md
extension is no longer needed.
The include()
tag is for including markdown files from verb-readme-includes
- old:
{%= _.doc("foo.md") %}
- new:
{%= docs("foo") %}
Note that the underscore (_.
) is gone and the .md
extension is no longer needed.
The contrib()
tag is for including markdown files from verb-contrib-templates, these are used by the assemble core team as a convenience
- old:
{%= _.contrib("foo.md") %}
- new:
{%= contrib("foo") %}
Note that the underscore (_.
) is gone and the .md
extension is no longer needed.
copyright
tag should be{%= copyright() %}
(note the parentheses)toc
tag should be{%= toc() %}
(note the parentheses)license
tag should be{%= license() %}
(note the parentheses)date
tag should be{%= date("YYYY-MM-DD") %}
Per https://github.com/makotot/handlebars-helpers/pull/1/files#r12032831:
should be updated to: