Questions tagged [blogdown]

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

Filter by
Sorted by
Tagged with
27
votes
2answers
1k views

How do I get my blogdown blog on R-Bloggers?

I generate my blog using blogdown but when I have tried to submit it to R-Bloggers it is not accepted because my feed returns the following error: This XML document is invalid, likely due to invalid ...
14
votes
1answer
2k views

Incorporating interactive shiny apps into Rmarkdown document for blogdown Hugo blog

I am attempting to upload my first post to a Hugo blog using RMarkdown. Below you can find my code creating the document: --- title: "Untitled" author: "Jorge" date: "September 9, 2017" output: ...
13
votes
1answer
1k views

gitlab-runner errors on local windows

I am trying to generate my work in progress hugo website locally. It works fine with gitlab CI. I installed docker and the gitlab runner service. Then using the guide here I figured that I am ...
12
votes
1answer
664 views

How to prevent blogdown from rerendering all posts?

Background: I am featuring a blog built on @YihuiXie's R package blogdown. Problem: When I render_site(), all source files (*.Rmd) are rendered - even the unchanged source files are re-reendered. ...
10
votes
1answer
2k views

How to host multiple Github repos using the same custom domain on Netlify?

I am currently hosting my personal website (created using blogdown and Hugo) using Netlify at wjakethompson.com. This is deployed through a Github repository. I now have a bookdown project in a ...
10
votes
1answer
2k views

Google Analytics does not work with blogdown

I use the hugo-academic theme. As Google Analytics did not work I noticed that Google Analytics Templates were missing. {{ template "_internal/google_analytics.html" . }} {{ template "_internal/...
10
votes
1answer
1k views

Best practice for updating Hugo academic theme installed with install_hugo()

Since I did not use git clone to install the Hugo academic theme with R blogdown, and since I use my own git repository to manage the entire blogdown directory structure (which includes theme) it ...
9
votes
7answers
19k views

“Page Not Found” when trying to access a site deployed on Netlify

I'm running a static blogdown site and deploy it on Netlify. I source files on GitHub, Hugo builds the site, and Netlify deploys it. Netlify reports that the site is live (deploy log enclosed at the ...
9
votes
2answers
2k views

How to add icon to webpage tabs in blogdown

How can I add a favicon to by blogdown website? I am using the minimal theme. I tried adding the line in the config.toml favicon = imgPath and I also attemped to move 'favicon.ico' to the static ...
9
votes
1answer
841 views

How to upload Jupyter notebooks using blogdown on netlify?

I would like to upload my Jupyter notebook on my website using Blogdown/Netlify? When I converted my ipynb to md, and added info to the YAML, I was able to upload it. But this upload causes it to ...
9
votes
2answers
304 views

Display several code chunks in a concise way

I'm creating a blog with blogdown in which I compare code from R and code from Stata. I would like to show both codes so that the user can compare how it's done in R and in Stata. Howewer, putting two ...
7
votes
1answer
1k views

.Rprofile not sourced

I am trying to set some global options for blogdown package in ~/.Rprofile script but they are not being sourced. Here's how the .Rprofile script looks like: options(blogdown.ext = ".Rmd", blogdown....
7
votes
1answer
2k views

Website not updating with blogdown & hugo

I know this question is likely to get down-voted due to insufficient reproducibility of code leading to the error, but I am so dumbfounded by the error I do not even know where to start in explaining ...
6
votes
2answers
1k views

Embed a tweet in a blogdown post

I want to embed a tweet with an image. When I embed a tweet on a blogdown post using shortcodes it does not appear in the twitter style For example using the shortcode: {{< tweet ...
6
votes
2answers
2k views

Relative image paths for Twitter cards in blogdown

I'm trying to set up a template for generating Twitter Cards in blogdown. It put the following in layouts/partials/twitter-card.html: <meta name="twitter:site" content="@myname"> <meta name="...

15 30 50 per page
1
2 3 4 5
…
29