blog-public/themes/slim
Denis Zheleztsov a5dd73f274 Initial public
Some content was deleted before this project
has been moved to public
2021-10-18 19:45:57 +03:00
..
images Initial public 2021-10-18 19:45:57 +03:00
layouts Initial public 2021-10-18 19:45:57 +03:00
static Initial public 2021-10-18 19:45:57 +03:00
.gitignore Initial public 2021-10-18 19:45:57 +03:00
gulpfile.babel.js Initial public 2021-10-18 19:45:57 +03:00
LICENSE.md Initial public 2021-10-18 19:45:57 +03:00
package.json Initial public 2021-10-18 19:45:57 +03:00
README.md Initial public 2021-10-18 19:45:57 +03:00
theme.toml Initial public 2021-10-18 19:45:57 +03:00

Slim

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

Slim screenshot

Demo.

Installation

mkdir themes
cd themes
git clone https://github.com/zhe/hugo-theme-slim slim

See the official docs for more information.

Configuration

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

[params]
  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."

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

params:
  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."

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

License

Open sourced under MIT license.