search tips in the sidebar
authorChristian Weiske <cweiske@cweiske.de>
Wed, 2 May 2012 21:12:32 +0000 (23:12 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Wed, 2 May 2012 21:12:32 +0000 (23:12 +0200)
data/templates/search.htm

index cb03cec..51bf982 100644 (file)
 {% endif %}
 
 {% endblock %}
+
+{% block sidebar %}
+ <h3>Search tips</h3>
+ <dl>
+  <dt>Exclusion</dt>
+   <dd><tt>+foo -bar</tt></dd>
+  <dt>Logical OR</dt>
+   <dd><tt>foo OR bar</tt></dd>
+  <dt>Quoting</dt>
+   <dd><tt>"foo bar"</tt></dd>
+  <dt>Partial words</dt>
+   <dd><tt>foo*</tt></dd>
+  <dt>Particular fields only</dt>
+   <dd><tt>description:foo</tt></dd>
+   <dd><tt>name:foo.txt</tt></dd>
+   <dd><tt>extension:rst</tt></dd>
+   <dd><tt>content:Hello</tt></dd>
+ </dl>
+{% endblock %}