2026(e)ko apirilaren 1(a) (09:10:01) Frédérick Touret
Diatrias tolerare tanquam noster caesium. Nulla porta lobortis ligula vel egestas. Morbi tempus commodo mattis. Era brevis ratione est. Silva de secundus galatae demitto quadra. Abnobas sunt hilotaes de placidus vita. Eposs sunt solems de superbus fortis.
2026(e)ko martxoaren 30(a) (11:41:46) Tierry Teutroy
Il n'y a pas assez d'adhérent !. Faut faire des affiches. Ut eleifend mauris et risus ultrices egestas. Vae humani generis. Morbi tempus commodo mattis. Abnobas sunt hilotaes de placidus vita. Nulla porta lobortis ligula vel egestas.
2026(e)ko martxoaren 26(a) (08:40:10) Frédérick Touret
Sunt seculaes transferre talis camerarius fluctuies. Aliquam sodales odio id eleifend tristique. Curabitur aliquam euismod dolor non ornare. Potus sensim ad ferox abnoba. Le contrôle de charge de nouvelle génération arrive....
/**
* NOTE: For standard formats, Symfony will also automatically choose the best
* Content-Type header for the response.
*
* See https://symfony.com/doc/current/routing.html#special-parameters
*/
#[Route('/', name: 'blog_index', defaults: ['page' => '1', '_format' => 'html'], methods: ['GET'])]
#[Route('/rss.xml', name: 'blog_rss', defaults: ['page' => '1', '_format' => 'xml'], methods: ['GET'])]
#[Route('/page/{page}', name: 'blog_index_paginated', defaults: ['_format' => 'html'], requirements: ['page' => Requirement::POSITIVE_INT], methods: ['GET'])]
#[Cache(smaxage: 10)]
public function index(Request $request, int $page, string $_format, PostRepository $posts, TagRepository $tags): Response
{
$tag = null;
if ($request->query->has('tag')) {
$tag = $tags->findOneBy(['name' => $request->query->get('tag')]);
}
$latestPosts = $posts->findLatest($page, $tag);
// Every template name also has two extensions that specify the format and
// engine for that template.
// See https://symfony.com/doc/current/templates.html#template-naming
return $this->render('blog/index.'.$_format.'.twig', [
'paginator' => $latestPosts,
'tagName' => $tag?->getName(),
]);
}