Slim
Slim is a minimal, clean and beautiful theme for Hugo.
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"
Summary = true # takes true or false
Content = false # takes true or false
# if both are set to true, summary is shown.
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"
Summary: true # takes true or false
Content: false # takes true or false
# if both are set to true, summary is shown
Build your site
hugo server -t slim
License
Open sourced under MIT license.