Logs for #nikola for 2017-08-18

07:51:53 <ChrisWarrick> !tell nixfreak Did you set POSTS or PAGES accordingly? Did you add .asc files to the posts or pages directory?
07:51:53 <KwBot> ChrisWarrick: acknowledged.
16:02:06 <Guest63566> Hi, I'm trying the canterville theme, but it seems the GLOBAL_CONTEXT as suggested in the theme documentation is being ignored, since I do not get any social media icons and background image at all, even using the default configuration
16:37:08 <Guest63566> okay, I realize nikola is searching for something defined main_index in it's templates, and maybe that's why it's not showing up social media logos and the background image (the are only rendered if such a thig is defined). I believe this may be related to the fact that my front page is not a post, but rather a page (as suggested in https://getnikola.com/creating-a-site-not-a-blog-with-nikola.html). Any way
16:37:09 <Guest63566> to get around this?
19:01:27 <Guest63566> So, in my quest to get this theme working with my website I discovered it's the provide_context_and_uptodate function which populates the 'pagekind' kw in the 'context' dictionary with the correct 'main_index' property. Where is this function called, so that I can see what are the requirements a given page must have to be considered like so?
19:31:03 <ralsina> Guest63566: sorry, I have no idea off the top of my head, if you could file an issue with these details, it will get looked at eventually :-(
19:59:19 <Guest63566> ralsina: thanks for your willigness to help nevertheless
19:59:36 <Guest63566> Actually I found the theme won't support what I want to do out of the box
20:00:06 <Guest63566> Either I modify nikola, or either I modify the theme. I suspect modifying the theme is more apropriate
21:31:23 <ralsina> Guest63566: it sure is easier :-)