Questions tagged [blogdown]
blogdown is an R package for creating websites based on R Markdown and Hugo
508
questions
0
votes
0
answers
21
views
How to include R coding chunks in blogdown
I am trying to write a post on my website using R blogdown package and want to include some results rendered from a code chunk. But it seems the corresponding site doesn't show the result of that ...
0
votes
0
answers
19
views
Wierd font change when adding highlightjs to Hugo website using blowdown and Anatole theme
I am trying to add highlight.js to my Hugo website with Anatole theme.
This is how a code chunk looks like before adding highlightjs:
And this is how it looks like after adding highlight.js:
This is ...
0
votes
1
answer
18
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
27
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 ...
0
votes
1
answer
26
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-...
0
votes
0
answers
43
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 ...
0
votes
0
answers
9
views
Problem index site on Google created with blogdown in R software?
I am facing a problem with indexing my site on the internet (created with R software) and I am limited by my lack of knowledge: to make a long story short, the site is not found in the search bar, but ...
1
vote
0
answers
25
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
56
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 ...
0
votes
0
answers
15
views
custom theme for slides in blogdown package and Hugo
I'm using the Academic theme (Hugo) on my webpage, and I would like to know when creating slides, how can I customize Reveal? For example, I am using:
---
...
slide:
theme: night
...
---
how can I ...
2
votes
1
answer
50
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 ...
2
votes
1
answer
67
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
20
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
28
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
42
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&...
0
votes
0
answers
112
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 ...
1
vote
0
answers
31
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 ...
2
votes
1
answer
96
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
120
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
95
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 ...
3
votes
0
answers
63
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
74
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
43
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 --...
1
vote
1
answer
113
views
How can I create an .md file from a .Rmd file in order to create a TOC in hugo-Apero theme?
I am completely new to Rmarkdown and blogdown and I am having a hard time understanding how does .markdown, .Rmarkdown, .Rmd et .md etc... files are produced and, in some ways, are different working ...
7
votes
1
answer
781
views
blogdown::serve_site() fails to produce template site
I've been following the instructions here to install the R blogdown package and get my new site running. When I get to the step where I run serve_site(), I get the following error message:
Launching ...
0
votes
0
answers
14
views
What does generator() do within the code of blogdown::serve_site?
I am trying to understand how the function blogdown::serve_site works. Its code, in R console, is shown as below:
> blogdown::serve_site
function (..., .site_dir = NULL)
{
serve = switch(...
1
vote
0
answers
59
views
Is it possible to deploy a blogdown website containing Rmd post in Github Pages using relative url?
I am trying to deploy a blogdown website in Github Pages using relative url's, but to no avail. To demonstrate the problem, I have used here the example site provided with the theme hugo-lithium in ...
0
votes
0
answers
92
views
Error in rethrow_call(c_processx_exec, command, c(command, args), pty, : Command 'jekyll' not found @win/processx.c:982 (processx_exec)
I'm trying to use blogdown with jekyll.
I can build and serve the site outside RStudio, but I want to use the RStudio functions really.
When I run blogdown:::serve_site()
I get Error in rethrow_call(...
3
votes
0
answers
30
views
Using R variable to determine date in blogdown talk
this may be trivial or simply impossible, but I would like to allow the date of a blogdown "talk" to be determined by a R expression. The way I thought about it something like that
# Some R ...
0
votes
1
answer
122
views
Image scoping issue when using Wowchemy Hugo Academic and Blogdown workflow
I was following ApresHill's amazingly helpful blog post for creating my website. I have a question regarding the image scoping, I would appreciate it if someone can shed some light. Wowchemy tutorial ...
1
vote
1
answer
69
views
blogdown:::new_post_addin() causes unsolved error
I'm trying to create new post with new_post_addin().
then I got:
> Listening on [http://127.0.0.1:6651](http://127.0.0.1:6651/)
Warning in file(con, "r") :
cannot open file 'Content "...
1
vote
0
answers
49
views
wowchemy new project issue [closed]
library(blogdown)
new_site(theme = "wowchemy/starter-academic")
― Creating your new site
| Installing the theme wowchemy/starter-academic from github.com
trying URL 'https://github.com/...
0
votes
0
answers
16
views
blogdown doesn't recognize archetypes when using new_post() or add-in functionality
I apologize if this is a cross-post -- I already created an issue on the blogdown GitHub Repo, thinking it could be a bug. I found multiple GitHub issues (1, 2, 3, 4) and SO posts (1, 2) sounding ...
1
vote
1
answer
131
views
Cannot deploy website made by Blogdown in Github Pages
I want to deploy a Hugo-based website made using the blogdown package in Github Pages, while keeping the R source code of the website in the same repository. This should be achievable by generating ...
0
votes
1
answer
142
views
Failed to render pages. Failed: execute of template. Blogdown 1.6, Hugo Aperó 0.89.4, R 4.1.2,Netlify
After an upgrade R to Version 4.1.2, blogdown to 1.6 and Hugo-Aperó to 0.89.4, I can not render my site locally with blogdown:::serve_site() command and I can not update the site at Netlify.
The error ...
0
votes
0
answers
60
views
Rstudio blogdown issues creating new site
I'm trying to create a website using the blogdown package and the wowchemy/starter-hugo-academic theme, but I have problems with the new_site() function.
Below is the code with the error message and ...
0
votes
2
answers
61
views
blogdown: 'system3' is not an exported object from 'namespace:xfun'
On Windows 10, I am getting the following error with blogdown::new_site() function:
Hugo has been installed to "C:\Users\hp\AppData\Roaming\Hugo\0.89.4".
You are recommended to set options(...
0
votes
0
answers
15
views
How to add a meta tag to academic theme blogdown website?
I have created a website using the blogdown academic theme. I can see the meta tags if I look at the page source.
Now, I want to add a meta tag on the home page's head section for facebook domain ...
0
votes
0
answers
61
views
Anatole Hugo theme with R blogdown Error: executing "partials/head.html" at <resources>: wrong type for value
I use anatole theme with R blogdown, But I encounter some issues when I include custom CSS. The error message when I launched the website is the following
blogdown:::serve_site()
Launching the ...
1
vote
1
answer
105
views
How to fix an error with saving file "index.Rmd" in Blogdown?
I wanted to help with one question, but was recieved my own.
Where is a problem?
I tried to repeat some basics from there: https://bookdown.org/yihui/blogdown/a-quick-example.html
all instructions ...
0
votes
0
answers
44
views
Blogdown, interactive html plot not showing
I was wondering wether somebody was able to add html interactive plots, like plotly, htmlwidgests ecc, to a post of a blogdown site.
I have tried a lot and read many posts, but still I couldn't fix ...
2
votes
0
answers
58
views
Error when compile RMarkdown pdf file with package `vtable`
I encounter errors when running the following simple code in RMarkdown.
---
title: "debugging"
author: ""
date: "11/12/2021"
output: pdf_document
---
```{r}
library(...
1
vote
0
answers
61
views
How to have Frontpage Image before chapter title and book title?
Is that possible to have FrontPage Image
a) BEFORE first chapter title,
b) BEFORE book title?
Currently the only way to include any frontpage image seems to be AFTER the first-level (non-empty) ...
0
votes
0
answers
30
views
_bookdown.yml settings inside index.Rmd
Is that possible to set _bookdown.yml settings inside index.Rmd, insead of putting them in separate _bookdown.yml file?
I know this is possible to do for _output.yml settings -
(I already keep them ...
0
votes
0
answers
20
views
Why do I need to knit each distill blog twice?
The question is: why do i have to re-knit every blog post after I build the website? If I don't, the relevant index.html files get deleted, and the blog doesn't exist after I push to GitHub
The ...
0
votes
1
answer
183
views
How to create an Rmarkdown distill article that links directly to URL
I would like to link directly to a URL (say, http://www.stackoverflow.com) for a particular distill article post. Is it possible to do this somewhere in the YAML? Somewhere else?
---
title: "...
0
votes
0
answers
252
views
Activate/Deactivate widgets with hugo-academic in blogdown
I tried making a new website using blogdown and I wanted to use the hugo academic theme.
To do this I went
File >> New Project >> New Directory >> Website using blogdown
I set the ...
4
votes
0
answers
92
views
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 ...
0
votes
0
answers
60
views
blogdown find_config() cannot find config.yaml file in working directory
I have a magnificent blogdown site built with Hugo that I last successfully served with blogdown two days ago. Yesterday, when I tried to build a post again (without having changed anything else in ...
0
votes
0
answers
62
views
.Rmd not rendering in blogdown
Hello please I am trying to render a rmarkdown file on my website but I am geting this error,
blogdown:::serve_site()
Launching the server via the command:
C:/Users/Adejumo/AppData/Roaming/Hugo/0....