Add <meta name='generator' /> to all output pages

This commit is contained in:
Starbeamrainbowlabs 2018-08-24 16:42:35 +01:00
parent 96a27f32b1
commit 39c8f48019
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
2 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@ This file holds the changelog for Pepperminty Wiki. This is the master list of t
- The CSS file specified in the `css` setting (url path must begin with a forward-slash) and the favicon (must not be a `data:` url) are automatically pushed when rendering pages
- 2 new settings have been added: `http2_server_push` for turning it on and off (defaults to on), and `http2_server_push_items` for specifying custom resources to push (in case you design your own theme and want to push down the associated resources)
- More information about `http2_server_push_items` in particular is available on the [configuration info page](https://starbeamrainbowlabs.com/labs/peppermint/peppermint-config-info.php) (when this release is out, of course. Until then, check out the description in `peppermint.guiconfig.json`)
- Added `<meta name='generator' />` tag to all pages
### Fixed
- Updated the search system to transliterate characters to better support searching pages that are written in other languages.

View File

@ -1049,6 +1049,7 @@ class page_renderer
<meta charset='utf-8' />
<title>{title}</title>
<meta name='viewport' content='width=device-width, initial-scale=1' />
<meta name='generator' content='Pepperminty Wiki $version' />
<link rel='shortcut-icon' href='{favicon-url}' />
<link rel='icon' href='{favicon-url}' />
{header-html}