From 2b6e65a5e367deff3df333e5a79c5d23a484ae01 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 24 Feb 2016 01:13:30 +0100 Subject: [PATCH] Move annotatorjs to the bottom of the body So that the "article" tag is loaded before --- .../WallabagCommentExtension.php | 2 - .../themes/material/Entry/entry.html.twig | 45 ++++++++++--------- 2 files changed, 23 insertions(+), 24 deletions(-) diff --git a/src/Wallabag/CommentBundle/DependencyInjection/WallabagCommentExtension.php b/src/Wallabag/CommentBundle/DependencyInjection/WallabagCommentExtension.php index 2d0b64ad..6b05fa00 100644 --- a/src/Wallabag/CommentBundle/DependencyInjection/WallabagCommentExtension.php +++ b/src/Wallabag/CommentBundle/DependencyInjection/WallabagCommentExtension.php @@ -3,9 +3,7 @@ namespace Wallabag\CommentBundle\DependencyInjection; use Symfony\Component\DependencyInjection\ContainerBuilder; -use Symfony\Component\Config\FileLocator; use Symfony\Component\HttpKernel\DependencyInjection\Extension; -use Symfony\Component\DependencyInjection\Loader; class WallabagCommentExtension extends Extension { diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig index 2a06484e..c2bbd845 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig @@ -178,28 +178,6 @@ main { } - - {% endblock %} {% block content %} @@ -230,6 +208,29 @@ app {{ entry.content | raw }} + + + {% endblock %} {% block footer %} -- 2.41.0