1 Star 0 Fork 0

D瓜哥/asciidoctor.cn

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
supporters.html.slim 2.11 KB
一键复制 编辑 原始数据 按行查看 历史
Dan Allen 提交于 2016-10-05 01:03 . update list of financial supporters
---
layout: about
leadin: Superior innovation takes dedication, time and iteration. Thanks to financial contributions from the supporters listed below, the Asciidoctor leadership is able to focus its intellect, passion and creativity into advancing Asciidoctor and driving the community forward.
---
/ TODO
/ - minimize duplicate markup
/ - use small image for pull request backers?
- supporters = YAML.load_file '_config/supporters.yml'
- num_supporters = supporters.map {|c| c[:members]}.flatten.size
- page.title = %(Supporters <small>#{num_supporters}</small>)
- num_cols = { 0 => 2, 1 => 3, 2 => 3, 3 => 3, 4 => 4, 5 => 5 }
- supporters.each_with_index do |category, idx|
h2.category =%(#{category[:category]} Backers)
ul class="small-block-grid-#{num_cols[idx]}"
- category[:members].shuffle.each do |member|
li.identity
- if member.key? :avatar_url
- if member.key? :url
a href=member[:url] target='_blank'
img.th src=member[:avatar_url] alt=member[:name]
p.label
span.name=member[:name]
- if member.key? :github
a.github href="https://github.com/#{member[:github]}" target='_blank': i.fa.fa-github
a.url href=member[:url] target='_blank' =member[:url].sub(/^https?:\/\//, '')
- else
img.th src=member[:avatar_url] alt=member[:name]
p.label
span.name=member[:name]
- if member.key? :github
a.github href="https://github.com/#{member[:github]}" target='_blank': i.fa.fa-github
- else
p.label style="font-size: #{0.9 + (5 - idx) * 0.1}em;"
span.name=member[:name]
- if member.key? :github
a.github href="https://github.com/#{member[:github]}" target='_blank': i.fa.fa-github
h2 Become a Financial Backer!
p We’re working to shape the future of writing and publishing in the field of technical documentation. To achieve this vision, we need your support. To learn about this initiative and how to help, check out the <a href="https://salt.bountysource.com/teams/asciidoctor">campaign page</a>.
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/diguage/asciidoctor.cn.git
git@gitee.com:diguage/asciidoctor.cn.git
diguage
asciidoctor.cn
asciidoctor.cn
master

搜索帮助