Does the "hugo new theme" get updates?

Hi, I am brand new to Hugo and love it! Thanks and gratitude to the developers and support people.

I have spent the last week learning Hugo, including learning how to create custom themes from the “built-in theme” created by using “hugo new theme”. I am extremely happy how I could so easily create themes just the way I like them.

In some other website generators / CMS’s, theme component files are regularly updated. I am wondering if Hugo will ever update this “built-in” theme. Please let me know if there is a more official name for this theme :slight_smile:

To try to get an answer to this I have done the following:

  • Searched the docs and found only the “hugo new theme” page which does not seem to discuss this.

  • Viewed the theme’s README.md which does not discuss this and I presume is to be filled in by the user

  • Searched in the forum and did not find anything.

I only mention the above to indicate I am trying to find the answers myself first, before posting here, not to complain :slight_smile:

Q1 - Does the Hugo “built-in” theme get updates?

Q2 - In case the theme does get updates, in which case main.css in [sitename]/themes/[themename]/assets/css may get over-written, I have been putting the theme’s main.css file under [sitename]/assets/css. And other files in their appropriate location under [sitename] such baseof.html under [sitename]/layouts/_default. Do I need to do this? Is this the best location?

Thanks ahead of time for any help and replies :slight_smile:

I understand your question, but Hugo doesn’t have a “built-in” theme.

The the hugo new theme just writes a bunch of files to disk… once. Think of it as a recursive copy of a directory. Once written to disk Hugo will never update those files.

1 Like

@jmooring - Thank you for your quick and helpful reply - that answers both my questions :slight_smile:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.