hide google search in blog_form
This commit is contained in:
@@ -225,8 +225,9 @@
|
||||
{% endfor %}
|
||||
</p>
|
||||
|
||||
<div class="gcse-search"></div>
|
||||
|
||||
{%if request.path != '/blog_search'%}
|
||||
<div class="gcse-search"></div>
|
||||
{% endif %}
|
||||
<!-- display page content-->
|
||||
{% block content %}
|
||||
<p>No content</p>
|
||||
|
||||
@@ -177,7 +177,7 @@ def blog_search(request):
|
||||
items = get_entries_by_criteria(request, criteria)
|
||||
|
||||
return {
|
||||
'page_title': "Rechercher",
|
||||
'page_title': "Rechercher interne",
|
||||
'items': items,
|
||||
'criteria': criteria,
|
||||
}
|
||||
|
||||
@@ -86,6 +86,9 @@ def settings(request):
|
||||
topic = '_admin'
|
||||
items = get_last_edited(request)
|
||||
|
||||
import pdb;pdb.set_trace()
|
||||
|
||||
|
||||
# informations sur les versions
|
||||
pyramid_version = pkg_resources.get_distribution("pyramid").version
|
||||
markdown_version = pkg_resources.get_distribution("markdown").version
|
||||
|
||||
Reference in New Issue
Block a user