cpython/Doc/tools/templates/search.html
Miss Islington (bot) 2d4eccf70e
[3.12] GH-121970: Improve the glossary preview in HTML search (GH-121991) (#122016)
GH-121970: Improve the glossary preview in HTML search (GH-121991)
(cherry picked from commit adf0b94d1c)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-07-19 09:23:47 +00:00

17 lines
538 B
HTML

{% extends "!search.html" %}
{% block extrahead %}
{{ super() }}
<meta name="robots" content="noindex">
<script type="text/javascript" src="{{ pathto('_static/glossary_search.js', resource=True) }}"></script>
{% endblock %}
{% block searchresults %}
<div id="search-results">
{# For glossary_search.js #}
<div style="display: none;" class="admonition seealso" id="glossary-result">
<p class="topic-title">
<a id="glossary-title" href="#"></a>
</p>
<div id="glossary-body"></div>
</div>
</div>
{% endblock %}