Logs for #nikola for 2020-05-18

01:57:51 <KwBot> [plugins] jjconti opened pull request #338 (getnikola:jjconti-patch-2): Update continuous_import.py https://github.com/getnikola/plugins/pull/338
08:28:17 <KwBot> [plugins] ralsina closed pull request #338 (getnikola:jjconti-patch-2): Update continuous_import.py https://github.com/getnikola/plugins/pull/338
08:29:53 <travis-ci> [PLUGINS] getnikola/plugins#1619 (master - 908b85e : Roberto Alsina): The build passed.
08:29:53 <travis-ci> [PLUGINS] Change view: https://github.com/getnikola/plugins/compare/848ca3f4d717...908b85e6418d
08:29:53 <travis-ci> [PLUGINS] Build details: https://travis-ci.org/getnikola/plugins/builds/688278222
12:46:00 <gour> can nikola handle more than one blog within single site, e.g. having one as regular and another one as more article-oriented?
12:51:09 <ChrisWarrick> gour: how do you want it to work/look?
12:53:21 <gour> ChrisWarrick: it should be just like another blog, but under another section, iow. another set of POSTSxyz/PAGESxyz?
12:54:30 <gour> i probably can mimic it with Categories, but just curious or it would require significant changes in Nikola's architecture
12:55:04 <ChrisWarrick> you can do it with categories, I would’t even say mimic
12:56:05 <gour> i'd like to have it under special section, with its own archives etc.
12:56:45 <ChrisWarrick> you could build some per-category-archive plugin
12:58:08 <gour> ok...will research...i've decided to do my desktop project in (wx)python so will focus on becoming python-shop :-D
13:09:07 <StyXman_> ow, ralsina is not here anymore? :(
13:39:10 <ChrisWarrick> StyXman_: apparently not, you can talk to him eg. on Twitter though
14:18:43 <StyXman_> right, right
16:41:17 <erdgeist> ChrisWarrick: Can I exclude some posts from being rendered, if I only need them for navigation-lists from a post-list statement?
16:42:08 <erdgeist> ChrisWarrick: I want to create a directory pages/navigation and everthing in there will be rendered as navigation links in the sidebar, but I wouldn't want them to appear in /output/navigation or in the sitemap
16:52:06 <erdgeist> ChrisWarrick: But maybe I've had the wrong idea in the first place: I want my sidebar navigation to be dynamic but I don't want my editors to go through manually touching templates (things break, tags are not properly closed, etc). So now I render sidebar widgets as post-lists with a handful of custom templates, but for some of them (e.g external links) I can't use existing pages, so I thought I'd let 
16:52:13 <erdgeist> editors create and edit pseudo-posts in pages/navigation/link1.rst and then use values from the post's meta to create the actual nav entry. Maybe I missed a better way to do that
16:56:01 <ChrisWarrick> erdgeist: are your editors comfortable with yaml?  you can have them make data files
16:56:54 <erdgeist> better than html templates :)
16:59:43 <erdgeist> can you trigger rendering a template with options taken from a config file?
17:00:23 <ChrisWarrick> erdgeist: do you want to let your editors touch conf.py? Yes → GLOBAL_CONTEXT
17:00:49 <ChrisWarrick> erdgeist: No → look into data files
17:01:17 <erdgeist> no, no touching conf.py
17:02:00 <erdgeist> just text or very simple structure like md or yaml
17:02:28 <erdgeist> and no exceptions due to them messing it up
17:02:44 <ChrisWarrick> data files can throw exceptions
17:04:17 <erdgeist> hm, how? I am sure that the editors will figure that out, as well
17:05:07 <erdgeist> can I just configure nikola to ignore posts that cause exceptions?
17:06:03 <ChrisWarrick> we don’t have anything to support that
17:06:21 <ChrisWarrick> I’d just trust the editors to understand error messages and ask them to fix it
17:07:01 <erdgeist> sigh ;)
17:07:36 <ChrisWarrick> erdgeist: do your editors have access to conf.py?
17:09:02 <erdgeist> no. I provide files, pages, updates and navigation directory from a git repo
17:10:16 <ChrisWarrick> validate the .yml file as part of your build process, and if it’s incorrect, replace it with one that just puts ERROR ERROR all over the menu, or otherwise notify people of the failure
17:12:09 <erdgeist> sounds good
17:12:34 <erdgeist> but how to render a template with a yml as config input?
17:13:32 <ChrisWarrick> erdgeist: look up "data files" in the manual
17:14:53 <erdgeist> thanks