aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2012-05-02 23:12:32 +0200
committerChristian Weiske <cweiske@cweiske.de>2012-05-02 23:12:32 +0200
commit557578f98b1026df12ed6b9cfc085b03ecb20c12 (patch)
tree0bd5b3ca7340f5db3020c68d7965c63505a79cb7 /data
parent3bc2092b7732a33db738e12afde32645e49d5c47 (diff)
downloadphorkie-557578f98b1026df12ed6b9cfc085b03ecb20c12.tar.gz
phorkie-557578f98b1026df12ed6b9cfc085b03ecb20c12.zip
search tips in the sidebar
Diffstat (limited to 'data')
-rw-r--r--data/templates/search.htm19
1 files changed, 19 insertions, 0 deletions
diff --git a/data/templates/search.htm b/data/templates/search.htm
index cb03cec..51bf982 100644
--- a/data/templates/search.htm
+++ b/data/templates/search.htm
@@ -18,3 +18,22 @@
{% 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 %}