icon-links.html 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <!-- and guess where these are defined? Yup, you guessed it: the _config.yml file -->
  2. {% if site.resume_social_links %}
  3. <ul class="icon-links">
  4. <!-- GitHub link -->
  5. {% if site.resume_social_links.resume_github_url %}
  6. <li class="icon-link-item"><a href="{{ site.resume_social_links.resume_github_url }}" class="icon-link" itemprop="sameAs">{% include icons/icon-github.html %}</a></li>
  7. {% endif %}
  8. <!-- Twitter link -->
  9. {% if site.resume_social_links.resume_twitter_url %}
  10. <li class="icon-link-item"><a href="{{ site.resume_social_links.resume_twitter_url }}" class="icon-link" itemprop="sameAs">{% include icons/icon-twitter.html %}</a></li>
  11. {% endif %}
  12. <!-- Medium link -->
  13. {% if site.resume_social_links.resume_medium_url %}
  14. <li class="icon-link-item">
  15. <a href="{{ site.resume_social_links.resume_medium_url }}" class="icon-link" itemprop="url">{% include icons/icon-medium.html %}</a>
  16. </li>
  17. {% endif %}
  18. <!-- Dribbble link -->
  19. {% if site.resume_social_links.resume_dribbble_url %}
  20. <li class="icon-link-item"><a href="{{ site.resume_social_links.resume_dribbble_url }}" class="icon-link" itemprop="sameAs">{% include icons/icon-dribbble.html %}</a></li>
  21. {% endif %}
  22. <!-- Facebook link -->
  23. {% if site.resume_social_links.resume_facebook_url %}
  24. <li class="icon-link-item"><a href="{{ site.resume_social_links.resume_facebook_url }}" class="icon-link" itemprop="sameAs">{% include icons/icon-facebook.html %}</a></li>
  25. {% endif %}
  26. <!-- LinkedIn link -->
  27. {% if site.resume_social_links.resume_linkedin_url %}
  28. <li class="icon-link-item"><a href="{{ site.resume_social_links.resume_linkedin_url }}" class="icon-link" itemprop="sameAs">{% include icons/icon-linkedin.html %}</a></li>
  29. {% endif %}
  30. <!-- Instagram link -->
  31. {% if site.resume_social_links.resume_instagram_url %}
  32. <li class="icon-link-item"><a href="{{ site.resume_social_links.resume_instagram_url }}" class="icon-link" itemprop="sameAs">{% include icons/icon-instagram.html %}</a></li>
  33. {% endif %}
  34. <!-- Website link -->
  35. {% if site.resume_social_links.resume_website_url %}
  36. <li class="icon-link-item"><a href="{{ site.resume_social_links.resume_website_url }}" class="icon-link" itemprop="url">{% include icons/icon-website.html %}</a></li>
  37. {% endif %}
  38. </ul>
  39. {% endif %}