Skip to content

itpp-labs/charaka-hugo-theme

 
 

Repository files navigation

Charaka (ಚರಕ)

Minimalistic and Responsive blog theme for hugo. Uses css framework Bulma.

Getting Started

Clone this repository to your hugo theme directory.

mkdir themes
cd themes
git clone https://github.com/natarajmb/charaka-hugo-theme.git

Configuration

Take a look in the exampleSite folder.

This directory contains an example config file and the content for the demo. It serves as an example setup for your documentation.

Copy the config.toml in the root directory of your website. Overwrite the existing config file if necessary.

config.toml:

baseurl = "https://example.com"
languageCode = "en"
title = "Charaka"
theme = "charaka-hugo-theme"
copyright = "&copy; <a href=\"https://github.com/natarajmb\">Nataraj Basappa</a> 2018"
disqusShortname = ""
googleAnalytics = ""

[params]

[params.highlight]
  style = "zenburn"

[[params.social]]
  url = "about.html"
  fa_icon = "fas fa-info" 

[[params.social]]
  url = "https://github.com/natarajmb"
  fa_icon = "fab fa-github"

[[params.social]]
  url = "https://www.linkedin.com/in/natarajmb/"
  fa_icon = "fab fa-linkedin-in"

[[params.social]]
  url = "https://twitter.com/natarajmb"
  fa_icon = "fab fa-twitter"

Build

hugo server

You can go to localhost:1313 and this theme should be visible.

Inspirations

How to tweak

  • Once you have activited the theme as above and running hugo in server mode
  • Install npm
  • Get inside checked-out theme directory and run npm install
  • Make required changes to style.scss and run npm run css-build && npm run css-watch to live update your changes

License

Charaka is licensed under the MIT License.

Author

Nataraj Basappa

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 59.1%
  • HTML 32.9%
  • CSS 8.0%