updated dockerfile, spacing adjustments

This commit is contained in:
Matthew Scragg 2014-11-17 11:25:26 -06:00
parent b757ceff57
commit 6c7095ec5a
14 changed files with 36 additions and 16 deletions

View file

@ -33,4 +33,4 @@ def rebuild_index():
username=page['info']['author'],
updated_on=entry['mtime'],
created_on=entry['ctime'])
search.index_wiki(name, body)
search.index_wiki(name, body)

View file

@ -20,4 +20,4 @@ def wiki_write_page(name, content, message=None, username=None, email=None, **kw
@Wiki.after('rename_page')
def wiki_rename_page(*args, **kwargs):
pass
pass

View file

@ -7,4 +7,4 @@ blueprint = Blueprint('search', __name__)
@blueprint.route('/_search')
def search():
results = search_engine.wiki(request.args.get('q'))
return render_template('search/search.html', results=results)
return render_template('search/search.html', results=results)