OLD | NEW |
(Empty) | |
| 1 title=Metadata |
| 2 description=Default metadata for eyeo websites |
| 3 |
| 4 # Metadata |
| 5 |
| 6 Default metadata for eyeo websites |
| 7 |
| 8 1. [Social metadata](#social) |
| 9 |
| 10 ## Social metadata { #social } |
| 11 |
| 12 ### Local properties |
| 13 |
| 14 The following page properties can be set on a per page basis: |
| 15 |
| 16 - `og_url` |
| 17 - `og_type` |
| 18 - `og_site_name` |
| 19 - `og_title` |
| 20 - `og_description` |
| 21 - `og_image` |
| 22 - `og_image_alt` |
| 23 - `og_locale` |
| 24 - `facebook_id` |
| 25 - `twitter_site` |
| 26 - `twitter_card` |
| 27 - `twitter_image` |
| 28 - `twitter_image_alt` |
| 29 - `pinterest_id` |
| 30 |
| 31 ### Global properties |
| 32 |
| 33 Additionally, the following properties can be set to be available for the |
| 34 entire site. |
| 35 |
| 36 #### Site Name |
| 37 |
| 38 In a `locales/[locale]/site.json` file: |
| 39 |
| 40 ``` |
| 41 { |
| 42 "name": { |
| 43 "message": "eyeo", |
| 44 "description": "Website title" |
| 45 } |
| 46 } |
| 47 ``` |
| 48 |
| 49 #### Social accounts |
| 50 |
| 51 In `/settings.ini`: |
| 52 |
| 53 ``` |
| 54 [social] |
| 55 facebook_id = 1234abcd |
| 56 pinterest_id = 1234abcd |
| 57 twitter = username |
| 58 ``` |
OLD | NEW |