Giter VIP home page Giter VIP logo

Comments (4)

BDHU avatar BDHU commented on August 16, 2024

注释掉

{{ partial "comment.html" . }}
.

from hugo-theme-mini.

yuxingwei avatar yuxingwei commented on August 16, 2024

注释掉

{{ partial "comment.html" . }}

.

很高兴可以收到你的回复。你说的是指包括文章页面的评论也关闭。这种方式可以直接在config.yaml中进行全局配置完成。我所提到的场景是这样的。你可以参考nodejh.com中,内容页中评论功能是开启的,关于页面的评论功能是关闭的。

备注:我的关于页面md文件格式参照exampleSite中about目录下的_index.md来写的。尝试了前面提到的两种配置方式均未生效

from hugo-theme-mini.

BDHU avatar BDHU commented on August 16, 2024

Not sure if this works:

{{ partial "comment.html" . }}

from hugo-theme-mini.

yuxingwei avatar yuxingwei commented on August 16, 2024

Not sure if this works:

{{ partial "comment.html" . }}

谢谢,它生效了

from hugo-theme-mini.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.