You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create a blogdown site using the Blackburn theme but keep getting an error when I try to serve the site. I am using Hugo version 0.55.5, R-Studio version 1.2.1335, and R version 3.5.3.
My code is: library(blogdown) new_site(theme = 'yoshiharuyamashita/blackburn', sample = TRUE, theme_example = TRUE, empty_dirs = TRUE, to_yaml = TRUE) install_hugo() build_site() serve_site()
The only other changes I've made are the basic config.toml changes specified such as changing the ignore files and the baseurl to my domain.
The error I get is:
serve_site()
Error: unknown command "technical" for "hugo"
Run 'hugo --help' for usage.
Error: unknown command "technical" for "hugo"
Run 'hugo --help' for usage.
The system cannot find the path specified.
Error in shell(cmd, mustWork = TRUE, intern = intern) :
'"C:\Users\Rika\AppData\Roaming\Hugo\hugo.exe" -b / -D -F -d "public" --themesDir themes -t A technical blog by Rika Gorn' execution failed with error code 1
The text was updated successfully, but these errors were encountered:
I know this is a very old issue, and I've never used blogdown, but the error listed here and your code should make this pretty straightforward to answer. I am nearly certain that your issue is that you have theme = "A technical blog by Rika Gorn" in your config.toml. The theme attribute needs to be set to the relative path the theme you're using, or to its name if it's within the expected hierarchy for hugo.
I am trying to create a blogdown site using the Blackburn theme but keep getting an error when I try to serve the site. I am using Hugo version 0.55.5, R-Studio version 1.2.1335, and R version 3.5.3.
My repo is here: https://github.com/Rikagx/personal-website
My code is:
library(blogdown) new_site(theme = 'yoshiharuyamashita/blackburn', sample = TRUE, theme_example = TRUE, empty_dirs = TRUE, to_yaml = TRUE) install_hugo() build_site() serve_site()
The only other changes I've made are the basic config.toml changes specified such as changing the ignore files and the baseurl to my domain.
The error I get is:
The text was updated successfully, but these errors were encountered: