diff --git a/blog/content/edition-2/posts/04-testing/index.md b/blog/content/edition-2/posts/04-testing/index.md index d1770166..a876dcc5 100644 --- a/blog/content/edition-2/posts/04-testing/index.md +++ b/blog/content/edition-2/posts/04-testing/index.md @@ -6,6 +6,7 @@ date = 2019-04-27 [extra] chapter = "Bare Bones" +comments_search_term = 1009 +++ This post explores unit and integration testing in `no_std` executables. We will use Rust's support for custom test frameworks to execute test functions inside our kernel. To report the results out of QEMU, we will use different features of QEMU and the `bootimage` tool. diff --git a/blog/templates/edition-2/page.html b/blog/templates/edition-2/page.html index a611b867..adf52553 100644 --- a/blog/templates/edition-2/page.html +++ b/blog/templates/edition-2/page.html @@ -103,7 +103,12 @@

{% endif %} - {{ snippets::giscus(search_term=page.title) }} + {% if page.extra.comments_search_term %} + {% set search_term=page.extra.comments_search_term %} + {% else %} + {% set search_term=page.title %} + {% endif %} + {{ snippets::giscus(search_term=search_term) }}