TULiberalArts / TUtheme

Temple University Jekyll theme
https://tuliberalarts.github.io/TUtheme/
2 stars 1 forks source link

Email address style class is not applied in footer #33

Closed lidopaglia closed 7 years ago

lidopaglia commented 7 years ago

The liquid syntax to apply an email icon and white text to program mailto links in the theme footer doesn't seem to be applying:

{% for line in site.address %}
  {% if line == site.address.email %}
    <li class="grey-text"><a href="mailto:{{ line[1] }}" class="white-text"><i class="material-icons">email</i> {{ line[1] }}</a></li>
  {% else %}
    <li class="grey-text">{{ line[1] }}</li>
  {% endif %}
{% endfor %}

results in:

screenshot 2017-06-02 14 29 37

Some _config.yml files across sites may need to remove the additional href links in the site.address.email value.