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

commands: Allow string slices in --theme #4868

Closed
jhabdas opened this Issue Jun 22, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@jhabdas
Copy link
Contributor

jhabdas commented Jun 22, 2018

Theme Components were introcuded in 0.42 with #4467. Running hugo -h on 0.42.1 provides the following output for the -t flag:

-t, --theme string               theme to use (located in /themes/THEMENAME/)

Should the CLI be updated to support theme components? If not, what is the suggested approach for programmatically building Hugo sites with theme components going forward?

@bep bep changed the title Update CLI for Theme Components? commands: Allow string slices in --theme Jun 22, 2018

@bep bep added the Enhancement label Jun 22, 2018

@bep bep added this to the v0.43 milestone Jun 22, 2018

@bep bep modified the milestones: v0.43, v0.44 Jun 30, 2018

@bep bep modified the milestones: v0.44, v0.45, v0.46 Jul 10, 2018

@jhabdas jhabdas closed this Jul 21, 2018

tryzniak added a commit to tryzniak/hugo that referenced this issue Jan 13, 2019

Make hugo server -t work again
This commit solves an issue where hugo would ignore the cli -t flag
and only use a theme defined in config.toml.

Also allow -t flag to accept a string slice.

Closes gohugoio#5569
Closes gohugoio#5061
Related gohugoio#4868

bep added a commit that referenced this issue Jan 13, 2019

Make hugo server -t work again
This commit solves an issue where hugo would ignore the cli -t flag
and only use a theme defined in config.toml.

Also allow -t flag to accept a string slice.

Closes #5569
Closes #5061
Related #4868

nguyenvanduocit added a commit to 12bitvn/hugo that referenced this issue Jan 18, 2019

Make hugo server -t work again
This commit solves an issue where hugo would ignore the cli -t flag
and only use a theme defined in config.toml.

Also allow -t flag to accept a string slice.

Closes gohugoio#5569
Closes gohugoio#5061
Related gohugoio#4868
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment