Sam Morrison

Results 11 comments of Sam Morrison

Hi @evanmiller, I have made an initial stab at this. Can you give me some new numbers on your render time? For now this runs the render steps as Promises....

Ok, I have added `use v6.d.PREVIEW` for now. I am going to follow this closely and add more parallelism as it matures.

I have been messing around with hyper and I am still getting the segfaults. It does seem to be relatively stable on the later rakudo commits though.

I feel your pain. I have added a `--page-filter`option to facilitate restricting renders to `pages` sub-directories. ``` uzu --page-filter=compute build ``` This is the current behavior: * Only templates nested...

Yeah, I have already tried that as well. Same results. Sometimes it throws this too: ``` Ignoring unrecognized :from() entry Any in block at /home/sam/.perl6/sources/519927884D1F03D999B793B24E79F13044D6F2F6 (Template::Mustache) line 210 ```

Thanks, I have added a comment with a link to that gist.

Hi @evanmiller There isn't a slug built in, but you could add a page variable at the top of the page template: ```yaml --- slug: 'blog/index' --- ``` And then...

Hi @evanmiller I'll take a look and see what I can come up with. I think it is a good idea and would be pretty useful. Thanks, Sam

@thowe Yes, there is a page hash now, https://github.com/scmorrison/uzu#page-variables. `page.id` will return the unique path, minus extension, for the page (e.g. `/index`, `/path/to/page`).

Hi @evanmiller, I have added a catch to spit out the template name that it dies on for now. I am going to look into a solution for validating the...