aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/baggy
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2014-12-22 16:19:29 +0100
committerThomas Citharel <tcit@tcit.fr>2014-12-22 16:19:29 +0100
commite51487f93265521cf04d8752b0554bb1f05dd189 (patch)
treefdd4e5a6890ee09c12ac6ffffee6f53289f97965 /themes/baggy
parentf3917b1ee4bba812e82da57dd181f50d62926db4 (diff)
downloadwallabag-e51487f93265521cf04d8752b0554bb1f05dd189.tar.gz
wallabag-e51487f93265521cf04d8752b0554bb1f05dd189.tar.zst
wallabag-e51487f93265521cf04d8752b0554bb1f05dd189.zip
implemented ?random url
Diffstat (limited to 'themes/baggy')
-rwxr-xr-xthemes/baggy/home.twig2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/baggy/home.twig b/themes/baggy/home.twig
index 5068f755..27eea422 100755
--- a/themes/baggy/home.twig
+++ b/themes/baggy/home.twig
@@ -25,7 +25,7 @@
25 {% block pager %} 25 {% block pager %}
26 {% if nb_results > 1 %} 26 {% if nb_results > 1 %}
27 <div class="results"> 27 <div class="results">
28 <div class="nb-results">{{ nb_results }} {% trans "results" %}{% if search_term is defined %} {% trans %}found for « {{ search_term }} »{% endtrans %}{% endif %} <span class="icon icon-random"><a href="?view=view&id={{ random }}"> {% trans "random" %}</span></div> 28 <div class="nb-results">{{ nb_results }} {% trans "results" %}{% if search_term is defined %} {% trans %}found for « {{ search_term }} »{% endtrans %}{% endif %} <span class="icon icon-random"><a href="?action=random"> {% trans "random" %}</span></div>
29 {{ page_links | raw }} 29 {{ page_links | raw }}
30 </div> 30 </div>
31 {% elseif nb_results == 1 %} 31 {% elseif nb_results == 1 %}