Merge pull request #7 from BackIsBachus/number-of-social-links

Add another row every 5 social links (limited to 3 rows for now).
It's not pretty but it will work for now.
This commit is contained in:
BackIsBachus 2016-05-16 16:45:11 +02:00
commit 2e4b297ad8
2 changed files with 10 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "fresh-theme-elegant",
"version": "0.1.2",
"version": "0.1.3",
"description": "Responsive resume theme for FRESH using using the Elegant theme from JSON-Resume.",
"repository": {
"type": "git",

View File

@ -19,7 +19,16 @@
<div class="social-links text-center">
<div>
{{#each r.social}}
{{#compare @key 5}}
</div>
<div>
{{/compare}}
{{#compare @key 10}}
</div>
<div>
{{/compare}}
<a href="{{url}}" target="_blank" data-toggle="tooltip" title="{{user}} on {{network}}" class="fs-2x social-link"><i class="link-{{toLower network}} fa fa-{{toLower network}}"></i></a>
{{/each}}
</div>
</div>