This is the answers I am refering to: https://discourse.gohugo.io/t/how-to-put-the-themes-mit-license-information-on-my-website/32001.
Edit: They talk about a difference between serving in a web page and sharing or selling a code. Remember a MIT license is a software license, so even if they are talking about themes they are talking about the code and software behind. So my question is if am just serving as the answers explain,Do I still have to attribute in a MIT license?.