New theme and structure
This commit is contained in:
parent
28a99a0e04
commit
e4bafbb361
108 changed files with 9391 additions and 0 deletions
16
_posts/2013-06-25-video-post.md
Normal file
16
_posts/2013-06-25-video-post.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
layout: post
|
||||
title: "A Post with a Video"
|
||||
description: "Custom written post descriptions are the way to go... if you're not lazy."
|
||||
tags: [sample post, video]
|
||||
---
|
||||
|
||||
<iframe width="560" height="315" src="//www.youtube.com/embed/SU3kYxJmWuQ" frameborder="0"> </iframe>
|
||||
|
||||
Video embeds are responsive and scale with the width of the main content block with the help of [FitVids](http://fitvidsjs.com/).
|
||||
|
||||
Not sure if this only effects Kramdown or if it's an issue with Markdown in general. But adding YouTube video embeds causes errors when building your Jekyll site. To fix add a space between the `<iframe>` tags and remove `allowfullscreen`. Example below:
|
||||
|
||||
{% highlight html %}
|
||||
<iframe width="560" height="315" src="//www.youtube.com/embed/SU3kYxJmWuQ" frameborder="0"> </iframe>
|
||||
{% endhighlight %}
|
Reference in a new issue