/
post.html
26 lines (25 loc) · 978 Bytes
/
post.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
layout: default
---
<div id="post">
<h1><a href="{{ page.url }}">{{ page.title }}</a></h1>
<p class="infos">
publié le {{ page.date | date:"%d/%m/%Y" }}
par {{ page.auteur }}
</p>
<p>{{ page.chapo }}</p>
<div id="content">
{{ content }}
</div>
<div id="related">
<h2>articles similaires</h2>
<ul class="posts">
{% for post in site.related_posts limit:3 %}
<li><a href="{{ post.url }}">{{ post.title }}</a><span>{{ post.date | date:"%d/%m/%Y" }}</span></li>
{% endfor %}
</ul>
</div>
<div id="disqus">
<div id="disqus_thread"></div><script type="text/javascript" src="http://disqus.com/forums/tutoriaux-rails/embed.js"></script><noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript=tutoriaux-rails">comments powered by Disqus.</a></noscript><a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
</div>
</div>