Git Product home page Git Product logo

hugo-clean-blog's Introduction

About

Hugo theme based on Start Bootstrap Clean Blog. Used as a starter, but may diverge to separate (unrelated) theme in the near future.

Config

The following is an example of what can be added to config.toml for customization/features:

baseurl = "http://humboldtux.github.io/sbcb-demo"
title = "Start Bootstrap Clean Blog"
canonifyurls = true
paginate = 10
theme = "startbootstrap-clean-blog"
languageCode = "en-us"
copyright = "Code released under the Apache 2.0 license."
googleAnalytics = "UA-123-45" # delete or comment to disable Google Analytics JS generation
disqusShortname = "YourDisqusShortname" #delete or comment to disable Disqus comments

[author]
  name = "Derrick Showers"

[params]
  DateForm = "Mon, Jan 2, 2006"
  Description = "Your site description"
  Author = "Derrick Showers"

  #Remove this line if you would prefer not to use an email button in the footer.
  email = "[email protected]"

  # Number of post summaries to show on front page, comment out to allow default(4)
  postSummariesFrontPage = 4

  # Set to false to exclude read time from header of post
  showReadTime = true

  # Custom CSS and/or JS for overrides. Include in static directory.
  customCSS = ["css/foo.css"]
  customJS = ["js/foo.js"]

[[params.social]]
  title = "twitter"
  url = "https://twitter.com/humboldtux"
[[params.social]]
  title = "github"
  url = "https://github.com/humboldtux"
[[params.social]]
  title = "facebook"
  url = "https://www.facebook.com/FACEBOOKHANDLE"

[[menu.main]]
  name = "home"
  url = "/"
  weight = -200
[[menu.main]]
  name = "Archives"
  url = "/post/"
  weight = -180

The footer contains link icons to any enabled social media sites, such as Facebook and/or LinkedIn. There is also an email icon, by removing the email parameter.

Customization

Custom CSS/JS

As you see in the example config above, custom CSS and JS files can be added using the customCSS and customJS keys. Once in your config.toml, make sure to also include the files in your static directory (at the exact path you chose in the config, so in a css or js directory based on the example).

hugo-clean-blog's People

Contributors

humboldtux avatar danward79 avatar alanorth avatar anthonyfok avatar bep avatar jsgv avatar meehow avatar

Stargazers

techolik avatar

Watchers

James Cloos 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.