@@ -68,6 +68,7 @@ Here are the main files of the template
6868├── _config.yml # sample configuration
6969├── _data
7070| ├── authors.yml # Update the post authors configurations
71+ | ├── comments.yml # Comments configuration (Disqus, Cusdis, Utterances, Giscus)
7172| ├── language.yml # Localization configuration
7273| ├── biblio.yml # To create a reference bibliography
7374| ├── social.yml # Social configurations to share posts (RSS, shares, ...)
@@ -183,12 +184,15 @@ It will use the [Google Tag Manager](https://support.google.com/analytics/answer
183184
184185# ## Comments 💬
185186
187+ Type-on-Strap supports multiple comment systems.
188+ Use `_data/comments.yml` for all comment configurations
189+
186190# ### Disqus
187191
188192If you have a [Disqus](https://disqus.com/) account, you can show a comments section below each post.
189193
190194To enable Disqus comments, add your [Disqus shortname](https://help.disqus.com/customer/portal/articles/466208)
191- to your project's `_config .yml` file :
195+ to your project's `_data/comments.yml .yml` file :
192196
193197` ` ` yml
194198comments:
@@ -200,7 +204,7 @@ comments:
200204[Cusdis](https://cusdis.com/) is an open-source alternative to Disqus.
201205You can read more about it in the [documentation](https://cusdis.com/doc#/)
202206
203- To enable it, set your Cusdis name in `_config .yml` :
207+ To enable it, set your Cusdis name in `_data/comments.yml .yml` :
204208
205209` ` ` yaml
206210comments:
@@ -213,7 +217,7 @@ comments:
213217It stores the comments as GitHub issues on a repository for each page.
214218
215219Install the utterance [app](https://github.com/apps/utterances) to your repo.
216- After installing, add your info in the `_config .yml` :
220+ After installing, add your info in the `_data/comments.yml .yml` :
217221
218222` ` ` yaml
219223comments:
@@ -230,7 +234,7 @@ comments:
230234It stores the comments as GitHub discussions on a repository for each page.
231235
232236Install the giscus [app](https://github.com/apps/giscus) to your repo.
233- After installing, add your info in the ` _config .yml`:
237+ After installing, add your info in the ` _data/comments.yml .yml`:
234238
235239` ` ` yaml
236240comments:
0 commit comments