Commit fa02b156 authored by Julien Deswaef's avatar Julien Deswaef

Adding a paragraph on the number of contributors.

parent 8adf6257
<section id="thanks-to">
<h2 class="page-header">Thanks To</h2>
<div class="row">
<div class="col-md-12 col-sm-12">
<div class="col-md-4 col-sm-4">
<p>
Thanks to <a href="https://twitter.com/davegandy">@davegandy</a> for his
original work on Font Awesome and to
original work on {{ site.fontawesome.name }} and to
<a href="https://twitter.com/gtagliala">@gtagliala</a> for managing pull
requests and issues on the Font Awesome Github repo.
</p>
</div>
<div class="col-md-8 col-sm-8">
<p>
Thanks to the still growing community of <a href="https://github.com/ForkAwesome/Fork-Awesome/blob/master/CONTRIBUTORS.md">{{ page.total_contributors }} contributors</a> who've carried this project from the early days of {{ site.fontawesome.name }} and who have joined this project since the fork.
If you feel your contribution has not been recognized. Please file an issue, we'll happily add you to the list.
</p>
</div>
</div>
</section>
......@@ -9,9 +9,9 @@ module Jekyll
all_contributors_rc = File.read(File.join(Dir.pwd, '.all-contributorsrc'))
all_contributors = JSON.parse(all_contributors_rc)
total_contributors = all_contributors['contributors'].length
readme = site.pages.detect {|page| page.name == 'README.md-nobuild'}
readme.data['total_contributors'] = total_contributors
site.pages.each do |page|
page.data['total_contributors'] = total_contributors
end
end
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment