##This file is based on the template from the SimpleWiki source which carries the GPL license
<%inherit file="simplewiki_base.html"/>
<%block name="title">
Wiki - Search Results - MITx 6.002x%block>
<%!
from simplewiki.views import wiki_reverse
%>
<%block name="wiki_page_title">
%if wiki_search_query:
Search results for ${wiki_search_query | h}
%else:
Displaying all articles
%endif
%block>
<%block name="wiki_body">
%for article in wiki_search_results:
<% article_deleted = not article.current_revision.deleted == 0 %>
%endfor
%if not wiki_search_results:
No articles matching ${wiki_search_query if wiki_search_query is not UNDEFINED else ""} !
%endif
%block>