Skip to content

jpeisenbarth/slender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slender

Minimalist theme for Hugo with base16 color schemes.

It is based on the work of CrimsonRay. I reupload this on github because CrimsonRay's account cannot be found anymore and thus it is impossible to find the Slender theme repository anymore.

Demo

Screenshot

screenshot

Features

Color Schemes

slender-color-schemes

Installation

  1. Make a new Hugo site

    hugo new site my_site/
    
  2. Install Slender ans set up your site

    cd my_site/
    git clone https://github.com/Eisenbarth/slender themes/slender
    cp -a themes/slender/exampleSite/* .
    

Configuration

# config.toml
# https://github.com/Eisenbarth/slender

baseurl = "http://url-to-your-site.com/"
title = "Your Title"
languageCode = "en-US"
MetaDataFormat = "toml"
theme = "slender"
paginate = 3
PaginatePath = "/"

[author]
    name = "Your Name"

[permalinks]

    # Permalink format for pages.
    page = "/:title/"

    # Permalink format for blog posts.
    post = "/article/:title/"

[params]

    # Change the color scheme of Slender.
    # See above for preview and list of color schemes.
    colorscheme = "white"

    # Tagline; HTML accepted here. Keep it concise.
    tagline = "Your Tagline"

    # Footer; Markdown accepted here.
    footer = "Copyright 2015 © Your Name"

    # Description and keywords for <meta> tags.
    # Remember to set this for your main page.
    # This will be overridden by whatever is set by the page or post,
    # defined by `description` and `keywords` variables in the front matter
    # of the markdown file.
    description = "Default Page Description"
    keywords = "default,page,keywords"

    # Social links, must be full URLs (e.g. https://github.com/Eisenbarth/).
    # Remove, comment, or leave blank any field to leave them out.
    email = "mailto:your-email"
    github = "url-to-your-github"
    bitbucket = "url-to-your-bitbucket"
    twitter = "url-to-your-twitter"
    stackoverflow = "url-to-your-stackoverflow"
    linkedin = "url-to-your-linkedin"
    facebook = "url-to-your-facebook"

    # Google Analytics
    # Remove, comment, or leave it blank if you don't have one.
    ganalytics = "your-google-analytics-tracking-code"

[menu]

    # Menu for the nav bar.
    # There must always be one item present (e.g. home).
    [[menu.main]]
    identifier = "home"
    name       = "home"
    url        = "/"
    weight     = 0

    [[menu.main]]
    identifier = "about"
    name       = "about"
    url        = "/about/"
    weight     = 1

Usage

Making a new post / article

$ hugo new post/hello.md

Making a new page

$ hugo new page/about.md

Add the new page to navbar in config.toml under [menu].

Launch The Hugo server

```none
hugo server
```

License

MIT Original work © 2015-2016 CrimsonRay Modified work © 2016 Eisenbarth

About

Hugo theme Slender (based on CrimsonRay's theme)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published