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?.

  • 3
    The website you are referring to talks about themes, your question talks about "website code". This is obviously a different scope. My recommendation is that you just read the MIT License and then specifically ask what remains unclear to you. Sep 18, 2022 at 9:49
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
    – Community Bot
    Sep 18, 2022 at 11:08
  • @Martin_in_AUT although then at that point the question just reduces to the poster's question on Friday which also needs clarification. Sep 18, 2022 at 13:15
  • I already edit the question, is clear enough?
    – dialac
    Sep 18, 2022 at 13:59
  • See also this related question with good answers: Where to put license for MIT licensed code on website
    – Brandin
    Sep 20, 2022 at 4:17

1 Answer 1


(Apart from the webserver itself and server side scripts,) HTML, XML, JS, CSS or whatever else your website sends to the browser to display the content is code, and you are distributing that code from the server to the client.

Therefore there is no difference between 'serving a webpage' and 'sharing code'. It is the same. You must therefore respect the requirements of the MIT license for the 3rd party components of your website.

  • Thanks for the clarification that was the point. So the code in my backend also needs give proper attribution in a MIT license?
    – dialac
    Sep 18, 2022 at 17:21
  • 2
    If the code in your backend is sent to the browser, then yes. But usually 'backend' means that it is not sent to the browser. Sep 19, 2022 at 6:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.