File tree 2 files changed +12
-4
lines changed
2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,13 @@ github_users:
2
2
- torvalds
3
3
- alshedivat
4
4
5
+ repo_description_lines_max : 2
6
+
5
7
github_repos :
6
8
- alshedivat/al-folio
7
- - twbs/bootstrap
8
9
- jekyll/jekyll
10
+ - twbs/bootstrap
9
11
- jquery/jquery
10
12
- FortAwesome/Font-Awesome
11
- - jpswalsh/academicons
12
13
- mathjax/MathJax
14
+ - jpswalsh/academicons
Original file line number Diff line number Diff line change 5
5
{% assign show_owner = true %}
6
6
{% endif %}
7
7
8
+ {% if site .data .repositories .repo_description_lines_max %}
9
+ {% assign max_lines = site .data .repositories .repo_description_lines_max %}
10
+ {% else %}
11
+ {% assign max_lines = 2 %}
12
+ {% endif %}
13
+
8
14
<div class =" repo p-2 text-center" >
9
15
<a href =" https://github.com/{{ include .repository }}" >
10
16
<img
11
17
class =" repo-img-light w-100"
12
18
alt =" {{ include .repository }}"
13
- src =" https://github-readme-stats.vercel.app/api/pin/?username={{ repo_url [0] }}&repo={{ repo_url [1] }}&theme={{ site .repo_theme_light }}&show_owner={{ show_owner }}"
19
+ src =" https://github-readme-stats.vercel.app/api/pin/?username={{ repo_url [0] }}&repo={{ repo_url [1] }}&theme={{ site .repo_theme_light }}&show_owner={{ show_owner }}&description_lines_count={{ max_lines }} "
14
20
>
15
21
<img
16
22
class =" repo-img-dark w-100"
17
23
alt =" {{ include .repository }}"
18
- src =" https://github-readme-stats.vercel.app/api/pin/?username={{ repo_url [0] }}&repo={{ repo_url [1] }}&theme={{ site .repo_theme_dark }}&show_owner={{ show_owner }}"
24
+ src =" https://github-readme-stats.vercel.app/api/pin/?username={{ repo_url [0] }}&repo={{ repo_url [1] }}&theme={{ site .repo_theme_dark }}&show_owner={{ show_owner }}&description_lines_count={{ max_lines }} "
19
25
>
20
26
</a >
21
27
</div >
You can’t perform that action at this time.
0 commit comments