Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ForkAwesome/Fork-Awesome.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/doc
diff options
context:
space:
mode:
authorJulien Deswaef <judeswae@thoughtworks.com>2019-02-19 02:21:47 +0300
committerJulien Deswaef <judeswae@thoughtworks.com>2019-02-19 02:21:47 +0300
commitfa02b156e82570f0a8cebb884f37be5b7341a81b (patch)
tree8f027b9390e5a490ea1acef071809cf03861636a /src/doc
parent8adf6257a3002d6589fe694a0476523427eae96b (diff)
Adding a paragraph on the number of contributors.
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/_includes/thanks-to.html10
-rw-r--r--src/doc/_plugins/all-contributors-generator.rb6
2 files changed, 11 insertions, 5 deletions
diff --git a/src/doc/_includes/thanks-to.html b/src/doc/_includes/thanks-to.html
index 9e8a8ce02..fe2232bd1 100644
--- a/src/doc/_includes/thanks-to.html
+++ b/src/doc/_includes/thanks-to.html
@@ -1,13 +1,19 @@
<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>
diff --git a/src/doc/_plugins/all-contributors-generator.rb b/src/doc/_plugins/all-contributors-generator.rb
index a69e77f50..85d03280e 100644
--- a/src/doc/_plugins/all-contributors-generator.rb
+++ b/src/doc/_plugins/all-contributors-generator.rb
@@ -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