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

@ -55,7 +55,7 @@ end
group :jekyll_optional_dependencies do
gem "toml", "~> 0.1.0"
gem "coderay", "~> 1.1.0"
gem "jekyll-docs", :path => '../docs' if Dir.exist?('../docs')
gem "jekyll-docs", :path => '../docs' if Dir.exist?('../docs') && ENV['JEKYLL_VERSION']
gem "jekyll-gist", "~> 1.0"
gem "jekyll-feed", "~> 0.1.3"
gem "jekyll-coffeescript", "~> 1.0"

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

View File

@ -15,7 +15,7 @@ Kramdown comes with optional support for LaTeX to PNG rendering via [MathJax](ht
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
{% endhighlight %}
For more information about getting started, check out [this excellent blog post](https://gastonsanchez.com/opinion/2014/02/16/Mathjax-with-jekyll/).
For more information about getting started, check out [this excellent blog post](http://gastonsanchez.com/opinion/2014/02/16/Mathjax-with-jekyll/).
## Alternative Markdown Processors

View File

@ -24,7 +24,7 @@ Jekylls growing use is producing a wide variety of tutorials, frameworks, ext
### Other commentary
- [My Jekyll Fork, by Mike West](http://mikewest.org/2009/11/my-jekyll-fork)
- [My Jekyll Fork, by Mike West](https://mikewest.org/2009/11/my-jekyll-fork)
> “Jekyll is a well-architected throwback to a time before WordPress, when men were men, and HTML was static. I like the ideas it espouses, and have made a few improvements to its core. Here, Ill point out some highlights of my fork in the hopes that they see usage beyond this site.”

View File

@ -298,9 +298,9 @@ class TestFilters < JekyllUnitTest
end
should "include the size of each grouping" do
@filter.site.process
grouping = @filter.group_by(@filter.site.pages, "layout")
grouping.each do |g|
p g
assert_equal g["items"].size, g["size"], "The size property for '#{g["name"]}' doesn't match the size of the Array."
end
end