diff --git a/_plugins/inject_info.rb b/_plugins/inject_info.rb new file mode 100644 index 0000000..47e7764 --- /dev/null +++ b/_plugins/inject_info.rb @@ -0,0 +1,8 @@ +Jekyll::Hooks.register :site, :post_read do |site| + data = site.data + data['projects'].each do |key, section| + section['repos'].each do |repo| + repo['info'] = data['github_info'][repo['url']] + end + end +end diff --git a/assets/style.scss b/assets/style.scss index bed49ca..be2d51f 100644 --- a/assets/style.scss +++ b/assets/style.scss @@ -49,6 +49,7 @@ header { li { margin: 16px 0px; text-align: center; + line-height: 125%; } } } diff --git a/index.html b/index.html index 41d2296..c63d73f 100644 --- a/index.html +++ b/index.html @@ -8,10 +8,38 @@

{{ data.name }}