Fix link issues in the site found by HTML Proofer.
This commit is contained in:
parent
377d212ecc
commit
de8f67c4a2
2
Gemfile
2
Gemfile
|
@ -55,7 +55,7 @@ end
|
||||||
group :jekyll_optional_dependencies do
|
group :jekyll_optional_dependencies do
|
||||||
gem "toml", "~> 0.1.0"
|
gem "toml", "~> 0.1.0"
|
||||||
gem "coderay", "~> 1.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-gist", "~> 1.0"
|
||||||
gem "jekyll-feed", "~> 0.1.3"
|
gem "jekyll-feed", "~> 0.1.3"
|
||||||
gem "jekyll-coffeescript", "~> 1.0"
|
gem "jekyll-coffeescript", "~> 1.0"
|
||||||
|
|
|
@ -14,6 +14,7 @@ INGORE_HREFS=$(ruby -e 'puts %w{
|
||||||
twitter.com
|
twitter.com
|
||||||
nearlyfreespeech.net
|
nearlyfreespeech.net
|
||||||
eduardoboucas.com
|
eduardoboucas.com
|
||||||
|
github.com\/matrix9180
|
||||||
}.map{|h| "/#{h}/"}.join(",")')
|
}.map{|h| "/#{h}/"}.join(",")')
|
||||||
SOURCE="site"
|
SOURCE="site"
|
||||||
DESTINATION="_site"
|
DESTINATION="_site"
|
||||||
|
@ -31,4 +32,4 @@ bundle exec jekyll build -s $SOURCE -d $DESTINATION --trace
|
||||||
|
|
||||||
# 3.
|
# 3.
|
||||||
msg "Proofing..."
|
msg "Proofing..."
|
||||||
time bundle exec htmlproof ./$DESTINATION --href-ignore $INGORE_HREFS
|
time bundle exec htmlproof ./$DESTINATION --url-ignore $INGORE_HREFS
|
||||||
|
|
|
@ -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>
|
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
|
||||||
{% endhighlight %}
|
{% 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
|
## Alternative Markdown Processors
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ Jekyll’s growing use is producing a wide variety of tutorials, frameworks, ext
|
||||||
- [Blogging with Git, Emacs and Jekyll](http://metajack.im/2009/01/23/blogging-with-git-emacs-and-jekyll/)
|
- [Blogging with Git, Emacs and Jekyll](http://metajack.im/2009/01/23/blogging-with-git-emacs-and-jekyll/)
|
||||||
- [Tips for working with GitHub Pages Integration](https://gist.github.com/jedschneider/2890453)
|
- [Tips for working with GitHub Pages Integration](https://gist.github.com/jedschneider/2890453)
|
||||||
|
|
||||||
### Integrations
|
### Integrations
|
||||||
|
|
||||||
- [Use FormKeep as a backend for forms (contact forms, hiring forms, etc.)](https://formkeep.com/guides/how-to-make-a-contact-form-in-jekyll?utm_source=github&utm_medium=jekyll-docs&utm_campaign=contact-form-jekyll)
|
- [Use FormKeep as a backend for forms (contact forms, hiring forms, etc.)](https://formkeep.com/guides/how-to-make-a-contact-form-in-jekyll?utm_source=github&utm_medium=jekyll-docs&utm_campaign=contact-form-jekyll)
|
||||||
- [Use Simple Form to add a simple contact form](http://getsimpleform.com/)
|
- [Use Simple Form to add a simple contact form](http://getsimpleform.com/)
|
||||||
|
@ -24,7 +24,7 @@ Jekyll’s growing use is producing a wide variety of tutorials, frameworks, ext
|
||||||
|
|
||||||
### Other commentary
|
### 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 it’s core. Here, I’ll point out some highlights of my fork in the hopes that they see usage beyond this site.”
|
> “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 it’s core. Here, I’ll point out some highlights of my fork in the hopes that they see usage beyond this site.”
|
||||||
|
|
||||||
|
|
|
@ -298,9 +298,9 @@ class TestFilters < JekyllUnitTest
|
||||||
end
|
end
|
||||||
|
|
||||||
should "include the size of each grouping" do
|
should "include the size of each grouping" do
|
||||||
@filter.site.process
|
|
||||||
grouping = @filter.group_by(@filter.site.pages, "layout")
|
grouping = @filter.group_by(@filter.site.pages, "layout")
|
||||||
grouping.each do |g|
|
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."
|
assert_equal g["items"].size, g["size"], "The size property for '#{g["name"]}' doesn't match the size of the Array."
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue