From f0f594381e833d2d2298fe43c6f2d6f70b55dea6 Mon Sep 17 00:00:00 2001 From: Rise <8315221+AmazingRise@users.noreply.github.com> Date: Sat, 23 Nov 2019 21:28:15 +0800 Subject: Updated Customization (markdown) --- Customization.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Customization.md b/Customization.md index bb609c7..5d5339d 100644 --- a/Customization.md +++ b/Customization.md @@ -27,6 +27,7 @@ Then add following lines behind: ``` (Modify to suit your condition.) +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. @@ -43,4 +44,17 @@ If some bugs happens, please feel free to open an issue or PR. Welcome to open an issue or Pull Request for adding a new comment service. -If I'm free then, I will add it. :P \ No newline at end of file +If I'm free then, I will add it. :P + +## Disable the comment area +### Disable the comment area in one post +If you wanna to disable the comment area in a specific post, please add a line in the metadata area of the post: +``` +comment : false +``` +A more detailed description of the posts' meta data is [here](https://github.com/AmazingRise/hugo-theme-diary/wiki/Post's-meta-data). + +### Disable it globally +Please remove the settings item referred in "Add comment area". + +The comment area will not be shown. \ No newline at end of file -- cgit v1.2.3