85 lines
2.0 KiB
PHP
85 lines
2.0 KiB
PHP
<?php
|
||
|
||
use Twig\Environment;
|
||
use Twig\Error\LoaderError;
|
||
use Twig\Error\RuntimeError;
|
||
use Twig\Extension\CoreExtension;
|
||
use Twig\Extension\SandboxExtension;
|
||
use Twig\Markup;
|
||
use Twig\Sandbox\SecurityError;
|
||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||
use Twig\Source;
|
||
use Twig\Template;
|
||
use Twig\TemplateWrapper;
|
||
|
||
/* partials/_footer.twig */
|
||
class __TwigTemplate_f24e585e1ab9b18bf721f5ade85d5894 extends Template
|
||
{
|
||
private Source $source;
|
||
/**
|
||
* @var array<string, Template>
|
||
*/
|
||
private array $macros = [];
|
||
|
||
public function __construct(Environment $env)
|
||
{
|
||
parent::__construct($env);
|
||
|
||
$this->source = $this->getSourceContext();
|
||
|
||
$this->parent = false;
|
||
|
||
$this->blocks = [
|
||
];
|
||
}
|
||
|
||
protected function doDisplay(array $context, array $blocks = []): iterable
|
||
{
|
||
$macros = $this->macros;
|
||
// line 1
|
||
yield "<footer class=\"site-footer\">
|
||
<p>© ";
|
||
// line 2
|
||
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "Y"), "html", null, true);
|
||
yield " Mon Blog – Tous droits réservés.</p>
|
||
<nav>
|
||
<a href=\"\">À propos</a> |
|
||
<a href=\"\">Contact</a>
|
||
</nav>
|
||
</footer>
|
||
";
|
||
yield from [];
|
||
}
|
||
|
||
/**
|
||
* @codeCoverageIgnore
|
||
*/
|
||
public function getTemplateName(): string
|
||
{
|
||
return "partials/_footer.twig";
|
||
}
|
||
|
||
/**
|
||
* @codeCoverageIgnore
|
||
*/
|
||
public function isTraitable(): bool
|
||
{
|
||
return false;
|
||
}
|
||
|
||
/**
|
||
* @codeCoverageIgnore
|
||
*/
|
||
public function getDebugInfo(): array
|
||
{
|
||
return array ( 45 => 2, 42 => 1,);
|
||
}
|
||
|
||
public function getSourceContext(): Source
|
||
{
|
||
return new Source("", "partials/_footer.twig", "/home/julien/Documents/Git/julien/blog-slim/views/partials/_footer.twig");
|
||
}
|
||
}
|