From 4a9a221f5164aaa109995199d9c24653e8b3874e Mon Sep 17 00:00:00 2001 From: Duncan Phillips Date: Wed, 14 Dec 2016 20:56:00 +0200 Subject: [PATCH 1/2] new speaker layout\ --- _layouts/speakers-by-year.html | 116 ++++++++++++++++++++------------- 1 file changed, 72 insertions(+), 44 deletions(-) diff --git a/_layouts/speakers-by-year.html b/_layouts/speakers-by-year.html index b8b32e9b..a8cacba5 100644 --- a/_layouts/speakers-by-year.html +++ b/_layouts/speakers-by-year.html @@ -50,61 +50,89 @@

Speakers

{% endif %} -{% for speaker in page_speakers %} + + +
-
-
-

{{ speaker.name }}

+ +
+
+ {% for speaker in page_speakers %} +
+ {{ speaker.name }}
+ {{ speaker.company}} +
+ {% endfor %}
-
-
-
-
- -
-
-

- {{ speaker.role }}
- {{ speaker.company }}
- {% if speaker.twitter %} -

- -

- {% endif %} - {% if speaker.github %} - +
+ +
+ + {% for speaker in page_speakers %} + -
-
-

{{ speaker.bio }}

+
+
+

{{ speaker.bio }}

+
-
-
-
-

The title of the talk is "{{ speaker.title }}".

+
+
+

The title of the talk is "{{ speaker.title }}".

+
-
-
-
-

{{ speaker.abstract}}

+
+
+

{{ speaker.abstract}}

+
-
- {% if speaker.video %} -
-
-

The video for this talk is available on youtube

+ {% if speaker.video %} +
+
+

The video for this talk is available on youtube

+
+ {% endif %}
- {% endif %} -
+ {% endfor %}
-{% endfor %} From 63868e9d07967b82e5a8fb6b0174bba96afb4fd5 Mon Sep 17 00:00:00 2001 From: Duncan Phillips Date: Wed, 11 Jan 2017 22:01:33 +0200 Subject: [PATCH 2/2] update to be a bit more responsive --- _layouts/speakers-by-year.html | 52 +++++++++++++--------------------- index.html | 18 ++++++------ 2 files changed, 30 insertions(+), 40 deletions(-) diff --git a/_layouts/speakers-by-year.html b/_layouts/speakers-by-year.html index a8cacba5..cf2d4ceb 100644 --- a/_layouts/speakers-by-year.html +++ b/_layouts/speakers-by-year.html @@ -5,7 +5,7 @@
-
+

Speakers

We would like to give a huge thank you to our speakers, they're the reason @@ -18,7 +18,7 @@

Speakers

-
+
{% for year in site.data.config.years %} {% if year == page.year %} {{ year }} @@ -35,7 +35,7 @@

Speakers

{% if page_speakers.size == 0 %}
-
+

We're still selecting speakers for this year, please check back later to see the lineup. If you would like to speak @@ -50,52 +50,41 @@

Speakers

{% endif %} - - - -
-
-
+
+
{% for speaker in page_speakers %} -
- {{ speaker.name }}
- {{ speaker.company}} -
+ +
+ {{ speaker.name }}
+ {{ speaker.company}} +
+
{% endfor %}
-
+
{% for speaker in page_speakers %} -