Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: pages/metadata.md

Issue 29680647: Issue 5329 - Provide a template for social media meta data in website-defaults (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Addressed NITs Created Feb. 1, 2018, 9:06 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pages/index.html ('k') | templates/minimal.tmpl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 ```
OLDNEW
« no previous file with comments | « pages/index.html ('k') | templates/minimal.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld