In _config.yml you should define the following
url
title
owner
owner_email
The best way to add a sitemap to a Jekyll site is with the jekyll-sitemap plugin.
In your _config.yml
gems:
- jekyll-sitemap
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.Simply call this template from your master Jekyll template, and your site will be (more or less) minified
{% if include.content %} | |
<meta property="{{ include.property }}" content="{{ include.content }}" /> | |
{% endif %} |
cd ~/Downloads | |
./ems-flasher --read "photos.sav" |
<?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 { | |
/** |
<?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. |
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 /* With apologies to Dr. Drang and John Siracusa. | |
feed-subscribers.php | |
By Marco Arment. | |
Released into the public domain with no warranties and no restrictions. | |
Usage: Pipe an Apache access log into stdin, e.g.: | |
php -f feed-subscribers.php < /var/log/httpd/access_log |