blogdown

Error using blogdown serve_site

孤街醉人 提交于 2021-02-08 10:01:51
问题 I started building my website a few days ago. For some reason, I am getting a strange behavior with the function serve_site. After I close R studio, if I open again and run blogdown:::serve_site() , I dont get any error, but also Viewer window remains empty. I have no idea what it is going on, any suggestion? 来源: https://stackoverflow.com/questions/48119912/error-using-blogdown-serve-site

Blogdown serve_site() removes absolute image paths for Twitter cards

旧城冷巷雨未停 提交于 2021-01-29 14:38:39
问题 Based on this question, it's clear that Twitter requires absolute paths for card images. With that in mind, I've set baseurl = "https://strimas.com/" in my config.toml file for the Hugo Academic theme. When I build the entire site with build_site() , everything works as desired, the twitter:image metatag contains the full path to the image, and the card renders properly. However, when I use serve_site() to only re-build changed posts, it breaks everything, the image URLs go back to relative,

R blogdown : deploy with github actions on gh-pages

南笙酒味 提交于 2021-01-28 19:18:01
问题 Is there a repo somewhere where a blogdown website is builded by github action and where the public directory is then commited to github pages ? I would like to see the .github/workflow :) Thanks ! 回答1: In fact, using the research functions on github yields a bunch of repo that do it : https://github.com/search?q=blogdown+path%3A.github%2Fworkflows So from these examples, the question is solved. Edit : It's a private repo, but i've copied the .github/worklfows/build.yaml file into this gist :

Blogdown new post addin creates but not loads new file

霸气de小男生 提交于 2021-01-28 08:00:16
问题 Context After installed (see previous post) and configured my personal Hugo website for a multilingual setup (by directories), I wanted to start creating content. Ideally, I wanted to use blogdown in RStudio, via the addins. The website uses the Academic theme, rebranded now as Wowchemy. The content directory tree is as follows: content | ├── en ├── authors ├── files (for static files) ├── home (homepage widgets) ├── post ├── project └── resources | └── hu ├── authors ├── files (for static

Need to install Go to use blogdown with Academic Hugo theme

半城伤御伤魂 提交于 2021-01-28 07:01:55
问题 Description I wanted to set up a personal website with blogdown , using the Academic Hugo theme. I almost read the entire book of blogdown: Creating Websites with R Markdown and several tutorials, like Allison Hill's or Annie Lyu's. I have chosen blogdown because I am familiar with RStudio and R and Academic because there are suggestions in the references to pick a maintained theme, like Academic. I installed blogdown and Hugo as the book suggests and tried to install the theme by the RStudio

.Rmd posts do not render in Blogdown using 'wowchemy/starter-academic' in multilingual configuration

无人久伴 提交于 2021-01-27 18:31:32
问题 I installed via Rstudio a Blogdown using 'wowchemy/starter-academic' theme (aka hugo-academic). I changed to put the multilingual configuration in language.tom . And I put the initial folders home and post in the folders content/en and content/es [en] languageCode = "en-us" contentDir = "content/en" # Uncomment for multi-lingual sites, and move English content into `en` sub-folder. # Uncomment the lines below to configure your website in a second language. [es] languageCode = "es-ES"

Get blogdown on r-blogggers for hugo-goa

感情迁移 提交于 2021-01-27 11:21:36
问题 I attempt to bring the following blog style blogdown::new_site(theme = "shenoybr/hugo-goa") to r-bloggers. Following How do I get my blogdown blog on R-Bloggers? seems to be outdated. A new solution appeared: https://stackoverflow.com/a/63499033/8538074, which i attempted to follow. dir.create("blog18") setwd("blog18") blogdown::new_site(theme = "shenoybr/hugo-goa") Then follow the answer linked above: dir.create(path = "layouts/tags") xx = readLines("https://raw.githubusercontent.com

Problem with rendering Hugo/blogdown site

隐身守侯 提交于 2020-12-12 10:07:55
问题 I've seen the post about blogdown::serve_site() no longer serving the site and read the release notes for blogdown 0.21, but it didn't help with my problem. My workflow is/was to write a post, then click "Serve Site" in RStudio and check out the newly generated files in the public/ folder of my project. I have a symbolic link of that folder in my ShinyApps directory so I can view my site via the Shiny server. This is great, because then my colleagues who also use the server can see my site as

Problem with rendering Hugo/blogdown site

梦想与她 提交于 2020-12-12 10:07:33
问题 I've seen the post about blogdown::serve_site() no longer serving the site and read the release notes for blogdown 0.21, but it didn't help with my problem. My workflow is/was to write a post, then click "Serve Site" in RStudio and check out the newly generated files in the public/ folder of my project. I have a symbolic link of that folder in my ShinyApps directory so I can view my site via the Shiny server. This is great, because then my colleagues who also use the server can see my site as

Problem with rendering Hugo/blogdown site

时光怂恿深爱的人放手 提交于 2020-12-12 10:07:10
问题 I've seen the post about blogdown::serve_site() no longer serving the site and read the release notes for blogdown 0.21, but it didn't help with my problem. My workflow is/was to write a post, then click "Serve Site" in RStudio and check out the newly generated files in the public/ folder of my project. I have a symbolic link of that folder in my ShinyApps directory so I can view my site via the Shiny server. This is great, because then my colleagues who also use the server can see my site as