This commit is contained in:
parent
9870967093
commit
77b3f858d1
3 changed files with 58 additions and 51 deletions
|
@ -42,7 +42,9 @@
|
|||
<ul>
|
||||
<li>Type normal words to search for post title, brief descriptions and main content</li>
|
||||
<li>Use the syntax <code>tags:tag_a,tag_b,...</code> to search for specific tags</li>
|
||||
<li>Use <code>path:/some/example/path</code> to limit search to a specific path </li>
|
||||
<li>Use the type selector to more precisely look for images, blogs, etc.</li>
|
||||
<li>Annoy the dragons to implement more metadata search tags</li>
|
||||
</ul>
|
||||
|
||||
{% elseif display_type == 'image' %}
|
||||
|
@ -61,14 +63,17 @@
|
|||
{% endfor %}
|
||||
</ul>
|
||||
{%elseif display_type == 'no results' %}
|
||||
<h4>How sad. There are no images yet... What a real shame :c </h4>
|
||||
<h4>How sad. There are no search results here... :c </h4>
|
||||
{%else%}
|
||||
<ul class="dergen_search_result_listing">
|
||||
{% for post in search_results %}
|
||||
<li>
|
||||
<ul class="_details">
|
||||
<li class="_path_details"> <span>Score: {{post.search_score|round(2)}}</span> <span>Path: {{post.path}}</span> </li>
|
||||
<li class="_title"> <a href="{{post.url}}" target="_blank">
|
||||
<li class="_title">
|
||||
<a href="{{post.url}}#:~:text={{ search_query.user_input|url_encode }}"
|
||||
target="_blank"
|
||||
rel="noopener">
|
||||
{{post.title}} </a>
|
||||
</li>
|
||||
<li class="_brief"> {{post.brief}} </li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue