work on layout.css

This commit is contained in:
bkfox
2016-11-16 02:23:36 +01:00
parent fc8b15eb03
commit e5f47be608
8 changed files with 140 additions and 93 deletions

View File

@ -0,0 +1,13 @@
{% load wagtailimages_tags %}
{% with link=self.as_dict %}
<a href="{{ link.url }}" {% if self.info %}title="{{ self.info }}"{% endif %}>
{% if link.icon %}
{% image link.icon fill-32x32 class="icon link_icon" height='' width='' %}
{% elif link.icon_path %}
<img src="{{ link.icon_path }}" class="icon link_icon"/>
{% endif %}
{{ link.text }}
</a>
{% endwith %}