diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-06-22 12:15:24 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2017-06-22 12:15:24 +0200 |
commit | 77255d668828d7ae4cceb186b5215a0d4ddd69f6 (patch) | |
tree | 03e23269fc966ca8798e2beac0e89a3aa6972266 /src | |
parent | 6b1b148d655eec4411e13a90a0bd050b923e3ef9 (diff) | |
download | wallabag-77255d668828d7ae4cceb186b5215a0d4ddd69f6.tar.gz wallabag-77255d668828d7ae4cceb186b5215a0d4ddd69f6.tar.zst wallabag-77255d668828d7ae4cceb186b5215a0d4ddd69f6.zip |
Add css on share public page
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig index 308fda2e..2e8fe65c 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig | |||
@@ -14,6 +14,11 @@ | |||
14 | <meta name="twitter:site" content="@wallabagapp" /> | 14 | <meta name="twitter:site" content="@wallabagapp" /> |
15 | <meta name="twitter:title" content="{{ entry.title|e|raw }}" /> | 15 | <meta name="twitter:title" content="{{ entry.title|e|raw }}" /> |
16 | <meta name="twitter:description" content="{{ entry.content|striptags|slice(0, 300)|raw }}…" /> | 16 | <meta name="twitter:description" content="{{ entry.content|striptags|slice(0, 300)|raw }}…" /> |
17 | {% if not app.debug %} | ||
18 | <link rel="stylesheet" href="{{ asset('bundles/wallabagcore/public.css') }}"> | ||
19 | {% endif %} | ||
20 | |||
21 | <script src="{{ asset('bundles/wallabagcore/public' ~ (app.debug ? '.dev' : '') ~ '.js') }}"></script> | ||
17 | </head> | 22 | </head> |
18 | <body> | 23 | <body> |
19 | <header> | 24 | <header> |