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 comments #3 Created Jan. 30, 2018, 8:18 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 <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 ```
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