Skip to content

dashdashzako/hugo-journal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.