All Projects → yihui → Hugo Xmin

yihui / Hugo Xmin

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

Projects that are alternatives of or similar to Hugo Xmin

Hugo Theme Console
A minimal, responsive and light theme for Hugo inspired by Linux console.
Stars: ✭ 143 (-59.26%)
Mutual labels:  hugo, hugo-theme, minimalist
Hugo Coder
A minimalist blog theme for hugo.
Stars: ✭ 1,374 (+291.45%)
Mutual labels:  hugo, hugo-theme, minimalist
Hugo Fresh
Hugo Fresh Theme
Stars: ✭ 317 (-9.69%)
Mutual labels:  hugo, hugo-theme
hugo-theme-mixedpaper
A Hugo theme
Stars: ✭ 17 (-95.16%)
Mutual labels:  hugo-theme, hugo
Hugo Creative Portfolio Theme
Port of the creative portfolio theme to Hugo
Stars: ✭ 311 (-11.4%)
Mutual labels:  hugo, hugo-theme
hugo-lithium
Lithium - A simple responsive Hugo theme
Stars: ✭ 68 (-80.63%)
Mutual labels:  hugo-theme, hugo
hugo-theme-lean-launch-page
A theme for people creating pre-launch pages for a product or business. Allows you to have a landing page while collecting emails.
Stars: ✭ 26 (-92.59%)
Mutual labels:  hugo-theme, hugo
Hugo Theme Zozo
🌟 A simple and beautiful theme for Hugo
Stars: ✭ 258 (-26.5%)
Mutual labels:  hugo, hugo-theme
Binario
Responsive card-based & code-light Hugo theme
Stars: ✭ 79 (-77.49%)
Mutual labels:  hugo-theme, hugo
Blackburn
A Hugo theme built using Yahoo's Pure CSS
Stars: ✭ 279 (-20.51%)
Mutual labels:  hugo, hugo-theme
Cocoa Hugo Theme
Responsive Hugo blog theme
Stars: ✭ 306 (-12.82%)
Mutual labels:  hugo, hugo-theme
Doks
Hugo theme helping you build modern documentation websites.
Stars: ✭ 256 (-27.07%)
Mutual labels:  hugo, hugo-theme
hugo-apero-docs
Apéro is a Hugo theme for personal websites. This is the documentation site, made with the theme 🍋
Stars: ✭ 56 (-84.05%)
Mutual labels:  hugo-theme, hugo
simpleit-hugo-theme
Responsive Hugo theme for hierarchical content websites
Stars: ✭ 16 (-95.44%)
Mutual labels:  hugo-theme, hugo
Kiss
Stupidly simple Hugo blogging theme
Stars: ✭ 260 (-25.93%)
Mutual labels:  hugo, hugo-theme
hugo-geekdoc
Hugo theme made for documentation
Stars: ✭ 284 (-19.09%)
Mutual labels:  hugo-theme, hugo
onepress
A simple, clean, and responsive "Hugo - Static Site Generator" theme for bloggers
Stars: ✭ 20 (-94.3%)
Mutual labels:  hugo-theme, hugo
Kube
Kube is a professional and a responsive Hugo theme for developers and designers that offers a documentation section mixed with a landing page and a blog.
Stars: ✭ 349 (-0.57%)
Mutual labels:  hugo, hugo-theme
vanilla-bootstrap-hugo-theme
A vanilla Bootstrap theme for Hugo
Stars: ✭ 63 (-82.05%)
Mutual labels:  hugo-theme, hugo
bookworm-light
Bookworm is a clean and modern Hugo blog theme focused on high speed and support multiple authors.
Stars: ✭ 59 (-83.19%)
Mutual labels:  hugo-theme, hugo

HUGO XMIN

Keep it simple, but not simpler

XMin is a Hugo theme written by Yihui Xie in about four hours: half an hour was spent on the Hugo templates, and 3.5 hours were spent on styling. The main motivation for writing this theme was to provide a really minimal example to beginners of Hugo templates. This XMin theme contains about 130 lines of code in total, including the code in HTML templates and CSS (also counting empty lines).

find . -not -path '*/exampleSite/*' \( -name '*.html' -o -name '*.css' \) | xargs wc -l
       5 ./layouts/404.html
      12 ./layouts/_default/single.html
      20 ./layouts/_default/list.html
      13 ./layouts/_default/terms.html
       0 ./layouts/partials/foot_custom.html
       0 ./layouts/partials/head_custom.html
       9 ./layouts/partials/footer.html
      20 ./layouts/partials/header.html
      51 ./static/css/style.css
       7 ./static/css/fonts.css
     137 total

I can certainly further reduce the code, for example, by eliminating the CSS, but I believe a tiny bit of CSS can greatly improve readability. You cannot really find many CSS frameworks that only contain 50 lines of code.

Screenshot

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].