Fixing margins on navbar-right
leftover ralsina.com.ar link

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
fix #1075 -- use self.config['COPY_SOURCES']

Without this:

 * HIDE_SOURCELINK and COPY_SOURCES are unset, so
 * Nikola.config fills them as (False, True), but
 * Nikola.__init__ checks conf.py, which results in
 * HIDE_SOURCELINK = True, but COPY_SOURCES = True, which
 * works incorrectly and is unintended, and does
 * exactly what this was meant to protect against.

(commit message v2, clause 4 was wrong)

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Fix #1060 -- add `nikola new_page`

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
add the is_post parameter for create_post

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Changelog entry for new_page

[ci skip]

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
rewrite dodo.py to use a better (faster!) flake8 command

dodo.py is meant to be used for running some useful
commands by the developers.  Regular users can just
ignore it.

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Remove TranslatableSetting (will return in v7.0.0)

RATIONALE:

There are tons of things done only for backwards compatibility.
Specifically, it’s the __str__ and __unicode__ methods returning
a sane value (so it’s a drop-in replacement in templates).  Then there
are all those dunder magic methods, which are done to fix things like
indexes_title + indexes_pages.  A much saner solution would be to
elliminate all the uses of “bare” variables here and call()† the
settings, returning a string instead of a TranslatableSetting object,
making it faster and nicer.

Even though we can modify our codebase and our themes, all the
third-party things (including themes and plugins) would break.  This
is not nice.  And although __str__/__unicode__ are likely to stay in
(which will make themes mostly compatible unless they are Mako themes
and are doing something crazy, like the aforementioned string
concatenation).

But, you might be saying “it will break in v7.0.0 then!”.  The answer
to that concern is easy: That version is DESIGNED to break backwards
compatibility.  We are free to break everything, unlike this minor
release of v6.4.0.  And we could even get rid of __str__/__unicode__,
by forcing everyone to call()† us, producing the standard ugly
__repr__-esque thing of `<….TranslatableSetting object at 0x…>`.

The “fixed” implementation should be back to master in early March.

† By that, I mean execute the __call__ method of the settings.  This
  is a magic method, executed by calling an instance, that is:

      A = TS('something')
      print(A())

  This matches the usage of post.title().  The instantiation happens
  internally, so we will just say “post.title and blog_title work
  the same way” to users — and we won’t lie.

cc #1057, #851

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Merge pull request #1077 from getnikola/new_page

Add `nikola new_page`
Merge pull request #1074 from getnikola/fix-default-paths

Modify config generation in init and importers
correct dependency error
Nicer repr for Posts
Fix #1082
as suggested
`nikola init` uses `pprint.pformat` now

via punchagan/statiki@bf0102f

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
`nikola init` is back to `json.dumps`

cc punchagan/statiki@bf0102f

This reverts commit 7703eb7e86c93a0d4603ecc1bc770ee6a3f064f9.
Merge pull request #1071 from davclark/navbar-right-fix

Fixing margins on navbar-right
reposition a few things in CHANGES.txt

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Stop hiding non-functional code
literal_eval hates datetime objects, very optimistic use

Switching to ISO-format instead. Resolves issue 1083.