If it doesn't I can make it do so :)

Try it and file an issue if it doesn't.

On Thu, Oct 4, 2018, 8:20 AM 'Abraham Varricatt' via nikola-discuss <
nikola-discuss@googlegroups.com> wrote:

> Hello,
>
> ref: https://getnikola.com/handbook.html#the-global-context-and-data-files
>
>
> Are sub-folders supported under data?
>
> For example, if we have a file location like,
> /data/foo.json
>
> with the contents looking like,
> {"bar": "baz"}
>
> From within a template, we can access it with ${data['foo']['bar']}
>
> My question is if sub-folders are supported? Like if I have a file located
> at,
> /data/my_subfolder/foo.json
>
> (similar contents as before)
>
> Can I access it using ${data['foo']['my_subfolder']['bar']} ?
>
> Background: I'm making a website for a conference and want to organise
> things by keeping speaker data in its own sub-folder.
>
> Yours,
> Abraham V.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "nikola-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nikola-discuss+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nikola-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to