Skip to content

johnnovak/johnnovak.site

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Requirements

  • GNU make
  • hugo (0.111.3+) — blog
  • python (2.7.16+) — blog, photo
  • sass (1.26.5+) — blog, photo
  • exiftool (8.6+) — photo

These additional Python libraries are required for the generation of the photo albums (photo make target):

  • jinja2
  • yaml
  • Python Imaging Library (pil)

Usage

Basic usage:

make home
make photo
make blog

The output directories are hardcoded, see the Makefile for details (DEST_*_DIR).

Advanced usage (see Makefile for the full list of targets):

make watch_home_css
make symlink_home_js
make watch_photo_css
make symlink_photo_js
make serve_blog

photo notes

The photo gallery uses a custom hacked version of Fotorama.

Building the Fotorama library requires npm and grunt. Install npm first with your OS specific package manager then issue the following command:

sudo apt-get install npm
sudo npm install -g grunt-cli

Then in $ROOT/photo/js/fotorama issue the following:

npm install
grunt

From now on you can rebuild Fotorama by issue this command in $ROOT:

make build_fotorama

TODO add instructions on updating to the latest Fotorama version

About

Source files for www.johnnovak.net

htttp:///www.johnnovak.net/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published