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

Problem when creating new site from RStudio with blogdown R package #656

Closed
AntoineSoetewey opened this issue Sep 20, 2023 · 3 comments
Closed
Labels
non-issue Nothing needs to be fixed

Comments

@AntoineSoetewey
Copy link
Contributor

Issue description

Hello,

I am trying to create a new site within RStudio with the blogdown R package.

Following this recommended workflow, I used to create new sites with blogdown::new_site(theme = 'jpanther/congo'). It worked fine in the past as I have used this command for several of my sites.

For a new site I'm trying to build, this command doesn't work anymore.

Here is the output of the error:

Screenshot 2023-09-20 at 12 19 30

It seems that the function "page" is not defined, but I don't know how to define it (and I never needed to define it in the past). Am I missing something?

Thanks in advance for your help!

Regards,
Antoine

Theme version

v2.6.1

Hugo version

0.91.2

Which browser rendering engines are you seeing the problem on?

No response

URL to sample repository or website

No response

Hugo output or build error messages

No response

@AntoineSoetewey AntoineSoetewey added the bug Something isn't working label Sep 20, 2023
@eliezerb
Copy link

Hey, @AntoineSoetewey, I had some free time today and tried to reproduce your problem here! You could try to update Hugo and see if that is the case. Otherwise, let me know if you have something else you want me to try :)

Setup

  • Windows 11 x64
  • RStudio 2023.06.02 - Build 561
  • Theme version v2.6.1
  • blogdown::hugo_version() - ‘0.118.2’

Steps

  • Made a clean install of R and RStudio
  • setwd("C:/Users/user/empty-folder")
  • install.packages("blogdown")
  • blogdown::new_site(theme = 'jpanther/congo')

Results

The web server ran normally, with the sample Markdown post working on the web application.

image

@micah-svenson
Copy link
Contributor

I had the same error show up when trying to run the congo example site just now.
Upgrading Hugo solved the issue for me. I went from Hugo 0.104.3 -> 0.118.2

@AntoineSoetewey
Copy link
Contributor Author

Upgrading Hugo solved the issue for me too. Thanks for your help!

@jpanther jpanther added non-issue Nothing needs to be fixed and removed bug Something isn't working labels Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
non-issue Nothing needs to be fixed
Projects
None yet
Development

No branches or pull requests

4 participants