Fix link issues in the site found by HTML Proofer.

This commit is contained in:
Parker Moore
2016-03-01 19:43:22 -08:00
parent 377d212ecc
commit de8f67c4a2
5 changed files with 7 additions and 6 deletions

View File

@@ -14,6 +14,7 @@ INGORE_HREFS=$(ruby -e 'puts %w{
twitter.com
nearlyfreespeech.net
eduardoboucas.com
github.com\/matrix9180
}.map{|h| "/#{h}/"}.join(",")')
SOURCE="site"
DESTINATION="_site"
@@ -31,4 +32,4 @@ bundle exec jekyll build -s $SOURCE -d $DESTINATION --trace
# 3.
msg "Proofing..."
time bundle exec htmlproof ./$DESTINATION --href-ignore $INGORE_HREFS
time bundle exec htmlproof ./$DESTINATION --url-ignore $INGORE_HREFS