Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-bautista committed Jul 15, 2014
1 parent e26e343 commit 96054ac
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# SilverStripe Facebook Image

Provides an Image Field for use when sharing pages on facebook. This extension provides fields in both the SiteConfig and on Page. The SiteConfig image is the default fallback for all pages but one can customise which image appears on each individual page by using that page's facebook image field.
Provides an Image Field for use when sharing pages on facebook.

This extension provides fields in both the SiteConfig and on Page. The SiteConfig image is the default fallback for all pages but one can customise which image appears on each individual page by using that page's facebook image field.


## Installation (with composer)
Expand All @@ -10,9 +12,14 @@ Provides an Image Field for use when sharing pages on facebook. This extension p
## Usage

```html
<head>
$FacebookMetaTags
</head>
<html>
<head>
$FacebookMetaTags
</head>
<body>
<p>Hello, world!</p>
<body>
</html>
```

Just use the $FacebookMetaTags variable in your silverstripe template in the <head> section.
Expand Down

0 comments on commit 96054ac

Please sign in to comment.