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/bootstrap.css') }}" />
|
||||||
<link rel="stylesheet" href="{{ asset('bundles/deblanblog/css/cleanblog/clean-blog.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/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 %}
|
{% endblock %}
|
||||||
{{ get_var('CssBlock')|raw }}
|
{{ get_var('CssBlock')|raw }}
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
|
|
@ -48,9 +48,18 @@
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.author {
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.author a {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
#social {
|
#social {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#social li {
|
#social li {
|
||||||
|
|
|
@ -11,6 +11,15 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block header_subtitle %}
|
{% 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 %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
|
|
|
@ -40,15 +40,6 @@
|
||||||
<h1><a href="{{ cms_path('post', {id: post.id, post: post.slug}) }}">{{ post.title }}</a></h1>
|
<h1><a href="{{ cms_path('post', {id: post.id, post: post.slug}) }}">{{ post.title }}</a></h1>
|
||||||
|
|
||||||
<div class="meta">
|
<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">
|
<ul class="labels">
|
||||||
{% for category in post.categories %}
|
{% for category in post.categories %}
|
||||||
|
|
|
@ -12,15 +12,17 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block header_title %}
|
||||||
<h1>
|
|
||||||
{{ page.seoTitle|pp(page.object)|pp(page)|e }}
|
{{ page.seoTitle|pp(page.object)|pp(page)|e }}
|
||||||
|
|
||||||
<a href="https://tiny.deblan.org/public.php?op=rss&id=-1&key=c35938b7d791af1d550a8e11e77eb91ad2bf7a6f" target="_blank">
|
<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>
|
<span class="social social-rss" style="width: 20px; height: 20px; display: inline-block"></span>
|
||||||
</a>
|
</a>
|
||||||
</h1>
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block header_subtitle %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block body %}
|
||||||
{% for post in page.pager %}
|
{% for post in page.pager %}
|
||||||
{{ include('DeblanBlogBundle:Default:tinyThePost.html.twig', {post: post}) }}
|
{{ include('DeblanBlogBundle:Default:tinyThePost.html.twig', {post: post}) }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -1,23 +1,13 @@
|
||||||
<article class="post" id="post-{{ post.id }}">
|
<article>
|
||||||
<header>
|
<div class="container">
|
||||||
<h3><a href="{{ post.link }}" target="_blank">{{ post.title }}</a></h3>
|
<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 }}
|
{{ post.excerpt|raw }}
|
||||||
|
|
||||||
<p><a href="{{ post.link }}" target="_blank">{{ post.link }}</a></p>
|
<p><a href="{{ post.link }}" target="_blank">{{ post.link }}</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|
Loading…
Reference in a new issue