commit | cdf7e91b60c1a11ca388d9f19ada0a5ad4b0a2b0 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Wed Mar 18 13:57:27 2020 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Fri Mar 20 11:05:05 2020 +0900 |
tree | 7505ad8a3be6597cbf106aef032d97313fd013f7 | |
parent | cdac6d5a2a131bd69e868a9625fd8f845041b3a5 [diff] |
plugins.py: Introduce templating with Jinja2 Instead of using simple text replacement, use Jinja2 which is a full templating engine. For now we only use it to set the page permalink. In future changes we can also rework the output of plugin data to use the template. Note that Jekyll still attempts to render the template file, and fails with: Error reading file /site/tools/plugins.template.md: (<unknown>): did not find expected key while parsing a block mapping at line 2 column 1 However this does not cause any failure. Feature: Issue 12446 Change-Id: I7b24b77aa826adea3beb7d7b9e7c78e34c55ef39
Homepage for Gerrit Code Review.
Instructions how to publish the Gerrit documentation can be found at: https://www.gerritcodereview.com/publishing.html