Skip to content

Commit

Permalink
Run a custom check for all pages other than stats.html
Browse files Browse the repository at this point in the history
  • Loading branch information
yasulab committed Dec 28, 2023
1 parent e35e74c commit e56cece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/custom_checks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class CustomChecks < ::HTMLProofer::Check
BASE_URL = '_site/'

def run
check_meta_tags if @runner.current_filename == '_site/stats.html'
check_meta_tags
check_json_apis if @runner.current_filename == '_site/api.html'
end
end
Expand Down

0 comments on commit e56cece

Please sign in to comment.