diff --git a/docs/setup/adding-a-comment-system.md b/docs/setup/adding-a-comment-system.md index b67f9db56..12d3c9612 100644 --- a/docs/setup/adding-a-comment-system.md +++ b/docs/setup/adding-a-comment-system.md @@ -1,6 +1,5 @@ --- template: overrides/main.html -disqus: mkdocs material --- # Adding a comment system @@ -78,3 +77,21 @@ specific pages by adding the following to the front matter of a page: ``` [7]: #metadata + +### Other comment systems + +[:octicons-file-code-24: Source][8] · +:octicons-mortar-board-24: Difficulty: _easy_ + +In order to integrate another JavaScript-based comment system provider, you can +[extend the theme][9] and [override the `disqus` block][10]: + +``` html +{% block disqus %} + +{% endblock %} +``` + + [8]: https://github.com/squidfunk/mkdocs-material/blob/master/src/base.html#L340-342 + [9]: ../customization.md#extending-the-theme + [10]: ../customization.md#overriding-blocks diff --git a/docs/setup/setting-up-site-analytics.md b/docs/setup/setting-up-site-analytics.md index b4392a572..95866f2ae 100644 --- a/docs/setup/setting-up-site-analytics.md +++ b/docs/setup/setting-up-site-analytics.md @@ -45,7 +45,7 @@ search tracking: ## Customization -### Using other analytics services +### Other analytics providers [:octicons-file-code-24: Source][3] · :octicons-mortar-board-24: Difficulty: _easy_ @@ -63,11 +63,6 @@ and [override the `analytics` block][6]: [5]: ../customization.md#extending-the-theme [6]: ../customization.md#overriding-blocks -### Using instant loading - -[:octicons-file-code-24: Source][3] · -:octicons-mortar-board-24: Difficulty: _easy_ - If you're using [instant loading][7], you may use the `location$` observable, which will emit the current `URL` to listen for navigation events and register a page view event with: