fixed vimeo urls. added 'special' section for special events, so we can add all the special videos.
This commit is contained in:
parent
79bff63820
commit
362ef71591
4 changed files with 91 additions and 4 deletions
|
|
@ -37,14 +37,14 @@ permalink: /video/
|
|||
{% for post in site.posts %}
|
||||
{% for talk in post.talks %}
|
||||
{% if talk.talk_video_url %}
|
||||
{% assign vimeo_id = talk.talk_video_url | remove:'https://vimeo.com/' %}
|
||||
{% assign vimeo_id = talk.talk_video_url %}
|
||||
{% if talk.topics %}
|
||||
{% assign tags = (talk.topics | split:",") %}
|
||||
{% endif %}
|
||||
<div class="videobox {% for tag in tags | uniq %}{{tag | strip | replace: " ", "-" | downcase}} {% endfor %}{{post.location | strip | replace: " ", "-" | downcase}}" vimeo="{{vimeo_id}}">
|
||||
<div class="video-title">{{talk.title}}</div>
|
||||
<div class="video-title">{{talk.artist}}</div>
|
||||
<img class="playbutton" src="/images/play-button.png" />
|
||||
<div class="video-description"><p><span class="video-session">#{{ post.number }}</span>: <span class="video-artist">{{talk.artist}}</span> / {{talk.artist_website}} – {{talk.description}}</p></div>
|
||||
<div class="video-description"><h3>{{talk.title}}</h3><p><span class="video-session">#{{ post.number }}</span>: <span class="video-artist">{{talk.artist}}</span> / {{talk.artist_website}} – {{talk.description}}</p></div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue