Fork me on GitHub
#cryogen
<
2020-03-29
>
cpmcdaniel21:03:41

@carmen where does the Selmer variable sidebar-pages come from?

cpmcdaniel22:03:43

I see the :navbar? docs, but I'm wondering where in the code this happens

cpmcdaniel22:03:35

oh, I see it's in a the cryogen-core project

👍 4
carmen22:03:02

Any page that doesn't have :navbar? true will go into sidebar-pages :)

cpmcdaniel22:03:04

ok, how can I put static resources into my site root, like a robots.txt file?

carmen22:03:50

List them in the :resources key in your config.edn

carmen22:03:00

And they will be copied over from content to public

carmen22:03:43

Alternatively you can place them in public and list them in keep-files to prevent them from being wiped out upon compilation

cpmcdaniel23:03:54

ah, so resources can be individual files as well as directories

cpmcdaniel23:03:16

that makes sense - it's just like a unix cp command