Skip to content

Commit

Permalink
Twig 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Awilum committed Jul 11, 2022
1 parent 5fed0bf commit f64f540
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<a name="3.0.0"></a>
# [3.0.0](https://github.com/flextype-plugins/twig/compare/v2.1.0...v3.0.0) (2022-06-XX)
# [3.0.0](https://github.com/flextype-plugins/twig/compare/v2.1.0...v3.0.0) (2022-07-11)

### Features

Expand All @@ -9,7 +9,7 @@

* **core** Added new Twig shortcode.

* **core** Added new Twig direcive.
* **core** Added new Twig directive.

* **core** Added new Twig extensions:
- I18n
Expand All @@ -32,6 +32,7 @@
- Cache
- Image
- Url
- Math

* **core** Updated and removed unused code.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$output->write(
renderToString(
div('Success: Twig template were successfully cleared from the cache.',
'bg-success px-2 py-1')
'color-success px-2 py-1')
)
);
$result = Command::SUCCESS;
} else {
$output->write(
renderToString(
div('Failure: Twig templates cache wasn\'t cleared.',
'bg-danger px-2 py-1')
'color-danger px-2 py-1')
)
);
$result = Command::FAILURE;
Expand All @@ -58,7 +58,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$output->write(
renderToString(
div('Failure: Twig templates cache directory ' . $configPath . ' doesn\'t exist.',
'bg-danger px-2 py-1')
'color-danger px-2 py-1')
)
);
$result = Command::FAILURE;
Expand Down

0 comments on commit f64f540

Please sign in to comment.