mirror of
https://github.com/JuanCanham/fresh-theme-bootstrap.git
synced 2024-12-22 12:37:22 +00:00
Add social links
This commit is contained in:
parent
3de17aa3e1
commit
8817ef6600
@ -1,7 +1,34 @@
|
|||||||
<header>
|
<header>
|
||||||
<h1>{{{r.name}}}</h1>
|
<h1>{{{r.name}}}</h1>
|
||||||
{{#if r.location.city}}<h4><span class="fa fa-fw fa-map-marker"></span> {{r.location.city}}{{#if r.location.region}}, {{r.location.region}}{{/if}}{{#if r.location.country}}, {{r.location.country}}{{/if}}</h4>{{/if}}
|
{{#if r.location.city}}
|
||||||
{{#if r.contact.email}}<h4><span class="fa fa-fw fa-envelope"></span> <a href="mailto:{{r.contact.email}}">{{r.contact.email}}</a></h4>{{/if}}
|
<h4><span class="fa fa-fw fa-map-marker"></span> {{r.location.city}}{{#if r.location.region}}, {{r.location.region}}{{/if}}{{#if r.location.country}}, {{r.location.country}}{{/if}}</h4>
|
||||||
{{#if r.contact.phone}}<h4><span class="fa fa-fw fa-phone"></span> {{r.contact.phone}}</h4>{{/if}}
|
{{/if}}
|
||||||
{{#if r.contact.website}}<h4><span class="fa fa-fw fa-link"></span> <a href="{{RAW.contact.website}}">{{RAW.contact.website}}</a></h4>{{/if}}
|
{{#if r.contact.email}}
|
||||||
|
<h4><span class="fa fa-fw fa-envelope"></span> <a href="mailto:{{r.contact.email}}">{{r.contact.email}}</a></h4>
|
||||||
|
{{/if}}
|
||||||
|
{{#if r.contact.phone}}
|
||||||
|
<h4><span class="fa fa-fw fa-phone"></span> {{r.contact.phone}}</h4>
|
||||||
|
{{/if}}
|
||||||
|
{{#if r.contact.website}}
|
||||||
|
<h4><span class="fa fa-fw fa-link"></span> <a href="{{RAW.contact.website}}">{{RAW.contact.website}}</a></h4>
|
||||||
|
{{/if}}
|
||||||
|
{{#if r.social}}
|
||||||
|
{{#each r.social}}
|
||||||
|
{{#compare network "GitHub" operator="=="}}
|
||||||
|
<h4><span class="fa fa-fw fa-github"></span> <a href="{{{url}}}">{{{url}}}</a></h4>
|
||||||
|
{{/compare}}
|
||||||
|
{{#compare network "Bitbucket" operator="=="}}
|
||||||
|
<h4><span class="fa fa-fw fa-bitbucket"></span> <a href="{{{url}}}">{{{url}}}</a></h4>
|
||||||
|
{{/compare}}
|
||||||
|
{{#compare network "LinkedIn" operator="=="}}
|
||||||
|
<h4><span class="fa fa-fw fa-linkedin"></span> <a href="{{{url}}}">{{{url}}}</a></h4>
|
||||||
|
{{/compare}}
|
||||||
|
{{#compare network "Twitter" operator="=="}}
|
||||||
|
<h4><span class="fa fa-fw fa-twitter"></span> <a href="{{{url}}}">{{{url}}}</a></h4>
|
||||||
|
{{/compare}}
|
||||||
|
{{#compare network "Facebook" operator="=="}}
|
||||||
|
<h4><span class="fa fa-fw fa-facebook"></span> <a href="{{{url}}}">{{{url}}}</a></h4>
|
||||||
|
{{/compare}}
|
||||||
|
{{/each}}
|
||||||
|
{{/if}}
|
||||||
</header>
|
</header>
|
||||||
|
@ -88,7 +88,6 @@
|
|||||||
],
|
],
|
||||||
|
|
||||||
"social": [
|
"social": [
|
||||||
|
|
||||||
{
|
{
|
||||||
"label": "GitHub",
|
"label": "GitHub",
|
||||||
"network": "GitHub",
|
"network": "GitHub",
|
||||||
|
Loading…
Reference in New Issue
Block a user