Skip to content
A somewhat-light unhelpfully-minimal blogdown theme
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
archetypes initial commit Apr 13, 2019
docs refreshed docs May 12, 2019
exampleSite
layouts
static links underlined not italicised Jun 23, 2019
.gitignore
LICENSE
README.Rmd added sample site as docs Apr 14, 2019
README.md added sample site as docs Apr 14, 2019
hugo-slum.Rproj finished the rename Apr 13, 2019
theme.toml minor fixes Apr 14, 2019

README.md

SLUM

The slum theme for Hugo is an adaptation Yihue Xie’s Xmin theme that borrows stylistic elements from the Tufte R Markdown theme and from the academic Hugo theme. I’m not really convinced it’s useful for much, hence the name; this is a somewhat-light unhelpfully-minimal Hugo theme. In truth, my main goal in putting this theme together was to make sure I understand the basics of how Hugo works.

Getting started

To create the example site using the slum template into a fresh directory:

blogdown::new_site(
  dir = "~/../Desktop/slum", 
  theme = "djnavarro/hugo-slum",
  theme_example = TRUE,
  sample = FALSE
)

By setting theme_example = TRUE (the default) it installs the example site, and by setting sample = FALSE it prevents Hugo from automatically including the default content.

To serve an existing site, assuming that R the working directory is set to the home directory for the site:

blogdown::serve_site()

The example site serves as a tutorial in how to use the theme, and you can see it at:

https://djnavarro.github.io/hugo-slum/

You can’t perform that action at this time.