Skip to content

tobyfb/blog_hazel-workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Purpose

Companion script to a hazel workflow to publish a Pelican blog.

Functionality (Status 2018-01-01)

  • Puts date prefix ('/images/{year}/{month}/') in front of image references.

Usage

  • Use sys.argv[1] to refer to the file being processed by Hazel
    • NOTE: sys needs to be imported;
    • sys.argv[1] returns file incl. full path
  • Hazel command: python /path/to/script/blog_date-prefix.py "$1" (with the /bin/bash shell)

Relevant Sources:

About

Script for Hazel Pelican publishing workflow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages