You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added support for searching ecosystem and blog entries.
The blog results should have a property of whether it is included in
the search results.
* Added is_searchable.
* Used Entry.get_absolute_url to encapsulate www host.
* Extracted get_search_config helper function.
Co-authored-by: Baptiste Mispelon <bmispelon@gmail.com>
<ahref="{% url 'document-detail' lang=result.release.lang version=result.release.version url=result.path host 'docs' %}{% if not start_sel in result.headline %}{{ result.highlight|fragment }}{% endif %}">{{ result.headline|safe }}</a>
46
+
<ahref="{{ result.get_absolute_url }}{% if not start_sel in result.headline %}{{ result.highlight|fragment }}{% endif %}">{{ result.headline|safe }}</a>
47
47
</h2>
48
48
<spanclass="meta breadcrumbs">
49
49
{% for breadcrumb in result.breadcrumbs %}
50
-
<ahref="{% url 'document-detail' lang=result.release.lang version=result.release.version url=breadcrumb.path host 'docs' %}">{{ breadcrumb.title }}</a>{% if not forloop.last %} <spanclass="arrow">»</span>{% endif %}
50
+
<ahref="{{ result.get_absolute_url }}">{{ breadcrumb.title }}</a>{% if not forloop.last %} <spanclass="arrow">»</span>{% endif %}
0 commit comments