An open API service indexing awesome lists of open source software.

https://github.com/thomasheller/xmin2

xmin2 is a super minimalistic theme for Hugo based on XMin
https://github.com/thomasheller/xmin2

hugo hugo-theme theme

Last synced: about 2 months ago
JSON representation

xmin2 is a super minimalistic theme for Hugo based on XMin

Awesome Lists containing this project

README

        

# xmin2

xmin2 is a super minimalistic theme for [Hugo](https://gohugo.io/)
based on [XMin](https://github.com/yihui/hugo-xmin)
by [Yihui Xie](https://yihui.org/).

What's changed compared to the original XMin theme:

- only up to 10 recent posts on home page
- solid `


` style
- no special styling for article meta information
- ISO 8601 date format
- less prominent date styling
- paper style background
- link color
- larger line height for headings
- language switcher with the [LanguageIcon](https://www.languageicon.org)
- redesigned header to include site title
- tags are shown below posts

```bash
find . -not -path '*/exampleSite/*' \( -name '*.html' -o -name '*.css' \) | xargs wc -l
```

```
0 ./layouts/partials/head_custom.html
40 ./layouts/partials/header.html
0 ./layouts/partials/foot_custom.html
10 ./layouts/partials/footer.html
5 ./layouts/404.html
17 ./layouts/_default/single.html
20 ./layouts/_default/list.html
13 ./layouts/_default/terms.html
147 ./static/css/style.css
8 ./static/css/fonts.css
260 total
```

Check out the
[custom header](https://github.com/thomasheller/xmin2/blob/master/exampleSite/layouts/partials/head_custom.html)
file to see how to enable LaTeX support.

To preview this theme locally, run:

```bash
git clone https://github.com/thomasheller/xmin2
cd xmin2/exampleSite
hugo serve -t ../..
```