diff --git a/src/GergelyPolonkai/FrontBundle/Resources/public/css/blog.css b/src/GergelyPolonkai/FrontBundle/Resources/public/css/blog.css deleted file mode 100644 index b9778cd..0000000 --- a/src/GergelyPolonkai/FrontBundle/Resources/public/css/blog.css +++ /dev/null @@ -1,26 +0,0 @@ -/* - Document : blog - Created on : 2012.09.14., 14:53:34 - Author : polonkai.gergely - Description: - Purpose of the stylesheet follows. -*/ - -.post { - margin-bottom: 2em; -} - -p.article-date { - text-indent: 0; - font-size: 80%; - color: #7f7f7f; -} - -.paginator { - margin: .5em 0; -} - -.plusone-container { - margin-left: 1em; - display: inline; -} \ No newline at end of file diff --git a/src/GergelyPolonkai/FrontBundle/Resources/views/Blog/list.html.twig b/src/GergelyPolonkai/FrontBundle/Resources/views/Blog/list.html.twig index d17da7b..1ef5a36 100644 --- a/src/GergelyPolonkai/FrontBundle/Resources/views/Blog/list.html.twig +++ b/src/GergelyPolonkai/FrontBundle/Resources/views/Blog/list.html.twig @@ -28,9 +28,10 @@ {{ block('paginator') }} {% if posts|length == 0 %} No posts found. -{% endif %} +{% else %} {% for post in posts %} {% include 'GergelyPolonkaiFrontBundle:Blog:postViewer.html.twig' with {'post': post, 'title_links': true} %} {% endfor %} +{% endif %} {{ block('paginator') }} {% endblock content %}