hide google search in blog_form

This commit is contained in:
Phuoc Cao
2026-02-26 11:29:30 +01:00
parent 5b4f2fa144
commit d012720c71
3 changed files with 7 additions and 3 deletions

View File

@@ -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>

View File

@@ -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,
}

View File

@@ -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