Skip to content

Commit

Permalink
Ordre Thym
Browse files Browse the repository at this point in the history
  • Loading branch information
borisschapira committed Jan 20, 2018
1 parent e5f1dfa commit 06b804f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions _data/thym_members.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,28 @@
- name: Alexandra Janin
slug: alexandra-janin
twitter: lellexindo

- name: Bertrand Keller
slug: bertrand-keller
twitter: bertrandkeller

- name: Boris Schapira
slug: boris-schapira
twitter: borisschapira

- name: Matthieu Bué
slug: matthieu-bue
twitter: twikito

- name: Julia Barbelane
name: julia-barbelane
twitter: juliabarbelane

- name: Érick Gardin
slug: erick-gardin
twitter: newick

- name: Thomas Gasc
slug: thomas-gasc
twitter: methylbro

2 changes: 1 addition & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<section id="thym">
<h2 class="text-center">{% t La Thym %}</h2>
<div class="grid-7 text-center">
{% for member in site.data.thym_members | sort: "name" %}
{% for member in thym %}
<figure class="person" role="group" aria-labelledby="capt-{{member.twitter}}">
<img class="person-avatar lozad" data-src="{{ "/assets/images/thym/" | append: member.twitter | append: ".jpg" | relative_url }}" alt="{{member.name}}">
<figcaption id="capt-{{member.twitter}}" class="person-name text-xs">
Expand Down
2 changes: 1 addition & 1 deletion _includes/schema.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@type": "ContactPoint",
"url": "{{ site.url }}{{ page.baseurl | default:site.baseurl }}/{% t contact %}/"
},
"member": [{% assign members = site.data.thym_members | sort: "name" %}{% for member in members %}{% unless forloop.first == true %},{% endunless %}{
"member": [{% for member in thym %}{% unless forloop.first == true %},{% endunless %}{
"@type": "Person",
"name": "{{ member.name }}",
"sameAs": "https://twitter.com/{{ member.twitter }}"
Expand Down
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: compress
---

{% assign locale = page.locale | default: site.locale %}{% assign lang = locale | slice: 0,2 %}{% assign thym = site.data.thym_members | sort: "name" %}{% include head.html %}
{% assign locale = page.locale | default: site.locale %}{% assign lang = locale | slice: 0,2 %}{% assign thym = site.data.thym_members | sort: "slug" %}{% include head.html %}
<body>
{% if page.is_home %}
{% include header.html %}
Expand Down

0 comments on commit 06b804f

Please sign in to comment.