mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-22 10:07:11 +00:00
e711f8b839
- Cleanup _config.yml - Move navigation and author info to data files - Convert .less stylesheets to .scss - Update documentation - Include Octopress gem for new post/page creation
19 lines
No EOL
852 B
Markdown
19 lines
No EOL
852 B
Markdown
---
|
|
layout: post
|
|
title: "A Post with a Video"
|
|
excerpt: "Custom written post descriptions are the way to go... if you're not lazy."
|
|
categories: articles
|
|
tags: [sample-post, video]
|
|
comments: true
|
|
share: true
|
|
---
|
|
|
|
<iframe width="560" height="315" src="http://www.youtube.com/embed/SqYiglufb8Y" 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="http://www.youtube.com/embed/PWf4WUoMXwg" frameborder="0"> </iframe>
|
|
{% endhighlight %} |