Re: [pollen] A few questions about pollen capabilities

2019-05-10 Thread Sorawee Porncharoenwase
> > I want to be able to define aliases for pages, and be able to do like > `@link[the-alias]`. I noticed that i could use metas to implement this, so > that's fine. > > I want to have a CLI command that outputs all the aliases and the files > they refer to, as a way to remember the aliases. Ideal

Re: [pollen] A few questions about pollen capabilities

2019-05-10 Thread Joel McCracken
Thank you, I think you answered all my issues. I will try it out. The thing that worries me the most is the `racket a-pollen-file.html.pm`, that seems like not the best way to try to treat a page as data. But I will see how far I can go! On Friday, May 10, 2019 at 4:44:04 AM UTC-4, Sorawee Por

Re: [pollen] A few questions about pollen capabilities

2019-05-10 Thread Matthew Butterick
You can also `(require "a-pollen-file.html.pm")` just like any Racket module. Every Pollen source exports `doc`, which is an S-expression representing the content of the document. > On May 10, 2019, at 8:12 AM, Joel McCracken wrote: > > The thing that worries me the most is the `racket a-poll

Re: [pollen] A few questions about pollen capabilities

2019-05-10 Thread Joel McCracken
Interesting, thank you. Will requiring the pollen file also have it output the compiled file to the filesystem? On Friday, May 10, 2019 at 11:30:22 AM UTC-4, Matthew Butterick wrote: > > You can also `(require "a-pollen-file.html.pm")` just like any Racket > module. Every Pollen source exports `

Re: [pollen] A few questions about pollen capabilities

2019-05-10 Thread Matthew Butterick
No. That's what `render` is for. > On May 10, 2019, at 7:45 PM, Joel McCracken wrote: > > Will requiring the pollen file also have it output the compiled file to the > filesystem? -- You received this message because you are subscribed to the Google Groups "Pollen" group. To unsubscribe from