Skip to content

Commit

Permalink
Update youtube links to single include, not a function
Browse files Browse the repository at this point in the history
  • Loading branch information
genderedie committed Aug 10, 2020
1 parent 728f328 commit 4afa12b
Show file tree
Hide file tree
Showing 10 changed files with 62 additions and 162 deletions.
4 changes: 4 additions & 0 deletions _includes/youtube.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/{{include.youtube_code}}" frameborder="0" allowfullscreen></iframe>
</p>

14 changes: 5 additions & 9 deletions before-you-begin.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,16 @@ permalink: /before-you-begin/
{% capture module_content %}
### Before You Begin

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/arD51UjRB0w" frameborder="0" allowfullscreen></iframe>
</p>
<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/bMu4CQOM4Gk" frameborder="0" allowfullscreen></iframe>
</p>
{% include youtube.html youtube_code="arD51UjRB0w" %}

{% include youtube.html youtube_code="bMu4CQOM4Gk" %}

#### Key Message

This education programme was developed to be easy to use and to provide information to family members like yourself. Go at your own pace and only take in as much as you can.

When you are ready, please go to the home page and begin the education programme. Remember, you can start anywhere you want, but we recommend starting with [Gender Identity Basics](/gender-identity-basics/).

<div class="next-module-container">
<a href="/gender-identity-basics" class="next-module-button">Begin First Module</a>
</div>
Expand Down
26 changes: 6 additions & 20 deletions family-basics.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ permalink: /family-basics/
{% capture module_content %}
### Family Basics - Introduction

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/qEmI_3JvaC4" frameborder="0" allowfullscreen></iframe>
</p>
{% include youtube.html youtube_code="qEmI_3JvaC4" %}
{% endcapture %}
{% include module.html content=module_content number=1 active=1 %}

Expand All @@ -48,9 +46,7 @@ By the end of this module, you should be able to:
{% capture module_content %}
### Part 1A. Learning you have a trans family member

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/ytXVnlT742I" frameborder="0" allowfullscreen></iframe>
</p>
{% include youtube.html youtube_code="ytXVnlT742I" %}

Research has shown that families can experience a wide range of emotions and reactions to learning they have a transgender family member.
This is described as a time of transition, not just for the trans individual, but also the whole family<sup>12</sup>.
Expand Down Expand Up @@ -96,9 +92,7 @@ It is important that you allow yourself to feel however you are feeling and star
{% capture module_content %}
### Part 1B: Family experiences

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/ZDEjRY_3MqI" frameborder="0" allowfullscreen></iframe>
</p>
{% include youtube.html youtube_code="ZDEjRY_3MqI" %}

<p class='sources'>
3 Kuvlanka et al. 2014;
Expand Down Expand Up @@ -229,20 +223,14 @@ could be useful for you in discussions in support groups.
{% capture module_content %}
### Part 2: What can we do as a family?

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/RN7kbUpei-k" frameborder="0" allowfullscreen></iframe>
</p>

{% include youtube.html youtube_code="RN7kbUpei-k" %}
{% endcapture %}
{% include module.html content=module_content number=4 %}

{% capture module_content %}
### Part 2: To learn more

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/OQTOBgY21ps" frameborder="0" allowfullscreen></iframe>
</p>

{% include youtube.html youtube_code="OQTOBgY21ps" %}
{% endcapture %}
{% include module.html content=module_content number=4 %}

Expand All @@ -260,9 +248,7 @@ could be useful for you in discussions in support groups.
{% capture module_content %}
### Part 3: What can we do next?

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/vr3EpjXvK6g" frameborder="0" allowfullscreen></iframe>
</p>
{% include youtube.html youtube_code="vr3EpjXvK6g" %}

### Steps you may consider taking next include:

Expand Down
7 changes: 2 additions & 5 deletions future.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ permalink: /future/
{% capture module_content %}
### The future and looking ahead - Introduction

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/Zo7Wd_NpKwE" frameborder="0" allowfullscreen></iframe>
</p>

{% include youtube.html youtube_code="Zo7Wd_NpKwE" %}
{% endcapture %}
{% include module.html content=module_content number=1 active=true %}

Expand Down Expand Up @@ -155,7 +152,7 @@ Ask them what they think and discuss how you can help your family member accompl
{% capture module_content %}
### Further resources related to this module

You may wish to review some of the additional readings listed on the [further resources](/further-resources) section of this website.
You may wish to review some of the additional readings listed on the [further resources]({% link further-resources.markdown %}) section of this website.

{% endcapture %}
{% include module.html content=module_content number=4 %}
Expand Down
34 changes: 8 additions & 26 deletions gender-identity-basics.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ permalink: /gender-identity-basics/
{% capture module_content %}
### Gender Identity: The Basics - Introduction

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/OBx4WsPJSwY" frameborder="0" allowfullscreen></iframe>
</p>
{% include youtube.html youtube_code="OBx4WsPJSwY" %}
{% endcapture %}
{% include module.html content=module_content number=1 active=1 %}

Expand All @@ -45,19 +43,14 @@ By the end of this module, you should be able to:
{% capture module_content %}
### Part 1A. Gender identity introduction

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/nuN2LYr0dws" frameborder="0" allowfullscreen></iframe>
</p>

{% include youtube.html youtube_code="nuN2LYr0dws" %}
{% endcapture %}
{% include module.html content=module_content number=3 %}

{% capture module_content %}
### Part 1B. Gender diversity

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/cmP16NMKgCE" frameborder="0" allowfullscreen></iframe>
</p>
{% include youtube.html youtube_code="cmP16NMKgCE" %}

**We will be using the terms ‘trans’ or ‘transgender’ throughout this education programme
as umbrella terms to represent all children and young people who identify as a sex
Expand All @@ -70,39 +63,28 @@ gender non-binary or transgender.**
{% capture module_content %}
### Part 1B. Gender diversity

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/CzDP5ycDV1E" frameborder="0" allowfullscreen></iframe>
</p>
{% include youtube.html youtube_code="CzDP5ycDV1E" %}
{% endcapture %}
{% include module.html content=module_content number=3 %}

{% capture module_content %}
### Part 1C. Gender history and prevalence

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/1z5ViEJ-nO8" frameborder="0" allowfullscreen></iframe>
</p>

{% include youtube.html youtube_code="1z5ViEJ-nO8" %}
{% endcapture %}
{% include module.html content=module_content number=3 %}

{% capture module_content %}
### Part 1D. Gender identity and sexual orientation

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/Xp4LnpQGEBE" frameborder="0" allowfullscreen></iframe>
</p>

{% include youtube.html youtube_code="Xp4LnpQGEBE" %}
{% endcapture %}
{% include module.html content=module_content number=3 %}

{% capture module_content %}
### Part 2. Why is the language around gender identity important?

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/wgo45b-p6y4" frameborder="0" allowfullscreen></iframe>
</p>

{% include youtube.html youtube_code="wgo45b-p6y4" %}
{% endcapture %}
{% include module.html content=module_content number=4 %}

Expand Down Expand Up @@ -138,7 +120,7 @@ You can then explore the topic depending upon what they say and if they seem hap
{% capture module_content %}
### Further resources related to this module

<a target="_blank" href="/documents/module1/PDF - 1. Glossary of terms.pdf">Glossary of terms</a>.
[Glossary of terms]({% link /documents/module1/PDF - 1. Glossary of terms.pdf %}).

Killermann, S. (2013). The Genderbread Person, v.3.3. Available at: <a target="_blank" href='http://itspronouncedmetrosexual.com/2015/03/the-genderbread-person-v3/'>http://itspronouncedmetrosexual.com</a>

Expand Down
12 changes: 3 additions & 9 deletions health-and-wellbeing.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ permalink: /health-and-wellbeing/
{% capture module_content %}
### Health and wellbeing for trans children and young people - Introduction

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/uhZIawOricw" frameborder="0" allowfullscreen></iframe>
</p>
{% include youtube.html youtube_code="uhZIawOricw" %}
{% endcapture %}
{% include module.html content=module_content number=1 active=true %}

Expand All @@ -45,9 +43,7 @@ By the end of this module, you should be able to:
{% capture module_content %}
### Part 1. Mental health and wellbeing for transgender young people

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/PtKrV2bem6M" frameborder="0" allowfullscreen></iframe>
</p>
{% include youtube.html youtube_code="PtKrV2bem6M" %}

Sources: <sup>1</sup>Higgins et al. (2015); <sup>2</sup>Strang et al. (2014)
{% endcapture %}
Expand Down Expand Up @@ -118,9 +114,7 @@ In this part, take some time to read some tips from trans young people about how
{% capture module_content %}
### Part 2. Physical health and wellbeing for transgender young people

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/8VrhgjgthQw" frameborder="0" allowfullscreen></iframe>
</p>
{% include youtube.html youtube_code="8VrhgjgthQw" %}

Sources: 1. McNeil et al. (2013)

Expand Down
34 changes: 9 additions & 25 deletions legal-and-admin.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ permalink: /legal-and-admin/
{% capture module_content %}
### Legal and administrative issues for trans children and young people

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/L4PwUywvk5M" frameborder="0" allowfullscreen></iframe>
</p>
{% include youtube.html youtube_code="L4PwUywvk5M" %}
{% endcapture %}
{% include module.html content=module_content number=1 active=true %}

Expand All @@ -47,9 +45,7 @@ By the end of this module, you should be able to:
{% capture module_content %}
### Part 1. Deed Poll

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/sENVmr3cnz8" frameborder="0" allowfullscreen></iframe>
</p>
{% include youtube.html youtube_code="sENVmr3cnz8" %}
{% endcapture %}
{% include module.html content=module_content number=3 %}

Expand Down Expand Up @@ -134,9 +130,7 @@ In the next part, we will look at how to apply for Gender Recognition.
{% capture module_content %}
### Part 2. Gender Recognition Certificate

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/1ObUMW91Rts" frameborder="0" allowfullscreen></iframe>
</p>
{% include youtube.html youtube_code="1ObUMW91Rts" %}
{% endcapture %}
{% include module.html content=module_content number=4 %}

Expand Down Expand Up @@ -252,10 +246,7 @@ In the next part, we’ll review how to change identifying details on a passport
{% capture module_content %}
### Part 3. Passports

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/xWN37nBNhkU" frameborder="0" allowfullscreen></iframe>
</p>

{% include youtube.html youtube_code="xWN37nBNhkU" %}
{% endcapture %}
{% include module.html content=module_content number=5 %}

Expand Down Expand Up @@ -313,12 +304,8 @@ we’ll review other important legal protections for transgender people in Irela

{% capture module_content %}
### Part 4. Legal protections

<p class="yvideo-container">

<iframe class="yvideo" src="https://www.youtube.com/embed/SS7pxNT3dCg" frameborder="0" allowfullscreen></iframe>

</p>
{% include youtube.html youtube_code="SS7pxNT3dCg" %}
{% endcapture %}
{% include module.html content=module_content number=6 %}

Expand Down Expand Up @@ -372,9 +359,7 @@ If so, make a plan of action for how you can undertake this task. Refer to the p
{% capture module_content %}
### Key messages summary

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/O15XsFT0hbg" frameborder="0" allowfullscreen></iframe>
</p>
{% include youtube.html youtube_code="O15XsFT0hbg" %}
{% endcapture %}
{% include module.html content=module_content number=7 %}

Expand All @@ -383,11 +368,11 @@ If so, make a plan of action for how you can undertake this task. Refer to the p

#### Deed Poll Forms:

[Deed Poll How To PDF](/documents/module7/PDF - 7. Deed Poll - How to.pdf).
[Deed Poll How To PDF]({% link /documents/module7/PDF - 7. Deed Poll - How to.pdf %}).

[Application to enroll a Deed Poll](/documents/module7/7. Courts.ie - Application to Enrol a Deed Poll.doc).
[Application to enroll a Deed Poll]({% link /documents/module7/7. Courts.ie - Application to Enrol a Deed Poll.doc %}).

[Template Of Adult Deed Poll](/documents/module7/7. Courts.ie - Template of Adult Deed Poll.doc).
[Template Of Adult Deed Poll]({% link /documents/module7/7. Courts.ie - Template of Adult Deed Poll.doc %}).

#### Gender Recognition Certificate forms:

Expand All @@ -404,7 +389,6 @@ If so, make a plan of action for how you can undertake this task. Refer to the p
<a target="_blank" href="/documents/module7/7. GRC 16-17 - Ex parte motion 15.9.15.doc">GRC Ex parte motion</a>.

<a target="_blank" href="/documents/module7/7. GRC 16-17- Affidavit of applicant 15.9.15.doc">GRC Affidavit of Applicant</a>.


#### Passport forms:

Expand Down
12 changes: 3 additions & 9 deletions life-stage-issues.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ permalink: /life-stage-issues/
{% capture module_content %}
### Gender identity issues for pre-pubescent children and adolescents - Introduction

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/iLNIvxvx7rs" frameborder="0" allowfullscreen></iframe>
</p>
{% include youtube.html youtube_code="iLNIvxvx7rs" %}
{% endcapture %}
{% include module.html content=module_content number=1 active=true %}

Expand All @@ -41,9 +39,7 @@ By the end of this module, you should be able to:
{% capture module_content %}
### Part 1. Gender identity and expression in pre-pubescent children

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/dGuZRWyYsJc" frameborder="0" allowfullscreen></iframe>
</p>
{% include youtube.html youtube_code="dGuZRWyYsJc" %}
{% endcapture %}
{% include module.html content=module_content number=3 %}

Expand Down Expand Up @@ -92,9 +88,7 @@ Adolescence is a potentially turmoil time for some young people.
In the next video, we’ll hear about some of the issues that may be
going on in the lives of trans adolescents and how to respond to these issues.

<p class="yvideo-container">
<iframe class="yvideo" src="https://www.youtube.com/embed/waLhyV_ZSyQ" frameborder="0" allowfullscreen></iframe>
</p>
{% include youtube.html youtube_code="waLhyV_ZSyQ" %}

Sources: 1Edwards-Leeper et al. (2016); 2Olson et al. 2016
{% endcapture %}
Expand Down
Loading

0 comments on commit 4afa12b

Please sign in to comment.