Site icon R-bloggers

New blog site: From Jekyll to Hugo

[This article was first published on R on msperlin, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

I while ago I wrote about purchasing my own webserver in digital ocean and hosting my shinny applications. Last week I finally got some time to migrate my blog from Github to my new domain, www.msperlin.com. While doing that, I also decided to change the technology behind making the blog, from Jekyll to Hugo. Here are my reasons.

Jekyll is great for making simple static sites, specially with this template from Dean Attali. It was easy to set it up and host it in Github. My problems with this configuration are:

Hosting the static website in www.msperlin.com is very easy. I wrote a simple bash script that compiles the site locally using blogdown::build_site() and copy all files to my server with ssh. Going further, I also added documentation about my CRAN packages using pkgdown. See an example for PkgsFromFiles here.

I am very pleased with this setup and I hope that I won’t need to change it in the next couple of years. The transition is a lot of work! I had to recompile all Rmd posts and copy and paste all other textual content.

If you are a teacher or researcher, you really should look into Hugo-Academic. This is specially true if you use R, as you can integrate you Rmd files with blogdown.

To leave a comment for the author, please follow the link and comment on their blog: R on msperlin.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.