From 02762b8b484495ad0d8c2d9b05251c4a2b7b2692 Mon Sep 17 00:00:00 2001 From: Ben Balter Date: Wed, 3 Feb 2016 12:52:46 -0500 Subject: [PATCH 1/2] add facebook meta --- README.md | 8 ++++++-- lib/template.html | 8 ++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 75f5f65..3ed63b9 100644 --- a/README.md +++ b/README.md @@ -53,12 +53,16 @@ The SEO tag will respect any of the following if included in your site's `_confi * `description` - A short description (e.g., A blog dedicated to reviewing cat gifs) * `url` - The full URL to your site. Note: `site.github.url` will be used by default. * `twitter:username` - The site's Twitter handle. You'll want to describe it like so: - ```yml twitter: username: benbalter ``` - +* `facebook:app_id` (A Facebook app ID for Facebook insights), and/or `facebook:publisher` (A Facebook page URL or ID of the publishing entity). You'll want to describe one or both like so: + ```yml + facebook: + app_id: 1234 + publisher: 1234 + ``` * `logo` - Relative URL to a site-wide logo (e.g., `assets/your-company-logo.png`) * `social` - For [specifying social profiles](https://developers.google.com/structured-data/customize/social-profiles). The following properties are available: * `type` - Either `person` or `organization` (defaults to `person`) diff --git a/lib/template.html b/lib/template.html index 871348b..5cd6fac 100644 --- a/lib/template.html +++ b/lib/template.html @@ -79,12 +79,15 @@ {% if page.date %} + + {% if page.next.url %} {% endif %} {% if page.previous.url %} {% endif %} +