1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-22 01:36:55 +01:00

build quick fix: use Jekyll's native slug variable

This commit is contained in:
Matthias Kretschmann 2017-04-11 11:14:24 +02:00
parent a8a386e98f
commit ec7868d2ea
Signed by: m
GPG Key ID: BD3C1F3EDD7831FC
5 changed files with 5 additions and 12 deletions

View File

@ -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>

View File

@ -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 }}

View File

@ -13,7 +13,6 @@ quote:
image: daniel-bloch.jpg
company: BenBen
slug: benben
industry: Government
bitmaplogo: logo-benben.png

View File

@ -13,7 +13,6 @@ quote:
image: peter-harris.jpg
company: Resonate
slug: resonate
industry: Intellectual Property
about:

View File

@ -13,7 +13,6 @@ quote:
image: carsten-stoecker.jpg
company: innogy SE
slug: innogy
industry: Supply chain
about: