Converting to blogdown

April 29, 2017
By

(This article was first published on R on Rob J Hyndman, and kindly contributed to R-bloggers)

This website has gone through several major updates over the years. It began in 1993 as some handcrafted html files, transitioned to Joomla and later to WordPress. Then it slowly grew into a collection of ten connected WordPress installations that became increasingly difficult to maintain, and rather slow.

So I’ve now converted the entire site to Blogdown/Hugo. Nearly 700 pages of wordpress content have been translated to markdown. I decided to drop a few parts of the site, notably the pages for my 1998 forecasting textbook. I also removed all software pages – preferring to host them on github instead. It is now much faster to load, and much easier to maintain.

Blogdown is relatively new and the documentation is rather incomplete, so there was a lot of trial and error as I figured out how it worked. Some useful resources were:

  • Amber Thomas’s blog post on making a website using blogdown, hugo and github pages.
  • Justin Dunham’s blog post on migrating wordpress content to hugo.

Because it is all so new, the theming options are rather limited. I modified the hugo-finite theme, and borrowed some design ideas from Kieran Healy.

The source code for the site is now hosted on github.

Given the size of this site, there are bound to be some problems. So please feel free to let me know if anything doesn’t work.

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

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)