Skip to content

eueung/hugo-sp-minimal

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

SP-Minimal

Minimal is a theme developed by Steve Smith (orderedlist) and belongs the official themes used by the Github Pages automatic page generator. I used the theme for many of my course pages, because it is simple and elegant. SP-Minimal is a port of the theme for use within Hugo. The theme supports single- and multi-page rendering, code highlighting, Disqus comment system and Google Analytics.

Screenshot

Theme Demo

Installation

Inside the folder of your Hugo site run:

$ cd themes
$ git clone https://github.com/eueung/hugo-sp-minimal.git sp-minimal

For more information read the official setup guide of Hugo.

Sample Configuration

The following config.toml is used for the demo site mentioned above (multi-page). Please note the line renderType = "multi". Content must be of type post. For details please look at the exampleSite/content/post folder.

baseurl         = "https://eueung.github.io/hugo-sp-minimal/"
theme           = "sp-minimal"
languageCode    = "en-us"
title           = "SP-Minimal"
disqusShortname = ""
paginate        = 5

[params]
  title       = "SP-Minimal"
  subtitle    = "Another Minimalist Theme for Hugo"
  copyright   = "Released under the MIT license."
  authorImage = "logo.png"

  #"single" or "multi"
  renderType = "multi"
  #"simple" or "original"
  themeStyle = "simple"

  googleAnalytics = ""

  name = "EM"
  description = "Here is a description of your site."
  pageNotFoundTitle = "404 - Page not found"

For single-page rendering, renderType must be changed to single. Content must be of type onepage. You might just put your markdown file(s) inside exampleSite/content/onepage folder.

  renderType = "single"
  themeStyle = "simple"

License

This theme is released under the MIT license. For more information read the License.

About

Port of orderedlist/minimal for Hugo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published