Skip to content

wnstn/winstonhearn-current

Repository files navigation

Personal site for blogging and keeping track of all reading.

Helpful ZSH commands for autocreating posts

function share() {
  if [ "$1" != "" ]
  then
    hugo new shared/$(date +%Y)/$1
  else 
    echo "You have to pass in an argument, nerd."
  fi
}

function book() {
  if [ "$1" != "" ]
  then
    hugo new --kind read read/$(date +%Y)/$1
  else 
    echo "You have to pass in an argument, nerd."
  fi
}

function post() {
  if ["$1" != ""]
  then
    hugo new wrote/$(date +%Y)/$1
  else
    echo "You have to pass in an argument, nerd."
  fi
}

About

my personal site, but rebuilt!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published