Skip to content

Commit

Permalink
use common setup
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Jan 31, 2025
1 parent 4fef3dc commit dacc645
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions bin/seo
Original file line number Diff line number Diff line change
@@ -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 $(
Expand Down

0 comments on commit dacc645

Please sign in to comment.