node.js - Getting assemble-middleware-permalinks working -


i trying assemble-middleware-permalinks working on build, doesn't appear work way want to.

i have following in gruntfile.coffee:

assemble:   options:     layout: 'default.hbs'     layoutdir: '<%= config.app %>/_layouts'     partials: '<%= config.app %>/_partials/*.hbs'     plugins: ['assemble-middleware-permalinks']     permalinks:       preset: 'pretty'   pages:     files:       '.tmp/': ['<%= config.app %>/pages/{,*/}*.hbs'] 

however when running grunt assemble task, still shows generating following:

running "assemble:pages" (assemble) task    writing .tmp/about.html   writing .tmp/index.html   assembled 2 files ok 

i have grunt-assemble package installed uses 0.5.0 branch of assemble.

i have tried manually putting in structure instead of using preset:

permalinks:   structure: ':basename/index.html' 

can tell me i'm doing wrong?


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -