gohugoio / hugoThemesSiteBuilder

The source for https://themes.gohugo.io

Home Page:https://themes.gohugo.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Themes updated inconsistently

leoheitmannruiz opened this issue · comments

It seems the Updated metadata displayed at themes.gohugo.io, for a few themes that have releases on GitHub, is the date of the latest release, not the latest commit, as is the case for most themes.

It seems to correlate with the way they are found in cmd/hugothemesitebuilder/build/go.mod:

However, for other themes, which have releases on GitHub, the date of the latest commit is displayed at themes.gohugo.io:

I suspect the first case also leads to the themes not being updated at themes.gohugo.io, as in the case of docsy: they have added a demosite several days ago, but the link is not displayed.

latest release, not the latest commit, as is the case for most themes.

It picks either:

  1. The latest release date (semver tag)
  2. The latest commit if theme has no releases.

This is backed by Go Modules (and not some home made logic of this theme)

Thanks! Glad to know what's going on there :)

I would prefer if the date was always the date of the last commit, though I suspect the complexity is not worth it.

Feel free to close this issue.

I would prefer if the date was always the date of the last commit, though I suspect the complexity is not worth it.

Note that the date represents the commit of the theme that we used (e.g. README content etc.), so I think it makes perfectly sense.