Logs for #nikola for 2016-10-08

00:39:51 <ralsina> See?
00:40:01 <ralsina> ToApolytoXaos: we work with what we get :-)
00:40:27 <ToApolytoXaos> yeah :/ man, the more I use Nikola the more I hate Blogger
00:43:46 <ToApolytoXaos> I think a missing plugin is make_me_to_eat_and_drink
00:43:51 <ToApolytoXaos> that would be cool for Nikola!
00:51:26 <ToApolytoXaos> ralsina: OK, now I have discovered a problem and I need yourself
00:51:37 <ToApolytoXaos> your help
00:51:57 <ToApolytoXaos> excuse the nonsense typing, because here it's 03:51, morning hours
00:52:18 <ToApolytoXaos> inside Greek content, .. TEASER_END does not
00:52:30 <ToApolytoXaos> I guess it plays role that it's in English, am I correct?
00:54:45 <ToApolytoXaos> freaking enter button -_-
00:54:59 <ToApolytoXaos> I did not press enter to save changes with Vim
00:55:19 <ToApolytoXaos> everything works as expected ralsina; false alarm mate, apologies.
10:14:06 -GitHub[nikola]:#nikola- [nikola] Kwpolska created pr/2518 (+4 new commits): https://git.io/vP40i
10:14:06 -GitHub[nikola]:#nikola- nikola/pr/2518 2dfe792 Christian Lawson-Perfect: change all instances of 'story' to 'page'...
10:14:06 -GitHub[nikola]:#nikola- nikola/pr/2518 dbbd09a Christian Lawson-Perfect: Make an underline match the length of the header
10:14:06 -GitHub[nikola]:#nikola- nikola/pr/2518 b791b9d Christian Lawson-Perfect: Put the line about 'pages' v 'stories' back in
10:14:32 -GitHub[nikola]:#nikola- [nikola] Kwpolska deleted pr/2518 at 9f0c410: https://git.io/vP40X
10:14:46 -GitHub[nikola]:#nikola- [nikola] Kwpolska created pr/2518 (+4 new commits): https://git.io/vP40i
10:14:46 -GitHub[nikola]:#nikola- nikola/pr/2518 2dfe792 Christian Lawson-Perfect: change all instances of 'story' to 'page'...
10:14:46 -GitHub[nikola]:#nikola- nikola/pr/2518 dbbd09a Christian Lawson-Perfect: Make an underline match the length of the header
10:14:46 -GitHub[nikola]:#nikola- nikola/pr/2518 b791b9d Christian Lawson-Perfect: Put the line about 'pages' v 'stories' back in
10:18:38 -travis-ci:#nikola- getnikola/nikola#7637 (pr/2518 - 9f0c410 : Chris Warrick): The build has errored.
10:18:39 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/2dfe792d9344^...9f0c410de56d
10:18:39 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/166022970
10:19:26 -travis-ci:#nikola- getnikola/nikola#7638 (pr/2518 - 9f0c410 : Chris Warrick): The build failed.
10:19:27 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/2dfe792d9344^...9f0c410de56d
10:19:27 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/166023030
11:52:26 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: https://git.io/vP4gd
11:52:26 -GitHub[nikola]:#nikola- nikola/master c2a0aea Chris Warrick: Rename pytest section in setup.cfg...
11:56:48 -travis-ci:#nikola- getnikola/nikola#7644 (master - c2a0aea : Chris Warrick): The build passed.
11:56:49 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/8a2d7e460b2a...c2a0aeae88ba
11:56:49 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/166033189
16:22:32 <ADubhlaoich> What's the appropriate way to configure Nikola if it doesn't accept/recognize a particular locale?
16:24:00 <ChrisWarrick> ADubhlaoich: What do you mean?
16:24:49 <ADubhlaoich> I get an error when attempting to build/deploy/etc saying that Nikola doesn't recognize my local settings along with recommendations on where to set them
16:25:10 <ChrisWarrick> copy-paste that error
16:25:59 <ADubhlaoich> In a mo; mucking around with my folders. I made two separate virtualenvs for nikola before realizing multiple projects could live in one
16:26:53 <ADubhlaoich> 17:00:39 <ADubhlaoich> Hmm
16:26:53 <ADubhlaoich> 17:01:14 <ADubhlaoich> I'm not sure what the appropriate type of facebook page is for a dance school/org/etc is since a business type demands an address
16:26:53 <ADubhlaoich> 17:01:24 <ADubhlaoich> But that can change frequently based on availability
16:26:59 <ADubhlaoich> Whoops, wrong paste
16:27:04 <ADubhlaoich> [2016-10-08T16:26:44Z] WARNING: Nikola: Could not guess locale for language en, using locale C
16:27:04 <ADubhlaoich> [2016-10-08T16:26:44Z] WARNING: Nikola: Please fix your OS locale configuration or use the LOCALES option in conf.py to specify your preferred locale.
16:27:04 <ADubhlaoich> [2016-10-08T16:26:44Z] WARNING: Nikola: Make sure to use an UTF-8 locale to ensure Unicode support.
16:27:14 <ChrisWarrick> And your operating system?
16:27:34 <ADubhlaoich> Debian, 8.6
16:29:47 <ChrisWarrick> sudo dpkg-reconfigure locales
16:30:26 <ADubhlaoich> My locale's already set-up, Nikola just doesn't seem to want to recognize it for some reason
16:30:45 <ChrisWarrick> Is your locale en_US.UTF-8?
16:31:13 <ADubhlaoich> nope, en_IE.UTF-8. I'm Irish.
16:31:58 <ChrisWarrick> Well, whoever came up with Unix thought en_US is enough for everyone. The best way to solve this is to ignore this error for now.
16:32:53 <ChrisWarrick> When you create a site with `nikola init`, edit your conf.py file to say  LOCALES = {'en': 'en_IE.UTF-8'}
16:34:54 <ADubhlaoich> Darn. Grand, thanks!
16:35:18 <ADubhlaoich> I haven't used a static site generator before, Nikola fit the bill for everything I was looking for
16:39:36 <ChrisWarrick> hey, you’re welcome!
16:51:22 <ADubhlaoich> Whew, making a theme looks complicated
16:58:15 <ChrisWarrick> ADubhlaoich: That depends on your starting point. You can get a theme going without any HTML and templating (by heavily customizing CSS), or you can make your own templates (though the majority can come from base)
16:59:04 <ADubhlaoich> I'd like to make two separate themes based on bootstrap 4 and mdl
16:59:19 <ChrisWarrick> Are you sure about choosing Bootstrap 4?
16:59:21 <ADubhlaoich> Assuming I do it properly I might put them up on github, save someone else the time in the future
16:59:42 <ADubhlaoich> Yeah, I'm trying to get to grips with using it
17:00:05 <ChrisWarrick> The easiest way to do it would be to inherit from bootstrap3 and fix what’s broken
17:02:14 <ChrisWarrick> And we have a mdl theme, although it seems to be broken
17:02:15 <ChrisWarrick> https://themes.getnikola.com/#mdl
17:13:47 <ADubhlaoich> I'll take a look at/try both
17:13:52 <ADubhlaoich> Thanks for the advice!
17:22:17 <ToApolytoXaos> ChrisWarrick: if I'm not mistaken, it's Mako Nikola that is using for its template syntax, am I correct?
17:22:51 <ChrisWarrick> ToApolytoXaos: Mako or Jinja2
17:23:05 <ToApolytoXaos> which one is the default though?
17:24:39 <ChrisWarrick> ToApolytoXaos: default is Mako, but Jinja2 is supported too (and the built-in themes have -jinja versions). If you’re undecided and you’re not inheriting from a custom theme, I’d say Jinja is easier.
17:28:52 <ToApolytoXaos> I'm asking, because many WordPress themes have been ported to Ghost which uses handlebars that could get convert to Jinja2
17:49:38 <ChrisWarrick> ToApolytoXaos: You’d still need to make those fancy themes fit with Nikola theming
17:49:53 <ToApolytoXaos> oh, are there any limits or restrictions?
17:50:37 <ToApolytoXaos> basically, I want to build a theme that would behave like WP's
17:50:39 <ChrisWarrick> ToApolytoXaos: No, it’s just that Nikola’s template layout is different than Ghost’s or WordPress’ or any other thing
17:50:47 <ToApolytoXaos> with left and right sidebars
17:50:57 <ToApolytoXaos> ah OK
17:52:29 <ChrisWarrick> Making a theme with sidebars should be easy. Unless you want dynamic content, which can get harder (client-side JavaScript or basically no more incremental rebuilds)
17:54:07 <ToApolytoXaos> no, the sidebars will contain things like "most read articles", some third-party modules that could share tweets
17:54:09 <ToApolytoXaos> and such things
17:55:21 <ChrisWarrick> most-read articles screams JS. Unless you will make the list by hand
18:08:55 <ralsina> ToApolytoXaos: basically, to do a theme, you need to tweak:
18:09:04 <ralsina> * base.tmpl for the page layout
18:09:19 <ralsina> * post.tmpl to change how you display posts (where you show metadata, etc)
18:09:29 <ralsina> That is 90% of a theme
18:09:38 <ChrisWarrick> base_* and post_* for things that are not in those files, too
18:09:48 <ralsina> Then, the automatically generated bits, like navigation links, in base_* and post_*
18:09:53 <ralsina> exactly
18:10:21 <ralsina> Most themes are a couple of hours to an evening of work
18:11:14 <ralsina> ToApolytoXaos: https://getnikola.com/creating-a-theme.html is not really a bad tutorial even if I wrote it :-)
18:11:38 <ralsina> Should maybe be updated to use the command to copy templates
18:20:07 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: https://git.io/vP4HY
18:20:07 -GitHub[nikola]:#nikola- nikola/master b309d72 Chris Warrick: Use nikola theme -c and -n in theming tutorial...
18:20:10 <ChrisWarrick> done
18:25:18 <ToApolytoXaos> lol
18:25:27 -travis-ci:#nikola- getnikola/nikola#7645 (master - b309d72 : Chris Warrick): The build passed.
18:25:28 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/c2a0aeae88ba...b309d72b32c8
18:25:28 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/166085962
18:25:29 <ToApolytoXaos> I didn't say you are a lousy writer ralsina :D
18:25:32 <ToApolytoXaos> on the contrary
18:26:25 <ralsina> ToApolytoXaos: sorry, that was falsely modest :-)
18:26:37 * ralsina is not modest
18:26:50 <ToApolytoXaos> me modest?
18:27:08 <ToApolytoXaos> ah you
18:27:11 <ToApolytoXaos> but you are ;)
21:42:29 <KwBot> [nikola] bretonio opened issue #2525: nikola install_theme https://github.com/getnikola/nikola/issues/2525