view button attributes as raw
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="social">
|
<div class="social">
|
||||||
{% for button in theme_config.social_buttons %}
|
{% for button in theme_config.social_buttons %}
|
||||||
<a class="btn {{ button.class }}" {{ button.attributes }} target="_blank" rel="me nofollow noopener noreferrer" href="{{ button.link }}" title="{{ button.title }}">{{ button.name }}</a>
|
<a class="btn {{ button.class }}" {{ button.attributes|raw }} target="_blank" rel="me nofollow noopener noreferrer" href="{{ button.link }}" title="{{ button.title }}">{{ button.name }}</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
<div class="contact">
|
<div class="contact">
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<h2>{{ theme_config.blog.share|raw }}</h2>
|
<h2>{{ theme_config.blog.share|raw }}</h2>
|
||||||
<div class="share">
|
<div class="share">
|
||||||
{% for button in theme_config.blog.share_buttons %}
|
{% for button in theme_config.blog.share_buttons %}
|
||||||
<a class="btn {{ button.class }}" {{ button.attributes }} target="_blank" rel="nofollow noopener noreferrer" href="{{ button.link }}?{{ button.url_param }}={{ page.url(true) }}" title="{{ button.title }}">{{ button.name }}</a>
|
<a class="btn {{ button.class }}" {{ button.attributes|raw }} target="_blank" rel="nofollow noopener noreferrer" href="{{ button.link }}?{{ button.url_param }}={{ page.url(true) }}" title="{{ button.title }}">{{ button.name }}</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
Reference in New Issue
Block a user