This is a plugin meant for Jekyll.
Example use:
Easily embed a YouTube video. Just drop this file in your _plugins
directory.
{% youtube oHg5SJYRHA0 %}
This is a plugin meant for Jekyll.
Example use:
Easily embed a YouTube video. Just drop this file in your _plugins
directory.
{% youtube oHg5SJYRHA0 %}
<?php | |
/* | |
* WHAT DOES THIS CODE DO? | |
* | |
* When using get_adjacent_post(), there is no way to restrict posts to one or two | |
* categories, if the categories in question are not identical to the current post. | |
* We get arround that by requesting a list of EVERY CATEGORY EXCEPT the one in | |
* question, and then pass that as our list of 'excluded' categories. | |
* | |
* Take a deep breath. |
<?php | |
/** | |
* Module Name: Photon | |
* Module Description: Give your site a boost by loading images from the WordPress.com content delivery network. | |
* Sort Order: 15 | |
* First Introduced: 2.0 | |
*/ | |
class Jetpack_Photon { | |
/** |
cd ~/Downloads | |
./ems-flasher --read "photos.sav" |
{% if include.content %} | |
<meta property="{{ include.property }}" content="{{ include.content }}" /> | |
{% endif %} |
Simply call this template from your master Jekyll template, and your site will be (more or less) minified
Adding Open Graph metadata to Blogger is easy.
Simply copy the code below and paste it into your template after the <header>
tag.
A couple notes:
og:locale
Should probably actually reflect the blog's locale instead of just being a hardcoded string. Unfortunately, Blogger only gives us en-us
with a hyphen, instead of an underscore, so that won't work.og:type
from website
to profile
and adding your personal informationog:image
Is only supplied if Blogger finds an image in the current post. However, not supplying og:image
is invalid. You could provide an alternate image of your blog logo, or a Gravatar.The best way to add a sitemap to a Jekyll site is with the jekyll-sitemap plugin.
In your _config.yml
gems:
- jekyll-sitemap