diff --git a/docs/blog/2021/excluding-content-from-search.md b/docs/blog/2021/excluding-content-from-search.md index dae552519..d936a647a 100644 --- a/docs/blog/2021/excluding-content-from-search.md +++ b/docs/blog/2021/excluding-content-from-search.md @@ -1,5 +1,5 @@ --- -template: overrides/main.html +template: overrides/blog.html description: > Three new simple ways to exclude dedicated parts of a document from the search index, allowing for more fine-grained control diff --git a/docs/blog/2021/search-better-faster-smaller.md b/docs/blog/2021/search-better-faster-smaller.md index e17da111a..a4cc80473 100644 --- a/docs/blog/2021/search-better-faster-smaller.md +++ b/docs/blog/2021/search-better-faster-smaller.md @@ -1,5 +1,5 @@ --- -template: overrides/main.html +template: overrides/blog.html description: > How we rebuilt client-side search, delivering a better user experience while making it faster and smaller at the same time @@ -639,12 +639,7 @@ better. Next up: If you've made it this far, thank you for your time and interest in Material for MkDocs! This is the first blog article that I decided to write after a -short [Twitter survey] made me to. ~~You're invited to leave a comment -to share your experiences with the new search implementation.~~[^9] - - [^9]: - We've disabled comments due to Disqus' ads being so incredibly horrible - and invasive. If you know a better alternative, please ping me at - martin.donath@squidfunk.com. +short [Twitter survey] made me to. You're invited to leave a comment +to share your experiences with the new search implementation. [Twitter survey]: https://twitter.com/squidfunk/status/1434477478823743488 diff --git a/docs/blog/2021/the-past-present-and-future.md b/docs/blog/2021/the-past-present-and-future.md index 53b503b0b..a52dd9508 100644 --- a/docs/blog/2021/the-past-present-and-future.md +++ b/docs/blog/2021/the-past-present-and-future.md @@ -1,5 +1,5 @@ --- -template: overrides/main.html +template: overrides/blog.html description: > 2021 was a fantastic year for this project as we shipped many new awesome features and made this project sustainable diff --git a/material/overrides/blog.html b/material/overrides/blog.html new file mode 100644 index 000000000..914b58f25 --- /dev/null +++ b/material/overrides/blog.html @@ -0,0 +1,9 @@ +{#- + This file was automatically generated - do not edit +-#} +{% extends "overrides/main.html" %} +{% block content %} + {{ super() }} +

{{ lang.t("meta.comments") }}

+ +{% endblock %} diff --git a/src/overrides/blog.html b/src/overrides/blog.html new file mode 100644 index 000000000..3a18391b8 --- /dev/null +++ b/src/overrides/blog.html @@ -0,0 +1,46 @@ + + +{% extends "overrides/main.html" %} + + +{% block content %} + {{ super() }} + + +

{{ lang.t("meta.comments") }}

+ +{% endblock %}