Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit491100f

Browse files
committed
Merge branch 'gh-pages' of github.com:westindiecollective/presskit
2 parents7e96d2d +12059dc commit491100f

File tree

3 files changed

+33
-27
lines changed

3 files changed

+33
-27
lines changed

‎_includes/trailer.html‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<p>
2+
<strong>{{trailer.name}}</strong>&nbsp;
3+
{% if trailer.youtube %}<ahref="https://youtu.be/{{trailer.youtube}}">YouTube</a> {% endif %}
4+
{% if trailer.vimeo %}<ahref="http://www.vimeo.com/{{trailer.vimeo}}">Vimeo</a> {% endif %}
5+
{% if trailer.dailymotion %}<ahref="http://dai.ly/{{trailer.vimeo}}">Dailymotion</a> {% endif %}
6+
{% if trailer.mov %}<ahref="{{base_url}}/trailers/{{trailer.mov}}">.mov</a> {% endif %}
7+
{% if trailer.mp4 %}<ahref="{{base_url}}/trailers/{{trailer.mp4}}">.mp4</a> {% endif %}
8+
9+
{% if trailer.youtube %}
10+
<divclass="uk-responsive-width iframe-container">
11+
<iframesrc="//www.youtube.com/embed/{{trailer.youtube}}"frameborder="0"allowfullscreen></iframe>
12+
</div>
13+
{% else if trailer.vimeo %}
14+
<divclass="uk-responsive-width iframe-container">
15+
<iframesrc="//player.vimeo.com/video/{{trailer.vimeo}}"frameborder="0"allowfullscreen></iframe>
16+
</div>
17+
{% else if trailer.dailymotion %}
18+
<divclass="uk-responsive-width iframe-container">
19+
<iframesrc="//dailymotion.com/embed/video/{{trailer.dailymotion}}"frameborder="0"allowfullscreen></iframe>
20+
</div>
21+
{% endif %}
22+
23+
</p>

‎_layouts/game.html‎

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -89,24 +89,7 @@ <h2>Features</h2>
8989

9090
<h2id="trailers">Videos</h2>
9191
{% for trailer in game.trailers %}
92-
<p>
93-
<strong>{{trailer.name}}</strong>&nbsp;
94-
{% if trailer.youtube %}<ahref="https://youtu.be/{{trailer.youtube}}">https://youtu.be/{{trailer.youtube}}</a> {% endif %}
95-
{% if trailer.vimeo %}<ahref="http://www.vimeo.com/{{trailer.vimeo}}">http://www.vimeo.com/{{trailer.vimeo}}</a> {% endif %}
96-
{% if trailer.mov %}<ahref="{{base_url}}/trailers/{{trailer.mov}}">.mov</a> {% endif %}
97-
{% if trailer.mp4 %}<ahref="{{base_url}}/trailers/{{trailer.mp4}}">.mp4</a> {% endif %}
98-
99-
{% if trailer.youtube %}
100-
<divclass="uk-responsive-width iframe-container">
101-
<iframesrc="http://www.youtube.com/embed/{{trailer.youtube}}"frameborder="0"allowfullscreen></iframe>
102-
</div>
103-
{% else if trailer.vimeo %}
104-
<divclass="uk-responsive-width iframe-container">
105-
<iframesrc="http://player.vimeo.com/video/{{trailer.vimeo}}"frameborder="0"allowfullscreen></iframe>
106-
</div>
107-
{% endif %}
108-
109-
</p>
92+
{% include trailer.html %}
11093
{% else %}
11194
<p>
11295
There are currently no trailers available for {{game.title}}.

‎index.html‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ <h2 id="description">Description</h2>
7272
<h2id="history">History</h2>
7373
{% for story in presskit.history %}
7474
<strong>{{story.header}}</strong>
75-
<p>{{story.header}}</p>
75+
<p>{{story.text}}</p>
7676
{% endfor %}
7777

7878
<h2id="projects">Projects</h2>
@@ -89,14 +89,14 @@ <h2 id="projects">Projects</h2>
8989
<hr>
9090

9191
<h2id="trailers">Videos</h2>
92-
{% for trailer in presskit.trailers %}
93-
<p>
94-
<strong>{{trailer.name}}</strong>:&nbsp;<ahref="https://youtu.be/{{trailer.youtube}}">https://youtu.be/{{trailer.youtube}}</a>
95-
<divclass="uk-responsive-width iframe-container">
96-
<iframesrc="http://www.youtube.com/embed/{{trailer.youtube}}"frameborder="0"allowfullscreen></iframe>
97-
</div>
98-
</p>
99-
{% endfor %}
92+
{% for trailer in presskit.trailers %}
93+
{% include trailer.html %}
94+
{% else %}
95+
<p>
96+
There are currently no trailers available for {{presskit.title}}.
97+
Check back later for more or<ahref="#contact">contact us</a> for specific requests!
98+
</p>
99+
{% endfor %}
100100

101101
<hr>
102102

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp