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