Giter Club home page Giter Club logo

hugo-sp-minimal's Introduction

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.

hugo-sp-minimal's People

Contributors

eueung avatar

Watchers

Jarrod Nelson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.