restore language metadata to repo cards
Fixes https://github.com/github/personal-website/pull/28#issuecomment-469754222
This commit is contained in:
parent
24bbbf5741
commit
66eecfcdd5
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,10 @@
|
|||
<div class="text-gray mb-2 ws-normal">{{ repository.description }}</div>
|
||||
</div>
|
||||
<div class="d-flex f6">
|
||||
{% if repository.language %}
|
||||
<span class="repo-language-color ml-0 mr-1" style="background-color:{{ site.data.colors[repository.language]["color"] }}"></span>
|
||||
<span class="mr-3" itemprop="programmingLanguage">{{ repository.language }}</span>
|
||||
{% endif %}
|
||||
{% if repository.stargazers_count %}
|
||||
<a href="{{ repository.html_url }}/stargazers" class="d-inline-block link-gray mr-4">
|
||||
<svg class="octicon octicon-star mr-1" viewBox="0 0 14 16" version="1.1" width="14" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M14 6l-4.9-.64L7 1 4.9 5.36 0 6l3.6 3.26L2.67 14 7 11.67 11.33 14l-.93-4.74L14 6z"></path></svg>{{ repository.stargazers_count }}
|
||||
|
|
Loading…
Reference in a new issue