joy-framework / joy

A full stack web framework written in janet

Home Page:https://joy.swlkr.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Default project layout function

Fanch22 opened this issue · comments

the default "main.janet" on 0.9.0 contain a function (layout) that clashes with the (layout) middleware.

This was confusing to me (full disclosure: i have not used a framework since 2014).

Can the function be renamed?

commented

Yes it can!

I’ll rename it to app-layout or something