From c560f35c762ac137828548adbe3d51302fad4356 Mon Sep 17 00:00:00 2001 From: alexmerlin Date: Fri, 11 Aug 2023 08:06:43 +0300 Subject: [PATCH 1/2] Issue #27: Added static badge. Signed-off-by: alexmerlin --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 83f84b3..7e0f584 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,11 @@ DotKernel component providing twig extensions and customizations ![OSS Lifecycle](https://img.shields.io/osslifecycle/dotkernel/dot-twigrenderer) ![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-twigrenderer/3.4.0) -[![GitHub issues](https://img.shields.io/github/issues/dotkernel/dot-form)](https://github.com/dotkernel/dot-twigrenderer/issues) -[![GitHub forks](https://img.shields.io/github/forks/dotkernel/dot-form)](https://github.com/dotkernel/dot-twigrenderer/network) -[![GitHub stars](https://img.shields.io/github/stars/dotkernel/dot-form)](https://github.com/dotkernel/dot-twigrenderer/stargazers) -[![GitHub license](https://img.shields.io/github/license/dotkernel/dot-form)](https://github.com/dotkernel/dot-twigrenderer/blob/3.0/LICENSE.md) +[![GitHub issues](https://img.shields.io/github/issues/dotkernel/dot-twigrenderer)](https://github.com/dotkernel/dot-twigrenderer/issues) +[![GitHub forks](https://img.shields.io/github/forks/dotkernel/dot-twigrenderer)](https://github.com/dotkernel/dot-twigrenderer/network) +[![GitHub stars](https://img.shields.io/github/stars/dotkernel/dot-twigrenderer)](https://github.com/dotkernel/dot-twigrenderer/stargazers) +[![GitHub license](https://img.shields.io/github/license/dotkernel/dot-twigrenderer)](https://github.com/dotkernel/dot-twigrenderer/blob/3.0/LICENSE.md) + +[![Build Static](https://github.com/dotkernel/dot-twigrenderer/actions/workflows/static-analysis.yml/badge.svg?branch=3.0)](https://github.com/dotkernel/dot-twigrenderer/actions/workflows/static-analysis.yml) [![SymfonyInsight](https://insight.symfony.com/projects/b9a7d75d-d00a-44a9-b1c0-aea8670681cc/big.svg)](https://insight.symfony.com/projects/b9a7d75d-d00a-44a9-b1c0-aea8670681cc) From fb3254eed762ba91707923955c22ffda85dcbc46 Mon Sep 17 00:00:00 2001 From: alexmerlin Date: Fri, 11 Aug 2023 08:11:30 +0300 Subject: [PATCH 2/2] fixed test Signed-off-by: alexmerlin --- src/Extension/NavigationExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Extension/NavigationExtension.php b/src/Extension/NavigationExtension.php index dca30ef..ac00a75 100644 --- a/src/Extension/NavigationExtension.php +++ b/src/Extension/NavigationExtension.php @@ -40,7 +40,7 @@ public function htmlAttributes(Page $page): string public function renderMenu(NavigationContainer|string $container): string { - return $this->navigationRenderer->render($container); + return $this->navigationRenderer->render($container, ''); } public function renderMenuPartial(