File tree Expand file tree Collapse file tree 5 files changed +11
-5
lines changed Expand file tree Collapse file tree 5 files changed +11
-5
lines changed Original file line number Diff line number Diff line change
1
+ # v4.0.0-beta.2
2
+ ## 15-07-2020
3
+
4
+ 1 . [ ] ( #improved )
5
+ - Twig-extensions namespacing
6
+
1
7
# v4.0.0-beta.1
2
8
## 12-07-2020
3
9
Original file line number Diff line number Diff line change 1
1
name : Presentation
2
- version : 4.0.0-beta.1
2
+ version : 4.0.0-beta.2
3
3
testing : true
4
4
description : Responsive navigational slideshows with Reveal.js
5
5
icon : arrows-alt
Original file line number Diff line number Diff line change @@ -354,9 +354,9 @@ public function onShutdown()
354
354
public function onTwigExtensions ()
355
355
{
356
356
include_once __DIR__ . '/twig/CallStaticExtension.php ' ;
357
- $ this ->grav ['twig ' ]->twig ->addExtension (new CallStaticTwigExtension ());
357
+ $ this ->grav ['twig ' ]->twig ->addExtension (new PresentationPlugin \ CallStaticTwigExtension ());
358
358
include_once __DIR__ . '/twig/FileFinderExtension.php ' ;
359
- $ this ->grav ['twig ' ]->twig ->addExtension (new FileFinderTwigExtension ());
359
+ $ this ->grav ['twig ' ]->twig ->addExtension (new PresentationPlugin \ FileFinderTwigExtension ());
360
360
}
361
361
362
362
/**
Original file line number Diff line number Diff line change 1
1
<?php
2
- namespace Grav \Plugin ;
2
+ namespace Grav \Plugin \ PresentationPlugin ;
3
3
4
4
class CallStaticTwigExtension extends \Twig_Extension
5
5
{
Original file line number Diff line number Diff line change 1
1
<?php
2
- namespace Grav \Plugin ;
2
+ namespace Grav \Plugin \ PresentationPlugin ;
3
3
4
4
/**
5
5
* Search for a file in multiple locations
You can’t perform that action at this time.
0 commit comments