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