Updated other extensions
This commit is contained in:
parent
4174948cc5
commit
1f60136bf3
|
@ -14,5 +14,5 @@ tags:
|
||||||
- unified-diff
|
- unified-diff
|
||||||
---
|
---
|
||||||
{% block video %}
|
{% block video %}
|
||||||
{{ vimeo('49827006')|raw }}
|
{{ vimeo('49827006') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -18,7 +18,7 @@ slug: git-flow
|
||||||
tweets: yes
|
tweets: yes
|
||||||
---
|
---
|
||||||
{% block slides %}
|
{% block slides %}
|
||||||
{{ speakerdeck('201559e0f103013198dd5a5f6f23ab67', '1.29456384323641')|raw }}
|
{{ speakerdeck('201559e0f103013198dd5a5f6f23ab67', '1.29456384323641') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block video %}
|
{% block video %}
|
||||||
|
@ -26,8 +26,8 @@ tweets: yes
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block feedback %}
|
{% block feedback %}
|
||||||
{{ tweet('Great talk on git flow <a href="https://twitter.com/opdavies">@opdavies</a> <a href="https://twitter.com/hashtag/dclondon?src=hash">#dclondon</a></p>— CURVE (@CurveAgency) <a href="https://twitter.com/CurveAgency/status/440095250775035904">March 2, 2014</a>')|raw }}
|
{{ tweet('Great talk on git flow <a href="https://twitter.com/opdavies">@opdavies</a> <a href="https://twitter.com/hashtag/dclondon?src=hash">#dclondon</a></p>— CURVE (@CurveAgency) <a href="https://twitter.com/CurveAgency/status/440095250775035904">March 2, 2014</a>') }}
|
||||||
{{ tweet('Great presentation by <a href="https://twitter.com/opdavies">@opdavies</a> on git flow at <a href="https://twitter.com/hashtag/dclondon?src=hash">#dclondon</a> very well prepared and presented. <a href="http://t.co/tDINp2Nsbn">pic.twitter.com/tDINp2Nsbn</a></p>— Greg Franklin (@gfranklin) <a href="https://twitter.com/gfranklin/status/440104311276969984">March 2, 2014</a>')|raw }}
|
{{ tweet('Great presentation by <a href="https://twitter.com/opdavies">@opdavies</a> on git flow at <a href="https://twitter.com/hashtag/dclondon?src=hash">#dclondon</a> very well prepared and presented. <a href="http://t.co/tDINp2Nsbn">pic.twitter.com/tDINp2Nsbn</a></p>— Greg Franklin (@gfranklin) <a href="https://twitter.com/gfranklin/status/440104311276969984">March 2, 2014</a>') }}
|
||||||
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> Thanks for the talk today on git flow. Looking forward to use it. <a href="https://twitter.com/hashtag/drupalcampldn?src=hash">#drupalcampldn</a> <a href="https://twitter.com/hashtag/dclondon?src=hash">#dclondon</a> <a href="https://twitter.com/hashtag/git?src=hash">#git</a></p>— Drupal Cafe UK (@drupal_cafe) <a href="https://twitter.com/drupal_cafe/status/440119608939278338">March 2, 2014</a>')|raw }}
|
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> Thanks for the talk today on git flow. Looking forward to use it. <a href="https://twitter.com/hashtag/drupalcampldn?src=hash">#drupalcampldn</a> <a href="https://twitter.com/hashtag/dclondon?src=hash">#dclondon</a> <a href="https://twitter.com/hashtag/git?src=hash">#git</a></p>— Drupal Cafe UK (@drupal_cafe) <a href="https://twitter.com/drupal_cafe/status/440119608939278338">March 2, 2014</a>') }}
|
||||||
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> <a href="https://twitter.com/DrupalCampLDN">@DrupalCampLDN</a> always had trouble with git. Your talk + Git flow has made it all very easy.</p>— James Tombs (@jtombs) <a href="https://twitter.com/jtombs/status/440108072078696449">March 2, 2014</a>')|raw }}
|
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> <a href="https://twitter.com/DrupalCampLDN">@DrupalCampLDN</a> always had trouble with git. Your talk + Git flow has made it all very easy.</p>— James Tombs (@jtombs) <a href="https://twitter.com/jtombs/status/440108072078696449">March 2, 2014</a>') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -15,5 +15,5 @@ tags:
|
||||||
- drush-make
|
- drush-make
|
||||||
---
|
---
|
||||||
{% block slides %}
|
{% block slides %}
|
||||||
{{ speakerdeck('42605700f102013198de5a5f6f23ab67', '1.29456384323641')|raw }}
|
{{ speakerdeck('42605700f102013198de5a5f6f23ab67', '1.29456384323641') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -23,7 +23,7 @@ I categorised the technical changes into groups for site builders, developers an
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block slides %}
|
{% block slides %}
|
||||||
{{ speakerdeck('46ba4ba577d94a32b7abdade610ceb69', '1.29456384323641')|raw }}
|
{{ speakerdeck('46ba4ba577d94a32b7abdade610ceb69', '1.29456384323641') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block video %}
|
{% block video %}
|
||||||
|
@ -31,5 +31,5 @@ I categorised the technical changes into groups for site builders, developers an
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block feedback %}
|
{% block feedback %}
|
||||||
{{ tweet('Cool to hear how much new stuff is in <a href="https://twitter.com/drupal">@drupal</a> 8. Integrating with more third party code rather than rolling their own. <a href="https://twitter.com/hashtag/phpsw?src=hash">#phpsw</a></p>— Tom Robertshaw (@bobbyshaw) <a href="https://twitter.com/bobbyshaw/status/585882859631706114">April 8, 2015</a>')|raw }}
|
{{ tweet('Cool to hear how much new stuff is in <a href="https://twitter.com/drupal">@drupal</a> 8. Integrating with more third party code rather than rolling their own. <a href="https://twitter.com/hashtag/phpsw?src=hash">#phpsw</a></p>— Tom Robertshaw (@bobbyshaw) <a href="https://twitter.com/bobbyshaw/status/585882859631706114">April 8, 2015</a>') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -23,9 +23,9 @@ This session covered how to install Sculpin itself, as well as how to use it to
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block slides %}
|
{% block slides %}
|
||||||
{{ speakerdeck('54589d2e50a3476a9a75aed809e9edf1', '1.77777777777778')|raw }}
|
{{ speakerdeck('54589d2e50a3476a9a75aed809e9edf1', '1.77777777777778') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block feedback %}
|
{% block feedback %}
|
||||||
{{ tweet('Twig said 'foo', then Sculpin said 'bar'. They agreed to go spaceless ;-) Interesting talk by <a href="https://twitter.com/opdavies">@opdavies</a> <a href="https://twitter.com/hashtag/dcnorth15?src=hash">#dcnorth15</a> <a href="http://t.co/26GmhiCdfJ">http://t.co/26GmhiCdfJ</a></p>— Stefan van Hooft (@hooftio) <a href="https://twitter.com/hooftio/status/624898550158200832">July 25, 2015</a>')|raw }}
|
{{ tweet('Twig said 'foo', then Sculpin said 'bar'. They agreed to go spaceless ;-) Interesting talk by <a href="https://twitter.com/opdavies">@opdavies</a> <a href="https://twitter.com/hashtag/dcnorth15?src=hash">#dcnorth15</a> <a href="http://t.co/26GmhiCdfJ">http://t.co/26GmhiCdfJ</a></p>— Stefan van Hooft (@hooftio) <a href="https://twitter.com/hooftio/status/624898550158200832">July 25, 2015</a>') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -30,9 +30,9 @@ In each point, tried to cover the differences between Drupal core and developing
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block slides %}
|
{% block slides %}
|
||||||
{{ speakerdeck('ffa9b6dea6dc4a8eb207b9982ed6e1bd', '1.33333333333333')|raw }}
|
{{ speakerdeck('ffa9b6dea6dc4a8eb207b9982ed6e1bd', '1.33333333333333') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block feedback %}
|
{% block feedback %}
|
||||||
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> <a href="https://twitter.com/Horls">@Horls</a> <a href="https://twitter.com/mhwelander">@mhwelander</a> <a href="https://twitter.com/ThisisZone">@ThisisZone</a> <a href="https://twitter.com/mozzy16">@mozzy16</a> Thanks for a top night of knowledge sharing! <a href="https://twitter.com/hashtag/drupal?src=hash">#drupal</a> <a href="https://twitter.com/hashtag/episerver?src=hash">#episerver</a> <a href="https://twitter.com/hashtag/sitecore?src=hash">#sitecore</a> <a href="https://twitter.com/hashtag/umbraco?src=hash">#umbraco</a> <a href="https://twitter.com/hashtag/h5yr?src=hash">#h5yr</a></p>— umBristol (@umBristol) <a href="https://twitter.com/umBristol/status/636290498362216449">August 25, 2015</a>')|raw }}
|
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> <a href="https://twitter.com/Horls">@Horls</a> <a href="https://twitter.com/mhwelander">@mhwelander</a> <a href="https://twitter.com/ThisisZone">@ThisisZone</a> <a href="https://twitter.com/mozzy16">@mozzy16</a> Thanks for a top night of knowledge sharing! <a href="https://twitter.com/hashtag/drupal?src=hash">#drupal</a> <a href="https://twitter.com/hashtag/episerver?src=hash">#episerver</a> <a href="https://twitter.com/hashtag/sitecore?src=hash">#sitecore</a> <a href="https://twitter.com/hashtag/umbraco?src=hash">#umbraco</a> <a href="https://twitter.com/hashtag/h5yr?src=hash">#h5yr</a></p>— umBristol (@umBristol) <a href="https://twitter.com/umBristol/status/636290498362216449">August 25, 2015</a>') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -24,7 +24,7 @@ You can [view the full slides](/slides/phpsw/building-static-websites-with-sculp
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block slides %}
|
{% block slides %}
|
||||||
{{ speakerdeck('6c9c4be1a1344f1291ff13a391674a66', '1.37081659973226')|raw }}
|
{{ speakerdeck('6c9c4be1a1344f1291ff13a391674a66', '1.37081659973226') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block video %}
|
{% block video %}
|
||||||
|
@ -32,5 +32,5 @@ You can [view the full slides](/slides/phpsw/building-static-websites-with-sculp
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block feedback %}
|
{% block feedback %}
|
||||||
{{ tweet('Simple and very cool use of video in <a href="https://twitter.com/opdavies">@opdavies</a> lightning talk <a href="https://twitter.com/phpsw">@phpsw</a> to show how to do things</p>— Stuart Herbert (@stuherbert) <a href="https://twitter.com/stuherbert/status/654367259339661312">October 14, 2015</a>')|raw }}
|
{{ tweet('Simple and very cool use of video in <a href="https://twitter.com/opdavies">@opdavies</a> lightning talk <a href="https://twitter.com/phpsw">@phpsw</a> to show how to do things</p>— Stuart Herbert (@stuherbert) <a href="https://twitter.com/stuherbert/status/654367259339661312">October 14, 2015</a>') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -43,11 +43,11 @@ What we won’t be covering:
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block slides %}
|
{% block slides %}
|
||||||
{{ speakerdeck('0041804e52664d12a8e31cd118264813', '1.77777777777778')|raw }}
|
{{ speakerdeck('0041804e52664d12a8e31cd118264813', '1.77777777777778') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block feedback %}
|
{% block feedback %}
|
||||||
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> good talk on Getting started with Drupal 8 module development! 😀</p>— Michael trestianu (@Tresti88) <a href="https://twitter.com/Tresti88/status/706129843134570496">March 5, 2016</a>')|raw }}
|
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> good talk on Getting started with Drupal 8 module development! 😀</p>— Michael trestianu (@Tresti88) <a href="https://twitter.com/Tresti88/status/706129843134570496">March 5, 2016</a>') }}
|
||||||
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> Great talk. Thanks.</p>— John Bloomfield (@jbloomfield) <a href="https://twitter.com/jbloomfield/status/706131469148811264">March 5, 2016</a>')|raw }}
|
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> Great talk. Thanks.</p>— John Bloomfield (@jbloomfield) <a href="https://twitter.com/jbloomfield/status/706131469148811264">March 5, 2016</a>') }}
|
||||||
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> definitely went well , I learnt from it , as did a others .</p>— tim marsh (@timmarsh) <a href="https://twitter.com/timmarsh/status/706214342027567104">March 5, 2016</a>')|raw }}
|
{{ tweet('<a href="https://twitter.com/opdavies">@opdavies</a> definitely went well , I learnt from it , as did a others .</p>— tim marsh (@timmarsh) <a href="https://twitter.com/timmarsh/status/706214342027567104">March 5, 2016</a>') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -13,13 +13,14 @@ class SpeakerDeckExtension extends Twig_Extension
|
||||||
public function getFunctions()
|
public function getFunctions()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
new Twig_SimpleFunction('speakerdeck', [$this, 'embedCode']),
|
new Twig_SimpleFunction('speakerdeck', [$this, 'embedCode'], [
|
||||||
|
'is_safe' => ['html']
|
||||||
|
]),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function embedCode($dataId, $dataRatio)
|
public function embedCode($dataId, $dataRatio)
|
||||||
{
|
{
|
||||||
// <script async class="speakerdeck-embed" data-id="0041804e52664d12a8e31cd118264813" data-ratio="1.77777777777778" src="//speakerdeck.com/assets/embed.js"></script>
|
|
||||||
return sprintf(
|
return sprintf(
|
||||||
'<script async class="speakerdeck-embed" data-id="%s" data-ratio="%s" src="//speakerdeck.com/assets/embed.js"></script>',
|
'<script async class="speakerdeck-embed" data-id="%s" data-ratio="%s" src="//speakerdeck.com/assets/embed.js"></script>',
|
||||||
$dataId,
|
$dataId,
|
||||||
|
|
|
@ -13,7 +13,9 @@ class TweetExtension extends Twig_Extension
|
||||||
public function getFunctions()
|
public function getFunctions()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
new Twig_SimpleFunction('tweet', [$this, 'render']),
|
new Twig_SimpleFunction('tweet', [$this, 'render'], [
|
||||||
|
'is_safe' => ['html']
|
||||||
|
]),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,9 @@ class VimeoExtension extends Twig_Extension
|
||||||
public function getFunctions()
|
public function getFunctions()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
new Twig_SimpleFunction('vimeo', [$this, 'embedCode'])
|
new Twig_SimpleFunction('vimeo', [$this, 'embedCode'], [
|
||||||
|
'is_safe' => ['html']
|
||||||
|
])
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue