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

Missing website menu bar buttons when using blogdown to render web pages #753

Closed
mengjiezhang4ds opened this issue Jun 6, 2023 · 3 comments

Comments

@mengjiezhang4ds
Copy link

mengjiezhang4ds commented Jun 6, 2023

Dear developer team, when I use blogdown to generate a website, the desired effect is that the menu bar button on my website is missing, and I also found it missing after changing the Hugo theme. What is the reason for this?

This is the effect I want:

1

But the website I generated looks like this:

2

My R language version information

`> sessionInfo()
R version 4.2.2 (2022-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 22000)

Matrix products: default

locale:
[1] LC_COLLATE=Chinese (Simplified)_China.utf8
[2] LC_CTYPE=Chinese (Simplified)_China.utf8
[3] LC_MONETARY=Chinese (Simplified)_China.utf8
[4] LC_NUMERIC=C
[5] LC_TIME=Chinese (Simplified)_China.utf8

attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):
[1] Rcpp_1.0.10 ps_1.7.5 later_1.3.1 digest_0.6.31
[5] R6_2.5.1 jsonlite_1.8.4 magrittr_2.0.3 evaluate_0.21
[9] blogdown_1.17 rlang_1.1.1 cli_3.6.1 promises_1.2.0.1
[13] rstudioapi_0.14 rmarkdown_2.21 tools_4.2.2 servr_0.27
[17] processx_3.8.1 httpuv_1.6.11 xfun_0.39 yaml_2.3.7
[21] fastmap_1.1.1 compiler_4.2.2 htmltools_0.5.5 knitr_1.43
`

My Hugo version 0.112.5

@mengjiezhang4ds mengjiezhang4ds changed the title Missing website menu bar buttons when using *blogdown* to render web pages Missing website menu bar buttons when using blogdown to render web pages Jun 6, 2023
@yihui
Copy link
Member

yihui commented Jun 15, 2023

Please see https://yihui.org/en/2023/05/hugo-112/ and use a lower version of Hugo instead. I'll investigate this issue anyway and hopefully blogdown will work with higher versions of Hugo soon. Thanks for the report!

@yihui yihui closed this as completed in 928e92f Jun 18, 2023
@yihui
Copy link
Member

yihui commented Jun 18, 2023

Should be fixed now. You can install the development version via

remotes::install_github('rstudio/blogdown')

@mengjiezhang4ds
Copy link
Author

The new development version of blogdown has worked. Thank you very much. This issue has been bothering me for a week now, and I can continue to move on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants