_includes/header.html in jekyll-theme-pirati-1.2.0 vs _includes/header.html in jekyll-theme-pirati-2.0.0

- old
+ new

@@ -1,62 +1,62 @@ -<div class='thetop'></div> <aside class="o-section o-section--smaller c-header-bar u-inverted u-inverted--darker u-center-860-down"> <div class="row"> <div class="o-section-inner" style="padding: 3px;"> <div class="medium-12 columns"> <ul class="c-header-bar-items"> - {% if site.data.links.group.facebook_page %} + {% if site.facebook.profilePage %} <li class="c-header-bar__item c-header-bar__item--smallerSpace"> - <a href="{{site.data.links.group.facebook_page}}" rel="noopener noreferrer" target="_blank" title="Naše stránka na Facebooku"> + <a href="{{ site.facebook.profilePage }}" rel="noopener noreferrer" target="_blank" title="Naše stránka na Facebooku"> <i class="fa fa-facebook" aria-hidden="true"></i> </a></li> {% endif %} - {% if site.data.links.group.twitter %} + {% if site.twitter.profile %} <li class="c-header-bar__item c-header-bar__item--smallerSpace"> - <a href="{{site.data.links.group.twitter}}" rel="noopener noreferrer" target="_blank" title="Náš účet na Twitteru"> + <a href="{{ site.twitter.profile }}" rel="noopener noreferrer" target="_blank" title="Náš účet na Twitteru"> <i class="fa fa-twitter" aria-hidden="true"></i> </a> </li> {% endif %} - {% if site.data.links.group.name %} + {% if site.organization.name %} <li class="c-header-bar__item c-header-bar__item--smallerSpace"> <a href="{{'/feed.xml' | relative_url }}" rel="noopener noreferrer" target="_blank" title="Články tohoto webu v RSS"> <i class="fa fa-rss" aria-hidden="true"></i> </a> </li> {% endif %} - {% if site.data.links.group.instagram %} + {% if site.instagram.profilePage %} <li class="c-header-bar__item c-header-bar__item--smallerSpace"> - <a href={{ site.data.links.group.instagram }} rel="noopener noreferrer" target="_blank" title="Instagram - Česká pirátská strana"> + <a href={{ site.instagram.profilePage }} rel="noopener noreferrer" target="_blank" title="Instagram - Česká pirátská strana"> <i class="fa fa-instagram" aria-hidden="true"></i> </a> </li> {% endif %} - {% if site.data.links.group.googleplus %} + {% if site.gplus.profilePage %} <li class="c-header-bar__item c-header-bar__item--smallerSpace"> - <a href={{ site.data.links.group.instagram }} rel="noopener noreferrer" target="_blank" title="Google Plus - Česká pirátská strana"> + <a href={{ site.gplus.profilePage }} rel="noopener noreferrer" target="_blank" title="Google Plus - Česká pirátská strana"> <i class="fa fa-google-plus" aria-hidden="true"></i> </a> </li> {% endif %} - {% if site.data.links.group.flicker %} + {% if site.flicker.profilePage %} <li class="c-header-bar__item c-header-bar__item--smallerSpace"> - <a href={{ site.data.links.group.instagram }} rel="noopener noreferrer" target="_blank" title="Flickr - Česká pirátská strana"> + <a href={{ site.flicker.profilePage }} rel="noopener noreferrer" target="_blank" title="Flickr - Česká pirátská strana"> <i class="fa fa-flickr" aria-hidden="true"></i> </a> </li> {% endif %} </ul> <div class="c-header-bar-divider"></div> + <ul class="c-header-bar-items c-header-bar-items--bigLh"> - {% for item in site.data.links.top-menu %} + {% for item in site.data.menu.top %} <li class="c-header-bar__item"> <a href="{{ item.url }}" rel="noopener noreferrer" target="_blank"> <i class="{{ item.icon }}" aria-hidden="true"></i> <span class="c-header-bar__itemDescription">{{ item.link }}</span> </a> </li> - {% endfor %} + {% endfor %} </ul> </div> </div> </div> </aside>