From 3a7e1687be45516f0bcc29670447f66a5704faf2 Mon Sep 17 00:00:00 2001 From: Rise <8315221+AmazingRise@users.noreply.github.com> Date: Thu, 4 Jun 2020 23:48:33 +0800 Subject: Updated Comment Area (markdown) --- Comment-Area.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Comment-Area.md b/Comment-Area.md index 136ce80..535c46b 100644 --- a/Comment-Area.md +++ b/Comment-Area.md @@ -26,16 +26,16 @@ Then add following lines behind: Notice: Gitalk will not shown in offline preview server.(Launched by `hugo server`) #### Disqus -Hugo originally supports Disqus, and I added the disqus to the theme. -But due to my network environment, I haven't had it tested. - -To add a disqus comment service, please add a line to `config.toml` in the root directory: +To add a disqus comment service, please add a line to `config.toml` in the root directory, under `[params]`: ```toml +[params] disqusShortname = "Your disqus short name." ``` +Thanks for [nicholaskajoh](https://github.com/AmazingRise/hugo-theme-diary/issues/51) and [jenlky](https://github.com/AmazingRise/hugo-theme-diary/issues/42)'s feedback. + #### LiveRe! Edit your `config.toml` in the hugo website's root directory. -- cgit v1.2.3