diff --git a/app/Resources/views/admin/blog/show.html.twig b/app/Resources/views/admin/blog/show.html.twig index d69e83090..64d919dc7 100644 --- a/app/Resources/views/admin/blog/show.html.twig +++ b/app/Resources/views/admin/blog/show.html.twig @@ -4,30 +4,16 @@ {% block main %}

{{ post.title }}

+

+ {{ post.publishedAt|localizeddate('long', 'medium', null, 'UTC') }} + {{ post.author.email }} +

- - - - - - - - - - - - - - - - - {# it's not mandatory to set the timezone in localizeddate(). This is done to - avoid errors when the 'intl' PHP extension is not available and the application - is forced to use the limited "intl polyfill", which only supports UTC and GMT #} - - - -
{{ 'label.summary'|trans }}{{ post.summary|md2html }}
{{ 'label.content'|trans }}{{ post.content|md2html }}
{{ 'label.author'|trans }}

{{ post.author.email }}

{{ 'label.published_at'|trans }}

{{ post.publishedAt|localizeddate('long', 'medium', null, 'UTC') }}

+
+

{{ 'label.summary'|trans }}: {{ post.summary }}

+
+ + {{ post.content|md2html }} {% endblock %} {% block sidebar %} diff --git a/web/css/main.css b/web/css/main.css index e217d19b5..739731cff 100644 --- a/web/css/main.css +++ b/web/css/main.css @@ -32,6 +32,10 @@ i { vertical-align: middle; } +/* Utilities + ------------------------------------------------------------------------- */ +.m-b-0 { margin-bottom: 0 } + /* Page elements ------------------------------------------------------------------------- */ body {