Skip to content
HTML CSS JavaScript
Branch: master
Clone or download
Pull request Compare This branch is 9 commits ahead of zhe:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Slim is a minimal, clean and beautiful theme for Hugo.

Slim screenshot



mkdir themes
cd themes
git clone slim

See the official docs for more information.


You could add params into your site's config.toml file:

  Subtitle = "Your site's subtitle/tagline"
  GithubID = "Your Github ID"
  TwitterID = "Your Twitter ID"
  AnalyticsID = "Your Google Analytics tracking code"
  DisqusShortname = "Your Disqus shortname"
  Summary = true  # takes true or false
  Content = false  # takes true or false
  # if both are set to true, summary is shown.
  # FooterMsg = "Copyright Me 2016. Powered by Hugo."
  mainSections = ["post"]

if you use config.yaml, it could look like:

  Subtitle: "Your site's subtitle/tagline"
  GithubID: "Your Github ID"
  TwitterID: "Your Twitter ID"
  AnalyticsID: "Your Google Analytics tracking code"
  DisqusShortname: "Your Disqus shortname"
  Summary: true # takes true or false
  Content: false # takes true or false
  # if both are set to true, summary is shown
  # FooterMsg: "Custom footer message. Powered by Hugo."
  mainSections: ["post"]

Enable Disqus to your post

  1. Add your Disqus Shortname to the site config file;
  2. You can enable Disqus per-post, by adding comments: true (YAML) or comments = true (TOML) in the front matter of your post. To disable it, you can either change the value to false or just not include comments variable and its value at all.

Build your site

hugo server -t slim


Open sourced under MIT license.

You can’t perform that action at this time.