Skip to content

Feedback about assets #28

Description

@Zackio

Just some feedback about how the {{assets}} helper is working:

When in the root dir it gives ./
When not you get ..

Which means if I put in {{assets}}/index.html I get .//index.html and ../index.html or if I don't I get ./index.html and `..index.html.

Work round if any one needs using gulp replace :

assemble.task('fix-assets', function() {
    gulp.src('working/*.html')
    .pipe( replace(/\.\/\//g, '') )
    .pipe(gulp.dest('working'));
});

removes all .//

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions