Skip to content

Is there any way to generate the correct public files ? #75

@laowalter

Description

@laowalter

I run jojomi/hugo in my linux server, like :

docker run --rm --name "my-hugo" -p 1313:1313 -v ~/hugo-blog/:/src -e HUGO_THEME="mytheme" -e HUGO_WATCH="true" -e HUGO_DESTINATION="public" -e HUGO_BASEURL=192.168.0.123 jojomi/hugo

then I tired:
docker exe -it my-hugo hugo -D

and then html files in public have unexpected oversheads, like 1313 or duplicated "address". Is there a way to generate correct public directory files for a given domain, abc.com for example, by one command line ?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions