Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Pico Version Plugin

This plugin addes as Twig filter that allow you to include the version number of Pico.

Usage

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: `

Installation

With git

  1. Go to your Pico Plugins folder
  2. git clone https://github.com/hermannmarkus/Pico-VersionPlugin.git VersionPlugin
  3. Add the following lines to your config.yaml:
  • VersionPlugin.enabled: true

Without git

  1. Download the master branch as a zip file.
  2. Add the contents of the zip file to your Pico plugins folder and rename the folder to VersionPlugin.
  3. Add the following lines to your config.yaml:
  • VersionPlugin.enabled: true

About

Adding a Twig filter to include the Pico Version

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages