From 0047fa057f995b7d7886c566f958567c6ec61238 Mon Sep 17 00:00:00 2001 From: Dmitry Verkhoturov Date: Thu, 7 Apr 2022 01:35:53 +0200 Subject: [PATCH] add missing main component to frontend config examples --- site/src/docs/configuration/frontend/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/src/docs/configuration/frontend/index.md b/site/src/docs/configuration/frontend/index.md index 503c795a..f02e2a58 100644 --- a/site/src/docs/configuration/frontend/index.md +++ b/site/src/docs/configuration/frontend/index.md @@ -88,7 +88,7 @@ Add this snippet to the bottom of web page, or adjust already present `remark_co var remark_config = { host: 'REMARK_URL', // hostname of Remark42 server, same as REMARK_URL in backend config, e.g. "https://demo.remark42.com" site_id: 'YOUR_SITE_ID', - components: ['last-comments'], + components: ['embed', 'last-comments'], }; ``` @@ -112,7 +112,7 @@ Add this snippet to the bottom of web page, or adjust already present `remark_co var remark_config = { host: 'REMARK_URL', // hostname of Remark42 server, same as REMARK_URL in backend config, e.g. "https://demo.remark42.com" site_id: 'YOUR_SITE_ID', - components: ['counter'], + components: ['embed', 'counter'], }; ```