This plugin addes as Twig filter that allow you to include the version number of Pico.
In you template you can use {{ 'Twig'|PicoVersion }}
and it will add your Pico::VERSION.
So:
<meta name="generator" content="Pico {{ 'Twig'|PicoVersion }}">
Will be rendered to: `
- Go to your Pico Plugins folder
git clone https://github.com/hermannmarkus/Pico-VersionPlugin.git VersionPlugin
- Add the following lines to your config.yaml:
VersionPlugin.enabled: true
- Download the master branch as a zip file.
- Add the contents of the zip file to your Pico plugins folder and rename the folder to
VersionPlugin
. - Add the following lines to your config.yaml:
VersionPlugin.enabled: true