Skip to content
Permalink
Browse files

fix #1933

  • Loading branch information
ralsina committed Aug 7, 2015
1 parent d329bff commit 412223eaee14f9fd13128b4ad2de7e81b6a0ff24
Showing with 2 additions and 0 deletions.
  1. +1 −0 CHANGES.txt
  2. +1 −0 nikola/plugins/command/auto/__init__.py
@@ -11,6 +11,7 @@ Features
Bugfixes
--------

* Handle folders without trailing slashes in nikola auto (Issue #1933)
* Set a base element to aid relative URL resolution, stripped on-the-fly
when using the auto or serve command to view site locally. (Issue #1922)
* Rebuild archives when post slugs and titles change (Issue #1931)
@@ -294,6 +294,7 @@ def serve_static(self, environ, start_response):

if os.path.isdir(f_path):
f_path = os.path.join(f_path, self.site.config['INDEX_FILE'])
mimetype = 'text/html'

if p_uri.path == '/robots.txt':
start_response('200 OK', [('Content-type', 'text/plain')])

0 comments on commit 412223e

Please sign in to comment.
You can’t perform that action at this time.