Browse Source

Docs for #53 and #54

pull/60/head
Frans Bouma 8 years ago
parent
commit
f01b20e90e
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      MarkdownSource/themes.md

+ 2
- 0
MarkdownSource/themes.md View File

@@ -18,6 +18,8 @@ The `PageTemplate.htm` file is a simple HTML file, located in each `theme` folde
* `{{TopicTitle}}`. This is replaced with the title of the page, which is the value specified as name in the `Pages` tree.
* `{{Footer}}`. This is replaced with the value specified in `Footer` in the docnet.json file.
* `{{Breadcrumbs}}`. This is replaced with a / delimited list of names making up the bread crumbs representing the navigation through the ToC to reach the current page.
* `{{RelativeSourceFileName}}`. This is replaced with the source file name relative to the root folder.
* `{{RelativeTargetFileName}}`. This is replaced with the target file name relative to the output folder.
* `{{ExtraScript}}`. This is replaced with extra script definitions / references required by some pages, like the search page. It's `docnet` specific and if this marker isn't present, search won't work.
* `{{Path}}`. This is used to fill in the relative path to reach css/js files in hard-coded URLs in the `PageTemplate` file. This means that specifying a css URL in `PageTemplate` should look like:
```HTML


Loading…
Cancel
Save