The slumdown package is an experiment in creating a simple “blogdown native” Hugo theme, one that assumes that posts are written using R Markdown. It extends the slum theme for Hugo by providing an interface for customising the blog within R and a system for generating plots that use the same colour scheme as the blog post. The slumdown package is only available on GitHub:
By default, the slumdown package assumes the source code for the site takes the form of an RStudio project, and will be deployed to GitHub pages, though neither is strictly necessary. To get started:
This will create a new RStudio project called
blog (or whatever), download the slum theme and the example site. From within the project, initialise the blog using
Blogdown will then generate the example site in the
docs folder, which provides a short tutorial on how to get started using the package and what it is capable of.