Logs for #nikola for 2016-02-23

09:35:04 <KwBot> [plugins] davidak opened issue #136: wordpress-compiler issues https://github.com/getnikola/plugins/issues/136
09:58:29 <KwBot> [plugins] davidak opened issue #137: import_wordpress issue https://github.com/getnikola/plugins/issues/137
14:52:11 <KwBot> [plugins] felixfontein closed issue #137: import_wordpress issue https://github.com/getnikola/plugins/issues/137
15:24:42 <tim|mint> hi all, I'm looking for a list of all the variables I can use in jinja templates... specifically the variable for the root url of the site 
15:24:56 <tim|mint> can't seem to be able to find the complete list, though
15:26:24 <ralsina> tim|mint: there isn't one
15:26:32 <ralsina> tim|mint: except in the source code :-P
15:26:46 <tim|mint> that's... not very user friendly :)
15:26:53 <ralsina> tim|mint: I know!
15:26:53 <tim|mint> i should learn python before i'm able to use nikola?
15:27:01 <ralsina> tim|mint: give me 1 sec and I will give you a list
15:27:18 <ralsina> tim|mint: usually, you can use what's already used in the current templates
15:27:33 <tim|mint> yeah, but the template I'm using is using an incorrect one :)
15:27:41 <ralsina> tim|mint: because we don't usually expose any more variables than are used
15:27:50 <ralsina> tim|mint: can you expand a little on that?
15:27:55 <tim|mint> octopress has the title of the blog link to the current page instead of the main site
15:28:06 <tim|mint> it's using {{ url }}
15:28:41 <ralsina> tim|mint: and you want the URL of the main site?
15:28:46 <tim|mint> indeed
15:28:58 <ralsina> ok q sec
15:28:59 <tim|mint> BASE_SITE from conf.py, essentially
15:29:00 <ralsina> q sec
15:29:03 <ralsina> grrrr 1 sec
15:30:32 <ralsina> tim|mint: for "links to places in the site" usually you can do anything using the _link function
15:30:45 <ralsina> specifically for this case: _link("root", None, lang)
15:31:12 <tim|mint> testing now!
15:31:52 <ralsina> Of course we also don't have a full description of how _link works ;-)
15:32:02 * ralsina adds issue "Document magic links for real"
15:33:02 <KwBot> [nikola] ralsina opened issue #2258: Document magic links for real https://github.com/getnikola/nikola/issues/2258
15:33:40 <ChrisWarrick> ralsina: should be a quick addition to path handlers docs
15:33:54 <ralsina> tim|mint: just in case, for your original question: the only things you get in the main index are those defined in the global context and posts, which is a list of Post objects
15:33:56 <tim|mint> ralsina: that worked, thanks!
15:33:59 <ralsina> ChrisWarrick: exactly
15:35:07 <tim|mint> hm ok... but I'm seeing things like {{ url }} and the like, they do not seem to be set in the global context or posts?
15:35:09 <ralsina> tim|mint: for _link() https://getnikola.com/path-handlers.html has all the info, basically just convert link://A/B to _link(A, B)
15:35:22 <ralsina> tim|mint: there are also a few things that are set for all pages
15:35:27 <ralsina> url is your url
15:35:37 <ralsina> pagekind is what sort of thing you are using
15:35:45 <ralsina> I don't think there's too many of those
15:36:27 <tim|mint> are those documented?
15:36:36 <ralsina> tim|mint: not well, obviously :-)
15:36:39 <tim|mint> heh
15:36:49 * ralsina also adds an issue to refresh the theming.txt with latest variables
15:36:49 <tim|mint> ok, I thought maybe I was looking at the wrong docs ;-)
15:37:55 <tim|mint> my blog works again, after updating to latest nikola (last time I wrote something was a year ago, didn't update nikola in that time either)
15:37:55 <KwBot> [nikola] ralsina opened issue #2259: Refresh theming.txt https://github.com/getnikola/nikola/issues/2259
15:38:30 <ralsina> tim|mint: usually, you don't need to update nikola unless a bug in it is bothering you and we fixed it :-)
15:39:08 <tim|mint> true, but it was good to check if things still worked :)
15:39:17 <tim|mint> and didn't know if any features or something were added in that time
15:46:39 <KwBot> [plugins] davidak opened issue #138: import_wordpress --no-downloads still creates empty folders https://github.com/getnikola/plugins/issues/138
15:47:19 <KwBot> [plugins] Kwpolska closed issue #138: import_wordpress --no-downloads still creates empty folders https://github.com/getnikola/plugins/issues/138
15:49:07 <KwBot> [nikola] davidak opened issue #2260: import_wordpress --no-downloads still creates empty folders https://github.com/getnikola/nikola/issues/2260
16:13:22 <KwBot> [nikola] davidak opened issue #2261: import_wordpress don't convert to markdown https://github.com/getnikola/nikola/issues/2261
16:31:13 <KwBot> [nikola] davidak opened issue #2262: optional import_wordpress to single file https://github.com/getnikola/nikola/issues/2262
17:13:13 <KwBot> [nikola] davidak opened issue #2263: import_wordpress problem with php code in blogpost https://github.com/getnikola/nikola/issues/2263
17:14:11 <KwBot> [plugins] davidak closed issue #136: wordpress-compiler issues https://github.com/getnikola/plugins/issues/136
19:26:38 <KwBot> [nikola] davidak opened issue #2264: import_wordpress write_attachments_info failed https://github.com/getnikola/nikola/issues/2264
22:23:58 <[Tritium]> TMW you think you have found a bug, but forgot to deploy