Seems not this required. I found other theme from Hugo theme site , kind of like this: hugo-PaperMod. And in the older version I had created config.toml file in exampleSite folder, but I found the Hugo newest version create site config file name change to hugo.toml , So I change it’s name to hugo.toml in latest release.
Create a config.toml file that specifies the Hugo version(s) supported by your theme. Also, add a theme.toml file and include some relevant metadata about the theme
Yeah, the first project which url is github.com/elkan1788/hugo-theme-next was expired, but I don’t know how to remove it. Now I only maintain the second project which url is github.com/hugo-next/hugo-theme-next with Hugo newest syntax.
So this is the problem why my theme project not display in Hugo theme website?
You had two themes with the same name, and the expired one overwrote the other. Since its expiryDate was in the past, it didn’t get published when the site built. All you needed to do was submit a PR to remove the entry for the expired theme. There was also a separate issue stopping the site from rebuilding, which I’ve now fixed along with the theme problem.