mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Make it possible to set discussion thread manually per post
This commit is contained in:
@@ -6,6 +6,7 @@ date = 2019-04-27
|
|||||||
|
|
||||||
[extra]
|
[extra]
|
||||||
chapter = "Bare Bones"
|
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.
|
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.
|
||||||
|
|||||||
@@ -103,7 +103,12 @@
|
|||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% 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) }}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<aside class="page-aside-right">
|
<aside class="page-aside-right">
|
||||||
|
|||||||
@@ -18,7 +18,11 @@
|
|||||||
data-repo-id="MDEwOlJlcG9zaXRvcnkzOTU3NTEwMQ=="
|
data-repo-id="MDEwOlJlcG9zaXRvcnkzOTU3NTEwMQ=="
|
||||||
data-category="Post Comments"
|
data-category="Post Comments"
|
||||||
data-category-id="MDE4OkRpc2N1c3Npb25DYXRlZ29yeTMzMDE4OTg1"
|
data-category-id="MDE4OkRpc2N1c3Npb25DYXRlZ29yeTMzMDE4OTg1"
|
||||||
|
{% if search_term is number %}
|
||||||
|
data-mapping="number"
|
||||||
|
{% else %}
|
||||||
data-mapping="specific"
|
data-mapping="specific"
|
||||||
|
{% endif %}
|
||||||
data-term="{{ search_term }}"
|
data-term="{{ search_term }}"
|
||||||
data-reactions-enabled="1"
|
data-reactions-enabled="1"
|
||||||
data-theme="preferred_color_scheme"
|
data-theme="preferred_color_scheme"
|
||||||
|
|||||||
Reference in New Issue
Block a user