sindresorhus/pageres

Do you want to work on this issue?

You can request for a bounty in order to promote it!

Template variables not defined #355

redaxmedia posted onGitHub

I tested the filename option using grunt-pageres and it throws the error tat NONE of the template variables are defined.

filename: <%= date %> - <%= url %>-<%= size %><%= crop %>

Warning: An error occurred while processing a template ({date, url, size, crop} is not defined). Use --force to continue


@issuehunt has funded $20.00 to this issue.


posted by IssueHuntBot about 6 years ago

Grunt uses the standard lodash template syntax(<%= hoge %>) already. So you have to write the filename like a sample.

{{date}} - {{url}}-{{size}}{{crop}}
posted by roottool about 6 years ago

It is working with the correct syntax... looks like the docs I used were outdated.

posted by redaxmedia almost 6 years ago

Fund this Issue

$20.00
Funded
Only logged in users can fund an issue

Pull requests

Recent activities

issuehunt funded 20.00 for sindresorhus/pageres# 355
about 6 years ago