Open markdorrill opened 8 years ago
@markdorrill Thanks for the issue! If you're reporting a bug, please be sure to include:
assemble
you are using.Additionally, posts are getting rendered outside the set dest folder. I don't understand why this is?
Version:
npm assemble -v 2.15.5
Output:
[14:25:47] using cwd ~/workspace/md-digital-frontend/example [14:25:48] using assemblefile ~/workspace/md-digital-frontend/example/assemblefile.example.js [14:25:49] starting assemble [14:25:49] starting assemble:default task [14:25:49] starting assemble:load task hello from load [14:25:49] finished assemble:load task [14:25:50] finished assemble:default task [14:25:50] finished assemble 1s [14:25:50] ✔ finished
Hi @markdorrill will you clean up the formatting of the code examples? You can edit the original post and use 3 ticks for blocks of code:
```js
var foo = 'bar';
I'll take a closer look in a little bit. I think some things have changed since the blog example was done, so it might just be a documentation update that's needed.
Thanks, that would be a great help.
I've cleaned up the op. Btw, I'm not using the blog example verbatim as I could see some bits were outdated (view events) so reduced it down in simplicity to where it is working.
When the permalinks line is disabled used in the default task, a full list of files is rendered (just comment out the .pipe(app.permalink in default task), hence the issue in this repo.
UPDATE: I took another look and everything is being rendered, just in 3 different locations I didn't notice
pages added by object in assemblefile: dest (desired location) glob added posts ../../ from dest glob added pages ../../../ from dest
looks like its something to do with paths that I don't understand.
Hi,
I've been learning assemble all week (previously knowing the grunt version), it really looks like powerful set of tools.
I've just been attempting to get a basic site outline set using the blog example from the main assemble repo. My aim is to use and this and submit a pr of a working example for other beginners.
The possible bug: It looks like pages are not rendering with permalinks when they have been added to a collection using a glob or single filename.
Also; what is the method to define new permanlink variables as :site.base returns a Failed to read error?
Here is my assemblefile that outlines a scenario to demonstrate this: