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

Side by Side Diff: docs/content/includes.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/globals.md ('k') | docs/content/locales.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 # Include files # 1 # Include files #
2 2
3 The following tag inserts an include file into the page (can be in a different 3 The following tag inserts an include file into the page (can be in a different
4 format): 4 format):
5 5
6 <? include foo ?> 6 <? include foo ?>
7 7
8 Include files should be placed into the `includes` directory of the repository. 8 Include files should be placed into the `includes` directory of the repository.
9 In the case above the contents of `includes/foo.md` or `includes/foo.tmpl` will 9 In the case above the contents of `includes/foo.md` or `includes/foo.tmpl` will
10 be inserted (whichever is present). 10 be inserted (whichever is present).
11 11
12 Also, the metadata variables from the include file are merged with the page meta data 12 Also, the metadata variables from the include file are merged with the page meta data
13 (with the include file's metadata having priority). This means that a include fi le 13 (with the include file's metadata having priority). This means that a include fi le
14 is capable of things like overriding a page's default template, or title. 14 is capable of things like overriding a page's default template, or title.
15 15
16 -----
16 Prev: [Page layout templates (`templates`)](templates.md) | Up: [Home](../../REA DME.md) | Next: [User-visible pages (`pages`)](pages.md) 17 Prev: [Page layout templates (`templates`)](templates.md) | Up: [Home](../../REA DME.md) | Next: [User-visible pages (`pages`)](pages.md)
OLDNEW
« no previous file with comments | « docs/content/globals.md ('k') | docs/content/locales.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld