Logs for #nikola for 2020-05-10

13:42:53 <erdgeist> ChrisWarrick: If, in the POSTS array, I add multiple destinations, like ("updates/*.rst", "updates", "post.tmpl"), ("contributed/*.rst", "contributed", "post.tmpl") ... will this also generate two feeds and a pagination?
14:20:12 <ChrisWarrick> erdgeist: no
14:21:06 <ChrisWarrick> erdgeist: those will be considered the same. There are some settings to put them in separate categories.
14:42:47 <erdgeist> so I need to run nikola multiple times and merge the output?
14:43:03 <erdgeist> with different configs, that is
14:45:01 <KwBot> [plugins] jpgrayson opened pull request #335 (jpgrayson:master): [asciidoc] Repair user-provided ASCIIDOC_OPTIONS https://github.com/getnikola/plugins/pull/335
14:49:56 <ChrisWarrick> erdgeist: no?
14:50:27 <ChrisWarrick> erdgeist: with this POSTS, you will get one site with one unified feed and indexes
14:51:14 <ChrisWarrick> erdgeist: you can use categories for separate feeds/indexes, categories by default come from meta, but they can be based on paths as well
14:57:50 <KwBot> [plugins] ralsina closed pull request #335 (jpgrayson:master): [asciidoc] Repair user-provided ASCIIDOC_OPTIONS https://github.com/getnikola/plugins/pull/335
15:14:56 <erdgeist> ChrisWarrick: understood. will play with it. thanks
15:16:00 <ChrisWarrick> erdgeist: you’re welcome
17:31:50 <erdgeist> ChrisWarrick: Hmm, these categories only seem to work with posts, not pages. And if I include the contributed posts under /updates, they become part of my feed, which is not what I want
17:53:54 <ChrisWarrick> erdgeist: categories are primarily for posts, you can use them for pages with the post_list feature
17:54:13 <ChrisWarrick> erdgeist: you could use per-category feeds to achieve what you want
17:55:05 <erdgeist> ChrisWarrick: Yes, the latter is what I tried to do. But tags from pages where not considered
17:55:27 <ChrisWarrick> erdgeist: that’s by design
17:55:48 <erdgeist> ChrisWarrick: I use post-list to enumerate them on the front page, but I don't want them to mix in my feeds.
17:56:06 <ChrisWarrick> erdgeist: categories have their own feeds
17:56:21 <erdgeist> ChrisWarrick: I know. :)
17:56:59 <erdgeist> ChrisWarrick: Wait. So there's a difference between tags and categories, I noticed
17:57:10 <ChrisWarrick> yes
17:57:30 <ChrisWarrick> a post can only have one category, but categories can have hierarchies
17:58:40 <erdgeist> ChrisWarrick: But an entry of type "post" is basically everything below the POSTS directory and nothing else?
17:58:54 <ChrisWarrick> erdgeist: yes
17:59:30 <erdgeist> ChrisWarrick: And if I put another directory there with contributer's content, it will be visible in my main feed?
17:59:39 <ChrisWarrick> erdgeist: yes
18:00:00 <erdgeist> ChrisWarrick: This is what I want to avoid :/
18:00:19 <ChrisWarrick> erdgeist: There are two solutions possible
18:00:48 <erdgeist> ChrisWarrick: Currently I sort posts in /updates/20xx/post-name.md, so 2001, 2002, 2003, ... will all become categories, if I use the auto-cat-feature?
18:00:49 <ChrisWarrick> erdgeist: the easiest one would be to have non-contributor posts in one category, and make that feed the main feed
18:01:16 <ChrisWarrick> erdgeist: the category will be 'updates' if configured correctly
18:01:24 <erdgeist> okay
18:03:19 <erdgeist> And with the ("updates/*.rst", "updates", "post.tmpl"), ("contributed/*.rst", "contributed", "post.tmpl")   that will automatically happen? contributed will be auto-assigned the contributed-category and updates the other one?
18:04:12 <ChrisWarrick> erdgeist: I think it would be with CATEGORY_DESTPATH_AS_DEFAULT = True, CATEGORY_DESTPATH_FIRST_DIRECTORY_ONLY = True
18:04:33 <erdgeist> ChrisWarrick: Yes, that much I assumed from your hints, earlier
18:05:29 <erdgeist> And now I only need to look how to configure what's the site's "main" rss
18:05:37 <erdgeist> thanks
18:06:14 <ChrisWarrick> erdgeist: I would use a web server to rewrite the URL
18:07:14 <erdgeist> okay. I need to fix it anyway, because the name was different in the old setup
18:08:20 <erdgeist> ChrisWarrick: Ahh, another thing: The "language" selector in the nav bar, with me it just points on a site www.xxx.com/de/file-path/  to /en/ and not to /en/file-path/, is that on purpose?
18:08:56 <ChrisWarrick> erdgeist: on purpose
18:09:09 <ChrisWarrick> erdgeist: doing this for everything, consistently, would be difficult
18:09:34 <ChrisWarrick> erdgeist: for posts/pages, there is a language picker under the title
18:10:00 <erdgeist> ChrisWarrick: yes, and it's quite confusing
18:10:16 <erdgeist> ChrisWarrick: Because there's two language pickers and they behave differently
18:11:40 <erdgeist> ChrisWarrick: I think, I'd take a language picker that's always there and just looks a little different, if there actually is a translation in that lang
18:12:07 <ChrisWarrick> erdgeist: you can change the behavior with templates
18:12:31 <erdgeist> ChrisWarrick: Yes, it's on my list. Just needed to know if I overlooked something obvious
18:12:40 <erdgeist> thanks again, mate! :)
18:12:44 <ChrisWarrick> you’re welcome!
20:10:15 <erdgeist> Hmm, after setting     USE_BUNDLES = False
20:10:38 <erdgeist> The assets /root/exporter/git/output/assets/css/all-nocdn.css are not there, according to nikola server
20:11:13 <erdgeist> So this seems not to be recommended?
20:11:45 <ChrisWarrick> erdgeist: USE_BUNDLES disables all{,-nocdn}.{js,css}, templates should also reflect this by not using them
20:12:07 <erdgeist> ChrisWarrick: Well, I am just using the boostrap4 template
20:12:18 <erdgeist> Obviously this doesnt
20:14:00 <ChrisWarrick> erdgeist: cannot reproduce