mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-06-07 20:08:54 +00:00
Added option to choose Fontwaesome icons style
This commit is contained in:
parent
1c4c555b19
commit
6a75b7a302
1 changed files with 4 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
|||
{# Set style for media icons - Fontawesome #}
|
||||
{% set social_style = theme_var('social_style')|defined('brands') %}
|
||||
|
||||
{% for item in theme_config.social %}
|
||||
<li><a href="{{ item.url }}" class="icon brands {{item.icon}}" aria-label="{{item.name}}"><span class="label">{{item.name}}</span></a></li>
|
||||
<li><a href="{{ item.url }}" class="icon {{ social_style }} {{item.icon}}" aria-label="{{item.name}}"><span class="label">{{item.name}}</span></a></li>
|
||||
{% endfor %}
|
Loading…
Add table
Reference in a new issue