diff --git a/blog/templates/snippets.html b/blog/templates/snippets.html index e5cae6c46..8fbd031bb 100644 --- a/blog/templates/snippets.html +++ b/blog/templates/snippets.html @@ -24,7 +24,7 @@ {% if search_term is number %} {% set discussion_url = "https://github.com/phil-opp/blog_os/discussions/" ~ search_term %} {% else %} - {% set search_term_encoded = `"` ~ search_term ~ `"` | urlencode %} + {% set search_term_encoded = `"` ~ search_term ~ `"` ~ ` in:title` | urlencode %} {% set discussion_url = `https://github.com/phil-opp/blog_os/discussions/categories/` ~ category_path ~ `?discussions_q=` ~ search_term_encoded %} {% endif %}