Pretty URLs in Neuron

Just pushed a change that enables pretty URLs in neuron generated sites. This already works in GitHub Pages (/foo returns /foo.html). #Neuron had to be changed to make generated HTML link to /foo instead of /foo.html. This behaviour is controlled by:

neuron gen --pretty-urls

Which is also what neuron-template does by default.

Demo:

Other changes

  • Default slug is now minimally transformed: especially with --pretty-urls, it is useful to allow the user to reuse zettel title ID for url (except for replacing whitespace for legibility).
  • Ignore zettels without date in “timeline” queries.