HugoBlox / hugo-blox-builder

🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
https://hugoblox.com/templates/
MIT License
8.19k stars 2.9k forks source link

Issue using addin:new_post() function in rstudio #1448

Closed Djaygo closed 4 years ago

Djaygo commented 4 years ago

Describe the bug

The addin for the creation of new blogs is not working.

To Reproduce

Steps to reproduce the behavior:

  1. Open RStudio
  2. New project
  3. Website using blogdown
  4. Fill in descriptives
  5. Hugo theme fill in: gcushen/hugo-academic
  6. Paste example website into main folder.
  7. Use the new post addin image
  8. fill in descriptives
  9. Error: module "academic" not found; either add it as a Hugo Module or store it in

Expected behavior

A new post being generated and opened in RStudio

Technical details:

If applicable, add screenshots to help explain the issue. ⁨config⁩/_default⁩/config.toml

# Name of Academic theme folder in `themes/`.
theme = "academic"

Change to:

# Name of Academic theme folder in `themes/`.
theme = "hugo-academic"
gcushen commented 4 years ago

Our official installation instructions for RStudio are in the readme and on our website - they differ to the steps you followed. Maybe RStudio/Blogdown will improve in future to better support this case.