scottjohnson.pro/_includes/sidebar.html
Daniel Lanciana ec782ce7bf Add additional fields (#72)
* Update data.yml
> removing extra lines

* Added a second paragraph example

* Added codewars text to sidebar
2018-07-20 16:32:41 +01:00

62 lines
2.7 KiB
HTML

<!-- Use icons from fontawesome when you are adding new item in the contact list -->
<div class="sidebar-wrapper">
<div class="profile-container">
<img class="profile-img" src="{{site.baseurl}}/assets/images/{{ site.data.data.sidebar.pic }}" alt="profile picture" />
{% if site.data.data.sidebar.name %}
<h1 class="name">{{site.data.data.sidebar.name}}</h1>
{% endif %}
{% if site.data.data.sidebar.tagline %}
<h3 class="tagline">{{site.data.data.sidebar.tagline}}</h3>
{% endif %}
</div><!--//profile-container-->
<div class="contact-container container-block">
<ul class="list-unstyled contact-list">
{% if site.data.data.sidebar.email %}
<li class="email"><i class="fa fa-envelope"></i><a href="mailto: {{site.data.data.sidebar.email}}">{{site.data.data.sidebar.email}}</a></li>
{% endif %}
{% if site.data.data.sidebar.phone %}
<li class="phone"><i class="fa fa-phone"></i><a href="tel:{{site.data.data.sidebar.phone}}">{{site.data.data.sidebar.phone}}</a></li>
{% endif %}
{% if site.data.data.sidebar.website %}
<li class="website"><i class="fa fa-globe"></i><a href="http://{{site.data.data.sidebar.website}}" target="_blank">{{site.data.data.sidebar.website}}</a></li>
{% endif %}
{% if site.data.data.sidebar.linkedin %}
<li class="linkedin"><i class="fa fa-linkedin"></i><a href="https://linkedin.com/in/{{site.data.data.sidebar.linkedin}}" target="_blank">{{site.data.data.sidebar.linkedin}}</a></li>
{% endif %}
{% if site.data.data.sidebar.github %}
<li class="github"><i class="fa fa-github"></i><a href="http://github.com/{{site.data.data.sidebar.github}}" target="_blank">{{site.data.data.sidebar.github}}</a></li>
{% endif %}
{% if site.data.data.sidebar.twitter %}
<li class="twitter"><i class="fa fa-twitter"></i><a href="https://twitter.com/{{site.data.data.sidebar.twitter}}" target="_blank">{{site.data.data.sidebar.twitter}}</a></li>
{% endif %}
{% if site.data.data.sidebar.codewars %}
<li class="codewars"><i class="fa fa-code"></i><a href="https://www.codewars.com/users/{{site.data.data.sidebar.codewars}}/completed_solutions" target="_blank">{{site.data.data.sidebar.codewars}}</a></li>
{% endif %}
</ul>
</div><!--//contact-container-->
{% if site.education_in_main == null or site.education_in_main == false %}
{% include education.html %}
{% endif %}
{% include language.html %}
{% include interests.html %}
{% if site.data.data.sidebar.about == true %}
{% include about.html %}
{% endif %}
</div><!--//sidebar-wrapper-->