date
This commit is contained in:
parent
eb78e2730a
commit
9d69b1a86f
|
@ -16,7 +16,7 @@
|
|||
<link rel="stylesheet" href="{{ asset('bundles/deblanblog/css/cleanblog/bootstrap.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('bundles/deblanblog/css/cleanblog/clean-blog.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('bundles/deblanblog/syntaxhighlighter/styles/shThemeEclipse.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('bundles/deblanblog/css/cleanblog/main.css') }}?v=2" />
|
||||
<link rel="stylesheet" href="{{ asset('bundles/deblanblog/css/cleanblog/main.css') }}?v=14" />
|
||||
{% endblock %}
|
||||
{{ get_var('CssBlock')|raw }}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
|
|
@ -48,9 +48,18 @@
|
|||
margin-right: 3px;
|
||||
}
|
||||
|
||||
.author {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.author a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#social {
|
||||
list-style: none;
|
||||
text-align: center;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
#social li {
|
||||
|
|
|
@ -11,6 +11,15 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block header_subtitle %}
|
||||
{% set post = page.object %}
|
||||
|
||||
<address class="author">
|
||||
<a rel="author" href="{{ cms_path('about') }}">{{ post.user.username|capitalize }}</a>,
|
||||
</address>
|
||||
|
||||
<time datetime="{{ post.publishedAt|date("Y-m-d") }}" title="{{ post.publishedAt|date("r") }}">
|
||||
le {{ post.publishedAt|date("d/m/Y à H\\hi") }}
|
||||
</time>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
|
|
|
@ -40,15 +40,6 @@
|
|||
<h1><a href="{{ cms_path('post', {id: post.id, post: post.slug}) }}">{{ post.title }}</a></h1>
|
||||
|
||||
<div class="meta">
|
||||
<address class="author">
|
||||
<span class="glyphicon glyphicon-user"></span>
|
||||
<a rel="author" href="{{ cms_path('about') }}">{{ post.user.username|capitalize }}</a>
|
||||
</address>
|
||||
|
||||
<time datetime="{{ post.publishedAt|date("Y-m-d") }}" title="{{ post.publishedAt|date("r") }}">
|
||||
<span class="glyphicon glyphicon-calendar"></span>
|
||||
{{ post.publishedAt|date("d/m/Y à H\\hi") }}
|
||||
</time>
|
||||
|
||||
<ul class="labels">
|
||||
{% for category in post.categories %}
|
||||
|
|
|
@ -12,15 +12,17 @@
|
|||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>
|
||||
{% block header_title %}
|
||||
{{ page.seoTitle|pp(page.object)|pp(page)|e }}
|
||||
|
||||
<a href="https://tiny.deblan.org/public.php?op=rss&id=-1&key=c35938b7d791af1d550a8e11e77eb91ad2bf7a6f" target="_blank">
|
||||
<span class="social social-rss" style="width: 20px; height: 20px; display: inline-block"></span>
|
||||
</a>
|
||||
</h1>
|
||||
{% endblock %}
|
||||
|
||||
{% block header_subtitle %}
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
{% for post in page.pager %}
|
||||
{{ include('DeblanBlogBundle:Default:tinyThePost.html.twig', {post: post}) }}
|
||||
{% endfor %}
|
||||
|
|
|
@ -1,23 +1,13 @@
|
|||
<article class="post" id="post-{{ post.id }}">
|
||||
<header>
|
||||
<h3><a href="{{ post.link }}" target="_blank">{{ post.title }}</a></h3>
|
||||
<article>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
<h1><a href="{{ post.link }}" target="_blank">{{ post.title }}</a></h1>
|
||||
|
||||
<div class="meta">
|
||||
<address class="author">
|
||||
<span class="glyphicon glyphicon-user"></span>
|
||||
<a rel="author" href="{{ post.link }}" target="_blank">{{ post.author }}</a>
|
||||
</address>
|
||||
|
||||
<time datetime="{{ post.updated|date("Y-m-d") }}" title="{{ post.updated|date("r") }}">
|
||||
<span class="glyphicon glyphicon-calendar"></span>
|
||||
{{ post.updated|date("d/m/Y à H\\hi") }}
|
||||
</time>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="page-content">
|
||||
{{ post.excerpt|raw }}
|
||||
|
||||
<p><a href="{{ post.link }}" target="_blank">{{ post.link }}</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
|
Loading…
Reference in a new issue