_layouts/default.html in jekyll-geolexica-1.5.0 vs _layouts/default.html in jekyll-geolexica-1.5.1
- old
+ new
@@ -13,53 +13,10 @@
<img src="{{ site.committee.main_logo.path | relative_url }}" alt="{{ site.committee.main_logo.alt_text }}">
</a>
</div>
<div class="site-title">
- <span class="committee-widget">
- <span class="widget-group">
- {%- if site.committee.parent_org_name %}
- <span class="widget-item parent-org-reference">
- {{ site.committee.parent_org_name }}
- </span>
- {%- endif %}
- {%- if site.committee.identifier %}
- <span class="widget-item committee-id">
- {{ site.committee.identifier }}
- </span>
- {%- endif %}
- {%- if site.committee.name %}
- <span class="widget-item committee-name">
- {{ site.committee.name }}
- </span>
- {%- endif %}
-
- {% if page.layout == "home" and site.always_show_committee_link_on_landing and site.committee.home %}
- <a href="{{ site.committee.home }}" class="widget-item home">
- <i class="fas fa-home"></i>
- Committee site
- </a>
- {% endif %}
- </span>
-
- {% if site.committee.home or site.committee.links %}
- <span class="widget-group committee-menu">
- {% unless page.layout == "home" and site.always_show_committee_link_on_landing and site.committee.home %}
- <a href="{{ site.committee.home }}" class="widget-item home">
- <i class="fas fa-home"></i>
- Committee site
- </a>
- {% endunless %}
- {% if site.committee.links %}
- {% for link in site.committee.links %}
- <a href="{{ link.url }}" class="widget-item">
- {{ link.title }}
- </a>
- {% endfor %}
- {% endif %}
- </span>
- {% endif %}
- </span>
+ {% include committee-widget.html %}
<h1 class="title">
<a href="/">{{ site.title_html | default: site.title }}</a>
</h1>
</div>