diff options
-rwxr-xr-x | post-process.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/post-process.sh b/post-process.sh index 896a081..1056d7d 100755 --- a/post-process.sh +++ b/post-process.sh @@ -11,9 +11,9 @@ for post in $(ls site/posts); do sed -i 's/href="file:\/\//href="/g' site/posts/$post done -for page in $(ls site/pages); do - sed -i 's/src="file:\/\//src="/g' site/pages/$page - sed -i 's/href="file:\/\//href="/g' site/pages/$page +for page in $(ls site); do + sed -i 's/src="file:\/\//src="/g' site/$page + sed -i 's/href="file:\/\//href="/g' site/$page done # fix email address. |