rstudio / blogdown

Create Blogs and Websites with R Markdown
https://pkgs.rstudio.com/blogdown/
1.73k stars 335 forks source link

hugo-academic fails #177

Closed larssk closed 7 years ago

larssk commented 7 years ago
> blogdown::install_theme('gcushen/hugo-academic')
trying URL 'https://github.com/gcushen/hugo-academic/archive/master.zip'
Content type 'application/zip' length 1147058 bytes (1.1 MB)
==================================================
downloaded 1.1 MB

Warning message:
In file.rename(zipdir, gsub(sprintf("-%s$", branch), "", zipdir)) :
  cannot rename file './hugo-academic-master' to './hugo-academic', reason 'File exists'
>  blogdown::serve_site()
Started building sites ...
ERROR 2017/08/10 10:41:50 Error while rendering "page": template: theme/_default/single.html:10:7: executing "theme/_default/single.html" at <partial "article_met...>: error calling partial: template: theme/partials/article_metadata.html:7:24: executing "theme/partials/article_metadata.html" at <$.Site.Params.date_f...>: invalid value; expected string
Serving the directory /home/slars/public_html/wasbsite4 at http://127.0.0.1:4321
yihui commented 7 years ago

Please reinstall blogdown from this repo and follow instructions in the error message when you run into problems.

BTW, I'm not sure if you have read the second paragraph of this page: https://bookdown.org/yihui/blogdown/other-themes.html