Author
|
zPlus <-->
2016-11-29 00:33:46
|
Committer
|
zPlus <-->
2016-11-29 00:33:46
|
Commit
|
3a6f337
(patch)
|
Tree
|
9dbf9b2
|
Parent(s)
|
|
template/search.twig: add template to display search results
commits diff:
aba80b4..3a6f337
1 file changed,
3 insertions,
1 deletion
—
download
Diffstat
Diff options
+3/-1
M template/search.twig
5
|
5
|
|
{% for result in search_results %}
|
6
|
6
|
|
|
7
|
7
|
|
<div class="result">
|
8
|
|
- |
{{ result }}
|
|
8
|
+ |
{{ result.title }}
|
9
|
9
|
|
</div>
|
10
|
10
|
|
|
11
|
11
|
|
{% endfor %}
|
12
|
12
|
|
|
|
13
|
+ |
{# Add once I'll have fulltext search
|
13
|
14
|
|
<div class="more">
|
14
|
15
|
|
<a href="?page={{ page + 1 }}" class="button button_default1">
|
15
|
16
|
|
More
|
16
|
17
|
|
</a>
|
17
|
18
|
|
</div>
|
|
19
|
+ |
#}
|
18
|
20
|
|
</div>
|
19
|
21
|
|
|
20
|
22
|
|
{% include 'footer.twig' %}
|