Questions tagged [blogdown]

blogdown is an R package for creating websites based on R Markdown and Hugo

The blogdown package is an open-source (GPL-3) R package to create blogs and websites based on R Markdown and the static site generator Hugo. The full documentation is at https://bookdown.org/yihui/blogdown.

526 questions
5
votes
2 answers

Blogdown kable tables formatting (ugly)

kable(head(mtcars) %>% kable_styling(bootstrap_options = c("striped", "hover")) A normal R Markdown document, utilizing a kable table (see above), is quite striking and looks like this: However, when I use the same code chunk in blogdown, the…
Display name
  • 4,153
  • 5
  • 27
  • 75
5
votes
1 answer

Blogdown doesnt render properly on netlify (theme tranquilpeak)

The tranquilpeak website doesnt render properly on netlify even though it looks fine locally. screen shots are below. My repo is located here. Any help would be greatly appreciated. It took me multiple trials and errors to get my site to work…
Zoltan
  • 760
  • 4
  • 15
5
votes
1 answer

Blogdown Website post - Hide date and/or title of post

I would like to remove the date from a post without having to manually delete from the html from the public folder after running blogdown::build_site(). I have a post called Gallery which has the following yaml header in the Rmarkdown file at the…
Jas
  • 794
  • 12
  • 22
5
votes
3 answers

New blogdown posts showing on R-Studio, not rendering on Netlify? How to debug?

I've added a couple of blogposts to my blogdown/netlify backed site…
brainstorm
  • 720
  • 7
  • 24
5
votes
1 answer

How to display another html document in place of a standard blog post?

I've got a blog that I update using R Blogdown. It's got a Hugo theme with YAML configuration and front matter. I host on Netlify. I'd like to create a post where, upon clicking the link for the post, the user sees a totally separate html file…
Logit
  • 551
  • 4
  • 9
5
votes
2 answers

Add visitor count and analytics to R blogdown > netlify housted website

I am creating my personal website (here) using R blogdown (using a Hugo template). The site is hosted on github and I managed get it to continously integrated with netlify. I would like to keep track of some visitor analytics. How can I add a…
LucasMation
  • 2,408
  • 2
  • 22
  • 45
5
votes
1 answer

blogdown deployment newbie issue

I had recently posted a question about the deployment of my blogdown based website here. I was not exactly following the instructions in the blogdown book, but I got the issue resolved - thanks to the answer by Yihui. I am trying to load my website…
Satya
  • 1,708
  • 1
  • 15
  • 39
5
votes
1 answer

how to render output of wordcloud2 in RMarkdown

How can I make sure that the output of wordcloud2::wordcloud2() appears in my RMarkdown (HTML) document? It renders fine in RStudio, including in the preview of the RMarkdown document, but when I upload it to my netlify site with blogdown, it…
RobertMyles
  • 2,673
  • 3
  • 30
  • 45
5
votes
1 answer

Reading data files in blogdown

I am a new user of blogdown using Hugo. I would like to create a new post that includes R code to read a data file. The data file is in my static folder, local path C:\mydir\myblogdown\static\data\savedrecs.txt. Since I was successful in referring…
Jean V. Adams
  • 4,634
  • 2
  • 29
  • 46
5
votes
2 answers

Problems with Math in R blogdown package in .md files with HUGO

I was wondering if anyone can help me fix the following problem with math rendering in the R blogdown package for Hugo static websites? I made a screenshot showing the Latex code and below the output I get. The formulas render fine in Atom…
Christoph
  • 575
  • 4
  • 15
4
votes
0 answers

Blogdown not displaying plots

I have my blogdown site that has been running for a while. When writing a post today I cannot get plots to render when running serve_site(). The plot generates fine when running the .Rmd in interactive mode, it's only when being built by…
Conor Neilson
  • 1,026
  • 1
  • 11
  • 27
4
votes
1 answer

blogdown::serve_site() times out and live preview in viewer does not load

I have made a site using blogdown but never got around to deploying it. I haven't touched my site for maybe a month and half but the live preview was working at that time. I could see a preview of my site in the Viewer tab. Today, I opened my…
dhonda
  • 41
  • 2
4
votes
1 answer

Pandoc rules regarding LaTeX not followed on R blogdown hugo themes

I can create a new blogdown site utilizing the default hugo-lithium theme and the text statement below will not render as a LaTeX equation, which is the behavior I expect. An amount between $5 and $10. Pandoc's manual explains the reason why, which…
Display name
  • 4,153
  • 5
  • 27
  • 75
4
votes
1 answer

Modifying font-title of blogdown webst

Hello guys this is my first question regarding the blog. I would like to make a basic change to the blog title. The blog is from this link: yihui This is the .toml file: baseurl = "/" languageCode = "en-us" title = "This is the Title I want…
Laura
  • 675
  • 10
  • 32
4
votes
1 answer

Generated links broken in Hugo/Blogdown when publishing to domain with subfolder

I am trying to use Hugo Xmin to create a static site. My site will be hosted in the gh-pages of my repository, therefore the final URL will look like: https://myuser.github.io/myrepo/ Note At my current stage, I haven't modified any file in the…
Andry
  • 16,172
  • 27
  • 138
  • 246
1 2
3
35 36