avinassh / hugo-skyfall

Hugo theme - skyfall

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Journal

Journal is a minimalist theme for Hugo.

It focuses on improving reading experience with high contrast colors and no fancy effect.

It also uses Highlight.js for the syntaxic coloration of code snippets.

Demo is available here.

Installation

Please refer to the Hugo documentation.

Configuration

A few parameters should be adjusted in the site config:

[params]
  description = "Blog meta description."
  githubUsername = "your_gh_username"
  twitterUsername = "your_twitter_handle"
  tagline = "Blog tagline. Shown under index title."
[params.work]
  jobTitle = "occupation"
  company = "the company"
  companyUrl = "https://the.company.url/"
[params.gpg]
  key = "0x1111111111111111"
  fingerprint = "0000 0000 0000 0000 0000  0000 0000 0000 0000 0000"
  link = "https://pgp.mit.edu/pks/lookup?op=get&search=0x1111111111111111"

Code highlighting

Both highlight theme and lib can be overridden. Just drop your build in the static/js directory, and the theme file in the static/css directory.
Note that the theme has to be named highlight.css.

Customize styles

sass is required to build the theme css file. If bundler is installed on your system:

bundle install

# test your changes
scss-lint scss/journal.scss

# build stylesheet
sass --scss --sourcemap=none scss/journal.scss static/css/journal.css

About

Hugo theme - skyfall

License:MIT License


Languages

Language:CSS 35.8%Language:HTML 34.1%Language:SCSS 27.7%Language:Ruby 2.4%