Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide --flags supprt #4

Open
DrDBanner opened this issue May 21, 2024 · 0 comments
Open

Provide --flags supprt #4

DrDBanner opened this issue May 21, 2024 · 0 comments

Comments

@DrDBanner
Copy link

Currently the startServer command doesn't seem to take all flags into account. Perhaps I am doing it wrong.

example.toml

baseURL = "http://my.url"
languageCode = "en-en"
title = "MyTitle"
theme = "influencer-hugo"
summaryLength = "10"
paginate = 6
themesDir = "../.."

[server]
bind = "192.168.0.1"
port = 8080
baseURL = "http://local.my.url"

In this particular case I have my themes dir located somewhere different. So, I need to pass the command myself.

hugo server -D --bind "192.168.0.1" --baseURL "http://local.my.url" --themesDir "../.." --port 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant