Questions tagged [blogdown]
blogdown is an R package for creating websites based on R Markdown and Hugo
522
questions
0
votes
1
answer
31
views
baseURL is changing after build_site()
When using Academic theme and building using blogdown in Rstudio, the baseurl is not preserved. My menu items link to https://heima.hafro.is/#experience instead of https://heima.hafro.is/~jim/#...
1
vote
1
answer
26
views
Cannot get a toc with Rmd using blogdown
I'm attempting to add a table of contents to a blogdown page using yaml. Read this post before posting. Also read through docs.
Within rstudio if I create a new project and choose the new blogdown ...
0
votes
1
answer
104
views
In Hugo/blogdown academic theme: How does one show full lists of posts, publications, and talks?
How does one display the whole list of publications, talks, etc. shown in the latest yaml based hugo/blogdown academic-theme? instead of default = abbreviated list of five publications with a link to &...
0
votes
0
answers
22
views
How to change font sizes in blogdown website?
I have a blogdown website using the Hugo Apero theme. I have tried downloading and changing the fonts listed (selecting larger sized font files) in the custom SCSS file in assets/, but this hasn't ...
0
votes
0
answers
46
views
RStudio-install blogdown: ERROR: dependencies ‘httpuv’, ‘servr’ are not available for package ‘blogdown’
I've tried installing from the repositories with no success. I've tried the solutions in this question thread. No luck. So I found the offending packages' zip files in my tmp folder, moved them to ...
0
votes
0
answers
39
views
Hugo site via blogdown doesn't render stylesheet due to http/https protocol
[Added Docker tag since it looks like running rstudio in Docker is what's causing the issue described in my post]
I recently posted about an issue I'm having rendering a stylesheet (deleting the old ...
2
votes
1
answer
53
views
Unable to create new posts with Hugo and blogdown
I am struggling to create new posts via blogdown. Everytime I attempt to create a new post, I get the following message:
Loading required package: shiny
Listening on http://127.0.0.1:4451
Warning in ...
1
vote
1
answer
103
views
How can I create a new post in blogdown with a .Rmd extension?
I'm trying to create an R Markdown file using the function blogdown::new_post("my new post"), but it always creates a straight markdown file with a .md extension.
In the RStudio addin there ...
2
votes
1
answer
74
views
Fixing broken relative links in RSS feed for blogdown posts using Hugo
Overall, the topic of my question is an old one: how to fix image paths to be absolute in RSS feed. As @Yihui notes, this is mostly a Hugo problem, not a blogdown problem, and is a problem everyone ...
1
vote
2
answers
112
views
How can I fix the Jekyll error "Liquid Exception: Invalid Date:..." when building my hugo-apero website using blogdown?
When I build my hugo-apero website in GitHub, I get the following error:
Liquid Exception: Invalid Date: '{}' is not a valid datetime. in /_layouts/default.html
ERROR: YOUR SITE COULD ...
0
votes
1
answer
65
views
How to display my chart from highcharter package correctly in my blogdown site? website available
I have a website that I created using the R package blogdown, which in turn is built on the Hugo framework. This website allows me to post R markdown files. The issue is the following: I need the ...
1
vote
1
answer
128
views
How to change the background color for inline codes and code chunks in Hugo-apero blogdown
Recently, I would like to make some changes with my personal website, made with Hugo Apéro and blogdown, and what I would like to do initially is to change the the background color for inline codes ...
1
vote
0
answers
51
views
Issue with Hugo theme when creating a website using blogdown
I am trying to create a website using blogdown package in R. I used the hugo theme hugo-coder. The repo is here - https://github.com/luizdepra/hugo-coder. Everything works as expected except for one ...
0
votes
0
answers
27
views
No image shown after inserting image using Blogdown Addins 'insert image' and remind me to download the image everytime I refresh the page
I tried to insert image following the tutorial, but it doesnt work out. I insert image in the pop-up window from Addins 'Insert Image', it does copy the image to content/post/2023-02-03-new-post/...
-1
votes
1
answer
70
views
Why is my blogdown website not updating despite working locally?
I'm trying to update a project website using hugo via blogdown through R and RStudio.
I'm making edits to the Tweet embedded on the front page as well as the people on the committee page.
All of the ...
0
votes
0
answers
67
views
How to fix the error [Failed to launch the site preview in 30 seconds] in Blogdown?
I'm trying to build a website using blogdown on my windows 10 laptop and when I run blogdown::serve_site(), Rstudio tells me:
Launching the server via the command: C:/Users/Tuan/AppData/Roaming/Hugo/0....
0
votes
2
answers
862
views
How to hide website title in quarto when using a title-block-banner?
I use a simple setup of a quarto website in R. The code is on GitHub https://github.com/EUV-student/history The site is on GitHub Pages https://euv-student.github.io/history/ I use a title-block-...
1
vote
1
answer
82
views
Is there any way to publish posts bilingually in websites made by blogdown and Hugo Apero theme?
I am a new user of Blogdown package and recently started blogging in my personal website. I am using Hugo-Apero theme. I published one English post and there is no problem. But, besides, I want my ...
1
vote
1
answer
46
views
What is the meaning of "safely add" in the check_site output
With the command check_site, I've got two [TODO]s with "safely add" suggestions, but I don't quite understand what these two messages really mean. Do I need to add Thumbs.db, .hugo_build....
0
votes
1
answer
62
views
Load table saved with qsave in R Markdown
I have a reactable table that I can display successfully on a web page if I embed the R Script in the R Markdown. However, I want to build the table in a separate R Script and load it into the R ...
2
votes
1
answer
804
views
Change the main/landing page of my Hugo Blog
I am quite new to Hugo and was building a website using Hugo and R blogdown. One issue I have, is that I can not figure out how to change the first page that appears when one loads the website/clicks ...
3
votes
0
answers
71
views
How to make footnote into tooltips in Blogdown?
I'm using Rmarkdown to make a blogdown post, and I'm hoping to implement something I saw in Hadley Wickham's Advanced R online book, which is a footnote link that when clicked on opens as a tooltip ...
0
votes
1
answer
93
views
Why is blogdown putting a mamba command through normalizePath?
Here's what I'm doing:
I have a blog that uses blogdown to render .Rmd files.
Some of the code snippets in the blog are in Python. I'm using reticulate for that.
I'm using a GitHub workflow to build ...
0
votes
1
answer
69
views
R blogdown is not showing the figure
I am trying to add this picture below to my blog
It generates an html file like this:
However, when I run blogdown::serve_site, the actual website appears without figure like this below:
Can ...
0
votes
0
answers
49
views
R blogdown::build_site does not generate any files in the public folder
I have tried using blogdown to create a personal website with the gcushen theme. Now, blogdown::serve_site() gives me a preview of my website, which looks perfectly fine. However, I am not able to ...
2
votes
1
answer
228
views
blogdown::new_site(): Error in dir.exists(x) : invalid filename argument
I am for the first time trying to make a website with blogdown. On running
setwd("..to-my-empty-website-directory..")
library(blogdown)
new_site(theme="yihui/hugo-xmin", dir="....
0
votes
1
answer
72
views
Preview of blogdown hugo page on Rstudio cloud not formatted
I am trying to follow this tutorial https://seanlee0622.medium.com/create-and-publish-a-website-with-r-and-hugo-2b7d1ff236f5 -> creating a webpage using Rstudio cloud blogdown and hugo.
When I do ...
0
votes
1
answer
77
views
"BLOGDOWN_POST_RELREF">: error calling getenv: access denied: "BLOGDOWN_POST_RELREF" is not whitelisted in policy "security.funcs.getenv"
I stopped blogging for a while, then when I came back to my blog working on a new machine with different packages versions.
Apparently my old version of tranquilpeak theme didnt work with the freshly ...
0
votes
0
answers
93
views
Blogdown website with wowchemy theme is not rendering interactive plots and table
I am using wowchemy theme for a blog. Initially, the visualization from ggplot2, plotly, and HTML table from DT::datatable was not rendering.
The static visualization is rendered using the following ...
1
vote
2
answers
418
views
Updating old RMarkdown hugo website running into errors
It's been a few year's since updating my personal website: https://statsbylopez.netlify.com/
That site was built with what now appears to be an outdated Hugo theme (hugo-academic).
On a new computer, ...
3
votes
2
answers
227
views
Adding a password to one page of a blogdown site
Is it possible to password protect one page of a website made using R blogdown, published using the free version of Netlify?
If not, it it possible to host a password protected RMD file on a blogdown ...
0
votes
1
answer
28
views
default index.rmd codes shown empty in blogdown using Rstudio
When I try to create my first personal website using blogdown in Rstudio, I start with File -> New Project -> New Directory ->website using blogdown with the default theme. Then I used to run ...
0
votes
0
answers
131
views
How to change website icon in R blogdown?
I modified a template in the blogdown package in R to build a website. Currently it shows like this in my browser:
Its icon uses a default image in the template and I want to change it. I am sure I ...
1
vote
1
answer
181
views
Why is table numbering not working with blogdown::html_page, but working with bookdown::html_document2?
I have a report written in R Markdown that is supposed to use numbered sections, figures, and tables and cross-references to them: https://github.com/joshuaborn/NSFG/blob/master/reports/use-of-...
1
vote
0
answers
243
views
rmarkdown does not render PDFs as batch
No solution offered yet and cross-posted to RStudio community:
https://community.rstudio.com/t/rmarkdown-does-not-render-pdfs-as-batch/136316
I have a rmarkdown file that renders well in RStudio with ...
2
votes
1
answer
187
views
(Blogdown) R Markdown Blog Post Doesn't Work
I created a blogdown website by doing blogdown::new_site(). It appears that the Markdown posts work perfectly fine but the R Markdown posts do not appear when I preview my site with blogdown::...
0
votes
1
answer
109
views
Problem adding code folding button in blogdown + Anatole theme
I am having a problem adding code folding to Anatole theme in Blogdown.
I have followed this blogpost and I managed to add both "Show/Hide all code" and the individual buttons for each code ...
2
votes
1
answer
231
views
Add tags to post summaries of lithium themed hugo blogdown website
Using the guidance linked to at Add template for taxonomies to Blogdown default theme I was able to add tags to show-up at the top of my posts and create a /tags page -- for my lithium themed hugo ...
3
votes
1
answer
336
views
Programmatically add tags to yaml header during knitting R markdown file
I'd like to programmatically add tags to the YAML header of a blogdown post when clicking the "knit" button.
For example something like this:
---
title: This is a post
author: brshallo
date: ...
1
vote
0
answers
24
views
Restore R Blogdown Site
I updated my studious of R and RStudio, and had to reinstall some packages, including blogdown. I also had to reinstall the theme that I was using. When I did, I neglected to realize that it would ...
1
vote
0
answers
70
views
Is is possible to generate slides using blogdown?
On my blogdown-powered site I'd like to also host some slides, which I often build with R Markdown and revealjs. But when I add a slides.Rmd file into some content directory, it just generates an ...
1
vote
0
answers
113
views
Change line height of Hugo theme smol
I want to modify the line height of this theme, but I can't find a valid solution.
Github: https://github.com/colorchestra/smol
summary.html controls the home page:
<article>
<p class=small&...
1
vote
0
answers
1k
views
How to create a custom HTML page in a Hugo website?
I want to add a custom HTML page to my Hugo website here, with its github repo here.
I do not want the Hugo theme to be used in this custom html page, all the needed css/javascript and some html is ...
2
votes
0
answers
112
views
blogdown - R plots get overwritten by latest document
I have several foo.Rmd documents, each one in a different content/lectures/bar/ folder, wehre bar is 00, 01 etc.
When I knit these, R plots get saved into the same static/rmarkdown-libs/figure-html5 ...
3
votes
1
answer
306
views
Syntax Highlighting in Hugo with blogdown in Rmarkdown
I'm using blogdown and the lxndrblz/anatole theme to create a blog.
The blog should have usual syntax highlighting, which should be supported.
When I create a new post in markdown (not Rmarkdown!) ...
0
votes
1
answer
447
views
Custom fonts not updating in params in Hugo via Blogdown
So I have been learning Blogdown to build my personal data blog: https://data-issues.netlify.app/
Built with the academic theme, I did change the colors with no issue.
I am making some changes in my ...
1
vote
1
answer
748
views
How to center an image using blogdown?
So I am building my first data blog with RStudio and Blogdown and I am seriously stuck on something small but infuriating.
https://data-issues.netlify.app/
Above is the site I am building. I made a ...
4
votes
0
answers
167
views
How to use Netlify identity widget in R blogdown
R blogdown is super convenient to publish Rmarkdown report using netlify.
In order to build a private blog and control access, I found netlify identity widget could be a solution. Useful reference are:...
0
votes
0
answers
155
views
How to upload a Hugo website into pages.sr.ht?
I am working on uploading my Hugo website (using blogdown) onto sourcehut pages following the instruction : instructions but I can't manage to upload the tarball to pages.sr.ht/publish. The curl ...
0
votes
0
answers
171
views
blogdown::serve:site() error: Failed to launch site
I am trying to preview the site but it does not work.
> blogdown::serve_site()
Launching the server via the command:
/home/ankaae/.local/share/Hugo/0.91.2/hugo server --bind 127.0.0.1 -p 4321 --...