Skip to content
Minimalist theme for gohugo
CSS HTML Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
archetypes Add code scaffold Jul 23, 2017
images Rename thumbnail file Jul 24, 2017
layouts
scss
static Lower hljs code size, update readme Jul 29, 2017
.gitignore Remove exampleSite files, update gitignore Sep 2, 2019
.scss-lint.yml
Gemfile Add code scaffold Jul 23, 2017
Gemfile.lock Add code scaffold Jul 23, 2017
LICENSE.md
README.md Update links Sep 2, 2019
theme.toml Update links Sep 2, 2019

README.md

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
You can’t perform that action at this time.