Skip to content
forked from yihui/hugo-xmin

eXtremely Minimal Hugo theme: about 150 lines of code in total, including HTML and CSS (with no dependencies)

License

Notifications You must be signed in to change notification settings

tmastny/hugo-xmin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HUGO XMIN

Fork

This fork primarily adds the Bootstrap Grid system for organizing blog posts into columns.

Following the directions from this Stackoverflow answer, you can easily add any number of columns within the body of the post:

<div class="row">
<div class="col-md-6"><h2>Column 1</h2>
`r ''````{r}
#1234567890#1234567890#1234567890#1234567890#1234567890#1234567890#1234567890#12
library(tidyverse)

ggplot2::diamonds
```
</div>
<div class="col-md-6"><h2>Column 2</h2>
```{r}
mtcars
```
</div>
</div>
library(tidyverse)

urchins <- read_csv("https://tidymodels.org/start/models/urchins.csv") %>%
  setNames(c("food_regime", "initial_volume", "width")) %>%
  mutate(food_regime = factor(food_regime, levels = c("Init", "Low", "High")))

urchins %>%
  group_by(food_regime) %>%
  summarise(
    across(everything(), mean), n = n()
  )

mean(urchins$width)
ggplot2::cut_interval(urchins$initial_volume)

About

eXtremely Minimal Hugo theme: about 150 lines of code in total, including HTML and CSS (with no dependencies)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 54.8%
  • SCSS 42.7%
  • R 2.5%