Update talk page layout
This commit is contained in:
parent
710d22254c
commit
c873cf2321
|
@ -1 +1,3 @@
|
|||
@import 'code'
|
||||
@import 'layout'
|
||||
@import 'typography'
|
||||
|
|
5
assets/sass/base/_layout.sass
Normal file
5
assets/sass/base/_layout.sass
Normal file
|
@ -0,0 +1,5 @@
|
|||
.is-flex
|
||||
display: flex
|
||||
|
||||
.is-half
|
||||
width: 50%
|
3
assets/sass/base/_typography.sass
Normal file
3
assets/sass/base/_typography.sass
Normal file
|
@ -0,0 +1,3 @@
|
|||
@each $value in 'left' 'center' 'right'
|
||||
.is-#{$value}
|
||||
text-align: #{$value}
|
|
@ -3,3 +3,4 @@
|
|||
@import 'blog-post'
|
||||
@import 'experience'
|
||||
@import 'projects'
|
||||
@import 'talk'
|
||||
|
|
7
assets/sass/pages/_talk.sass
Normal file
7
assets/sass/pages/_talk.sass
Normal file
|
@ -0,0 +1,7 @@
|
|||
.talk-location,
|
||||
.talk-slides,
|
||||
.talk-video
|
||||
margin-bottom: 1.5em
|
||||
|
||||
.talk-pager
|
||||
margin-top: 2em
|
|
@ -1,14 +0,0 @@
|
|||
{% if page.event %}
|
||||
<h2>Details</h2>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
Event:
|
||||
{% if page.event.website %}<a href="{{ page.event.website }}">{%- endif -%}
|
||||
{{ page.event.name }}
|
||||
{%- if page.event.website -%}</a>{%- endif %}
|
||||
</li>
|
||||
<li>Date: {{ page.date|date(site.default_date_format) }}</li>
|
||||
<li>Location: {{ page.event.location }}</li>
|
||||
</ul>
|
||||
{% endif %}
|
3
source/_partials/talk/location.twig
Normal file
3
source/_partials/talk/location.twig
Normal file
|
@ -0,0 +1,3 @@
|
|||
<p class="talk-location">
|
||||
At {{ page.location }} on {{ page.date|date('jS F Y') }}.
|
||||
</p>
|
|
@ -1,9 +1,5 @@
|
|||
{% if page.slides.embed %}
|
||||
<div class="slides">
|
||||
<h2 class="slides__title">Slides</h2>
|
||||
|
||||
<div class="slides__content">
|
||||
{{ page.slides.embed|raw }}
|
||||
</div>
|
||||
<div class="talk-slides">
|
||||
{{ page.slides.embed|raw }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% if page.video.embed %}
|
||||
<h2>Video</h2>
|
||||
|
||||
<div class="embed-container">
|
||||
{{ page.video.embed|raw }}
|
||||
<div class="talk-video">
|
||||
<div class="embed-container">
|
||||
{{ page.video.embed|raw }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
</a>
|
||||
</td>
|
||||
|
||||
<td>{{ talk.event.name }}</td>
|
||||
<td>{{ talk.location }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
|
|
@ -1,13 +1,10 @@
|
|||
---
|
||||
title: So, what is this Drupal thing?
|
||||
event:
|
||||
name: Unified Diff
|
||||
website: http://unifieddiff.co.uk
|
||||
location: Cardiff, UK
|
||||
location: Unified Diff
|
||||
logo_link: http://unifieddiff.co.uk
|
||||
video:
|
||||
embed: <iframe src="https://player.vimeo.com/video/49827006" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
|
||||
url: https://vimeo.com/49827006
|
||||
slug: what-is-this-drupal-thing
|
||||
tags:
|
||||
- meetup
|
||||
- drupal
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
---
|
||||
title: Drupal and the LDAP Module
|
||||
event:
|
||||
name: SWDUG (South Wales Drupal user group)
|
||||
location: Cardiff, UK
|
||||
location: SWDUG
|
||||
tags:
|
||||
- meetup
|
||||
- swdug
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
---
|
||||
title: Never Commit to Master - An Introduction to Git Flow
|
||||
event:
|
||||
name: DrupalCamp London 2014
|
||||
website: http://2014.drupalcamplondon.co.uk
|
||||
location: London, UK
|
||||
location: DrupalCamp London 2014
|
||||
logo_link: http://2014.drupalcamplondon.co.uk
|
||||
slides:
|
||||
embed: <script async class="speakerdeck-embed" data-id="201559e0f103013198dd5a5f6f23ab67" data-ratio="1.29456384323641" src="//speakerdeck.com/assets/embed.js"></script>
|
||||
url: https://speakerdeck.com/opdavies/never-commit-to-master-an-introduction-to-git-flow
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
---
|
||||
title: drush make drupalbristol
|
||||
event:
|
||||
name: Bristol Drupal
|
||||
website: http://www.drupalbristol.org.uk
|
||||
location: Bristol, UK
|
||||
location: Bristol Drupal
|
||||
logo_link: http://www.drupalbristol.org.uk
|
||||
slides:
|
||||
embed: <script async class="speakerdeck-embed" data-id="42605700f102013198de5a5f6f23ab67" data-ratio="1.29456384323641" src="//speakerdeck.com/assets/embed.js"></script>
|
||||
url: https://speakerdeck.com/opdavies/drush-make-drupalbristol
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
---
|
||||
title: About the Drupal Association
|
||||
event:
|
||||
name: SWDUG
|
||||
location: Cardiff, UK
|
||||
location: SWDUG
|
||||
tags:
|
||||
- meetup
|
||||
- swdug
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
---
|
||||
title: Drupal.org in 2015: What's Coming Next
|
||||
event:
|
||||
name: DrupalCamp Brighton 2015
|
||||
website: http://www.drupalcampbrighton.co.uk/drupalcamp-brighton-2015
|
||||
location: Brighton, UK
|
||||
location: DrupalCamp Brighton 2015
|
||||
logo_link: http://www.drupalcampbrighton.co.uk/drupalcamp-brighton-2015
|
||||
tags:
|
||||
- conference
|
||||
- drupalcamp
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
---
|
||||
title: Drupal.org in 2015: What's Coming Next
|
||||
event:
|
||||
name: DrupalCamp London 2015
|
||||
website: http://2015.drupalcamplondon.co.uk
|
||||
location: London, UK
|
||||
location: DrupalCamp London 2015
|
||||
logo_link: http://2015.drupalcamplondon.co.uk
|
||||
tags:
|
||||
- conference
|
||||
- drupalcamp
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
---
|
||||
title: Drupal 8
|
||||
event:
|
||||
name: PHPSW
|
||||
website: http://phpsw.uk
|
||||
location: Bristol, UK
|
||||
location: PHPSW
|
||||
slides:
|
||||
embed: <script async class="speakerdeck-embed" data-id="46ba4ba577d94a32b7abdade610ceb69" data-ratio="1.29456384323641" src="//speakerdeck.com/assets/embed.js"></script>
|
||||
url: https://speakerdeck.com/opdavies/drupal-8
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
---
|
||||
title: Test Drive Twig with Sculpin
|
||||
event:
|
||||
name: DrupalCamp North 2015
|
||||
website: http://drupalcampnorth.org
|
||||
location: Sunderland, UK
|
||||
location: DrupalCamp North 2015
|
||||
slides:
|
||||
embed: <script async class="speakerdeck-embed" data-id="54589d2e50a3476a9a75aed809e9edf1" data-ratio="1.77777777777778" src="//speakerdeck.com/assets/embed.js"></script>
|
||||
url: https://speakerdeck.com/opdavies/test-drive-twig-with-sculpin
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
---
|
||||
title: Dancing for Drupal
|
||||
event:
|
||||
name: umBristol (Bristol Umbraco user group)
|
||||
website: http://umbristol.co.uk
|
||||
location: Bristol, UK
|
||||
location: umBristol (Bristol Umbraco user group)
|
||||
slides:
|
||||
embed: <script async class="speakerdeck-embed" data-id="ffa9b6dea6dc4a8eb207b9982ed6e1bd" data-ratio="1.33333333333333" src="//speakerdeck.com/assets/embed.js"></script>
|
||||
url: https://speakerdeck.com/opdavies/umbristol-dancing-for-drupal
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
---
|
||||
title: Building Static Websites with Sculpin
|
||||
event:
|
||||
name: PHPSW
|
||||
website: http://phpsw.uk
|
||||
location: Bristol, UK
|
||||
location: PHPSW
|
||||
slides:
|
||||
embed: <script async class="speakerdeck-embed" data-id="6c9c4be1a1344f1291ff13a391674a66" data-ratio="1.37081659973226" src="//speakerdeck.com/assets/embed.js"></script>
|
||||
url: https://speakerdeck.com/opdavies/building-static-websites-with-sculpin
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
---
|
||||
title: Getting Started with Drupal 8 Module Development
|
||||
event:
|
||||
name: DrupalCamp London 2016
|
||||
website: http://drupalcamp.london
|
||||
location: London, UK
|
||||
location: DrupalCamp London 2016
|
||||
tags:
|
||||
- conference
|
||||
- php
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
---
|
||||
title: Drupal VM Generator
|
||||
event:
|
||||
name: NWDUG
|
||||
website: http://nwdrupal.org.uk
|
||||
location: Manchester, UK
|
||||
location: NWDUG
|
||||
code: https://github.com/opdavies/drupal-vm-generator
|
||||
tags:
|
||||
- drupal-vm
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
---
|
||||
title: Drupal VM Generator
|
||||
event:
|
||||
name: Drupal Bristol
|
||||
website: https://www.drupalbristol.org.uk
|
||||
location: Bristol, UK
|
||||
location: Drupal Bristol
|
||||
code: https://github.com/opdavies/drupal-vm-generator
|
||||
tags:
|
||||
- drupal-vm
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
---
|
||||
title: Drupal 8: Rejoining the Herd
|
||||
event:
|
||||
name: PHP South Coast 2016
|
||||
website: http://2016.phpsouthcoast.co.uk
|
||||
location: Portsmouth, UK
|
||||
location: PHP South Coast 2016
|
||||
tags:
|
||||
- conference
|
||||
- php
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
---
|
||||
title: Drupal VM, Meet Symfony Console
|
||||
event:
|
||||
name: DrupalCamp Bristol 2016
|
||||
website: https://www.drupalcampbristol.co.uk
|
||||
location: Bristol, UK
|
||||
logo: assets/images/talks/drupalcamp-bristol.png
|
||||
location: DrupalCamp Bristol 2016
|
||||
logo: assets/images/talks/drupalcamp-bristol.png
|
||||
tags:
|
||||
- conference
|
||||
- php
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
---
|
||||
title: Modern Drupal Development with Composer
|
||||
type: Lightning talk
|
||||
event:
|
||||
name: PHPSW
|
||||
website: http://phpsw.uk
|
||||
location: Bristol, UK
|
||||
location: PHPSW
|
||||
tags: ['meetups', 'phpsw', 'drupal', 'composer']
|
||||
slides:
|
||||
embed: '<script async class="speakerdeck-embed" data-id="7a1358502526425a9cfd288f85fb32f3" data-ratio="1.37081659973226" src="//speakerdeck.com/assets/embed.js"></script>'
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
---
|
||||
title: Goodbye Drush Make. Hello Composer!
|
||||
event:
|
||||
name: Drupal Bristol
|
||||
website: https://www.drupalbristol.org.uk
|
||||
location: Bristol, UK
|
||||
logo: assets/images/talks/drupalcamp-bristol.png
|
||||
location: Drupal Bristol
|
||||
logo: assets/images/talks/drupalcamp-bristol.png
|
||||
tags: ['meetup', 'drupal', 'composer']
|
||||
# image: drush-make-is-dead-long-live-composer.png
|
||||
slides:
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
---
|
||||
title: Getting (Your Data) Into Drupal 8
|
||||
event:
|
||||
name: Drupal Bristol
|
||||
website: https://www.drupalbristol.org.uk
|
||||
location: Bristol, UK
|
||||
location: Drupal Bristol
|
||||
tags: ['meetup', 'drupal', 'drupal-8']
|
||||
slides:
|
||||
url: ~
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
---
|
||||
title: It All Started With A Patch
|
||||
event:
|
||||
name: PHPSW
|
||||
website: https://phpsw.uk
|
||||
location: Bristol, UK
|
||||
location: PHPSW
|
||||
tags: [meetup, phpsw, open-source]
|
||||
slides:
|
||||
url: https://speakerdeck.com/opdavies/it-all-started-with-a-patch-phpsw
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
---
|
||||
title: Deploying PHP Applications with Fabric
|
||||
event:
|
||||
name: Nomad PHP Lightning Talks
|
||||
website: https://nomadphp.com
|
||||
location: Online
|
||||
location: Nomad PHP
|
||||
tags: ['meetup', 'php', 'fabric']
|
||||
slides:
|
||||
url: ~
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
---
|
||||
title: Getting (Your Data) Into Drupal 8
|
||||
event:
|
||||
name: DrupalCamp London 2017
|
||||
website: http://drupalcamp.london
|
||||
location: London, UK
|
||||
location: DrupalCamp London 2017
|
||||
tags: []
|
||||
slides:
|
||||
url: ~
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
|
||||
---
|
||||
title: Test driven Drupal development with SimpleTest and PHPUnit
|
||||
event:
|
||||
name: DrupalCamp London 2017
|
||||
website: http://drupalcamp.london
|
||||
location: London, UK
|
||||
location: DrupalCamp London 2017
|
||||
tags: []
|
||||
slides:
|
||||
url: ~
|
||||
|
|
|
@ -5,9 +5,30 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block content_wrapper %}
|
||||
{% block content %}{% endblock %}
|
||||
|
||||
{% include 'talk/event' %}
|
||||
{% include 'talk/location' %}
|
||||
{% include 'talk/slides' %}
|
||||
{% include 'talk/video' %}
|
||||
|
||||
<div class="content">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
|
||||
<div class="talk-pager is-flex">
|
||||
{% if page.next_talk %}
|
||||
<div class="is-half">
|
||||
<a href="{{ page.next_talk.url }}">
|
||||
« {{ page.next_talk.title }}
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if page.previous_talk %}
|
||||
<div class="is-half text-right">
|
||||
<a href="{{ page.previous_talk.url }}" class="is-half text-right">
|
||||
{{ page.previous_talk.title }} »
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue