v0.1 2016-12-13 11:11 UTC

README

✨ Extra contribution to nette/latte.

Build Status Code coverage HHVM Status Licence

Downloads this Month Downloads total Latest stable Latest unstable

Discussion / Help

Join the chat

Install

composer require contributte/latte

Usage

VersionExtension

This extension adds 3 macros: {rev}, {build}, {v}.

extensions:
    version: Contributte\Latte\DI\VersionExtension
version:
    rev: e3203c85a9b84ee866132f371ba0b238b6a5b245
    build: 2016
    v: 2.12
<link rel="stylesheet" href="{$basePath}/assets/theme.css?v={rev}">
<link rel="stylesheet" href="{$basePath}/assets/theme.css?v={build}">
<link rel="stylesheet" href="{$basePath}/assets/theme.css?v={v}">

Thank you for testing, reporting and contributing.