mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-22 09:46:57 +01:00
build quick fix: use Jekyll's native slug variable
This commit is contained in:
parent
a8a386e98f
commit
ec7868d2ea
@ -13,14 +13,12 @@
|
||||
|
||||
{% for partner in partners_sorted %}
|
||||
|
||||
{% assign slug = partner.title | downcase | remove: "." | replace: " ", "-" %}
|
||||
|
||||
<div class="grid__col grid__col--1">
|
||||
|
||||
<a class="partner" href="{{ partner.link }}">
|
||||
<svg class="partner__logo partner__logo--{{ slug }}" aria-labelledby="title">
|
||||
<title>{{ partner.name }}</title>
|
||||
<use xlink:href="/assets/img/sprite.svg#logo-{{ slug }}"></use>
|
||||
<svg class="partner__logo partner__logo--{{ partner.slug }}" aria-labelledby="title">
|
||||
<title>{{ partner.title }}</title>
|
||||
<use xlink:href="/assets/img/sprite.svg#logo-{{ partner.slug }}"></use>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
|
@ -20,12 +20,10 @@ cta:
|
||||
|
||||
<section role="main" class="section content content--page content--partner">
|
||||
|
||||
{% assign slug = page.title | downcase | remove: "." | replace: " ", "-" %}
|
||||
|
||||
<div class="row row--narrow">
|
||||
<svg class="partner__logo partner__logo--{{ slug }}" aria-labelledby="title">
|
||||
<svg class="partner__logo partner__logo--{{ page.slug }}" aria-labelledby="title">
|
||||
<title>{{ page.title }}</title>
|
||||
<use xlink:href="/assets/img/sprite.svg#logo-{{ slug }}"></use>
|
||||
<use xlink:href="/assets/img/sprite.svg#logo-{{ page.slug }}"></use>
|
||||
</svg>
|
||||
|
||||
{{ content }}
|
||||
|
@ -13,7 +13,6 @@ quote:
|
||||
image: daniel-bloch.jpg
|
||||
|
||||
company: BenBen
|
||||
slug: benben
|
||||
industry: Government
|
||||
bitmaplogo: logo-benben.png
|
||||
|
||||
|
@ -13,7 +13,6 @@ quote:
|
||||
image: peter-harris.jpg
|
||||
|
||||
company: Resonate
|
||||
slug: resonate
|
||||
industry: Intellectual Property
|
||||
|
||||
about:
|
||||
|
@ -13,7 +13,6 @@ quote:
|
||||
image: carsten-stoecker.jpg
|
||||
|
||||
company: innogy SE
|
||||
slug: innogy
|
||||
industry: Supply chain
|
||||
|
||||
about:
|
||||
|
Loading…
Reference in New Issue
Block a user