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

Side by Side Diff: docs/content/pages.md

Issue 29977571: Issue 7201 - Add links to CMS documentation (Closed) Base URL: https://hg.adblockplus.org/cms/
Patch Set: Address comments on PS1 Created Jan. 14, 2019, 3:33 p.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 | « docs/content/locales.md ('k') | docs/content/settings.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Pages # 1 # Pages #
2 2
3 The pages are defined in the `pages` directory. The file extension defines the 3 The pages are defined in the `pages` directory. The file extension defines the
4 format in which a page is specified and won't be visible on the web server. 4 format in which a page is specified and won't be visible on the web server.
5 The page name is prepended by the locale code in the URL, e.g. `pages/foo.md` 5 The page name is prepended by the locale code in the URL, e.g. `pages/foo.md`
6 can be available under the URLs `/en/foo` and `/de/foo` (the English and German 6 can be available under the URLs `/en/foo` and `/de/foo` (the English and German
7 versions respectively). Regardless of the format, a page can define a number of 7 versions respectively). Regardless of the format, a page can define a number of
8 settings using the following format: 8 settings using the following format:
9 9
10 setting = value 10 setting = value
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 [Jinja2 template format](http://jinja.pocoo.org/docs/templates/). Automatic 75 [Jinja2 template format](http://jinja.pocoo.org/docs/templates/). Automatic
76 escaping is active so by default values inserted into the page cannot contain 76 escaping is active so by default values inserted into the page cannot contain
77 any HTML code. Any content between `<head>` and `</head>` tags will be inserted 77 any HTML code. Any content between `<head>` and `</head>` tags will be inserted
78 into the head of the generated web page, everything else defined the content of 78 into the head of the generated web page, everything else defined the content of
79 the page. 79 the page.
80 80
81 Read the API documentation on [variables](../api/variables.md), 81 Read the API documentation on [variables](../api/variables.md),
82 [global functions](../api/functions.md), and [custom filters](../api/filters.md) 82 [global functions](../api/functions.md), and [custom filters](../api/filters.md)
83 that can be used on pages. 83 that can be used on pages.
84 84
85 -----
85 Prev: [Various include files (`includes`)](includes.md) | Up: [Home](../../READM E.md) | Next: [Static content (`static`)](static.md) 86 Prev: [Various include files (`includes`)](includes.md) | Up: [Home](../../READM E.md) | Next: [Static content (`static`)](static.md)
OLDNEW
« no previous file with comments | « docs/content/locales.md ('k') | docs/content/settings.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld