-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible URL Helper #64
Comments
I've considered this several times and tend to agree that it would be nice to have a few more helpers. I've been working on a new release as I find free time. It will certainly have some sort of url helper. What exactly were you looking for? Something like rails: |
A Something really similar to the What gets interesting is the one-off link, where you're not looping through. In that case I'm not sure how you would define the page you want in a |
Ah yeah, I've been planning on doing this for a while too. I want to auto generate sitemaps, xml and html tree for development, this would require what you're talking about. It's planned for sure. |
The ability to get a list of filenames and meta data specifying a directory from a helper would be awesome. For example a simple Blog would require a call to get_items('/posts') and you can iterate the last 3 or 5 and create your index page, even a categories menu or a tags cloud if you can access the yaml meta data. Frank will be as powerful as Nanoc or Jekyll without the need of complex compiling rules, as you can just work it out in the views with the helpers. Eager to see v 2.0 |
Yeah, the key to that I think is having a sitemap object... Which would also be helpful for generating a sitemap. |
Really loving Frank so far, but trying to use it with a slightly larger site (around 20 pages) and would love a URL Helper of some sort, but didn't know if anyone had run into that before. It seems like it could be relatively simple to do based on file path, but I'm a bit of a n00b at Ruby... Any thoughts?
The text was updated successfully, but these errors were encountered: