diff --git a/bin/seo b/bin/seo index ccac991..e975170 100755 --- a/bin/seo +++ b/bin/seo @@ -1,16 +1,7 @@ #!/bin/zsh -eu mydir=${0:a:h} - -if [ ! -e config.yml ]; then - echo run this script from the top-level of your repo - exit 1 -fi - - -function list-posts() { - find . -mindepth 2 -name index.html |cut -f2- -d/ |sort -r |egrep -v ^_blogtini -} +source $mydir/setup for FILE in $(