Doubts about folder based archetypes with dots in the folder path

I have this structure in the archetypes folder:

archetypes
    releases
        _index.adoc
        readme.adoc
content
    en
        releases
            11.0R
                _index.adoc
                readme.adoc

When I execute the hugo new command

hugo new --kind releases releases/15.1R

Hugo fails and shows this message to me:

Error: target path "releases/15.1R" is not a known content format

There’s a way to use dots in the folder name?

looks like an error, GITHUB is the right place to give ist to the developers :wink:

The content files are only visible to the editors, use an underscore and you are fine 11_0R

HTH

@carlavilla
Just tried adding / suffix and it works. :smiley:

hugo new --kind releases releases/15.1R/
1 Like

Thanks!!!

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