changed home page title
This commit is contained in:
BIN
caotek_mesavoirs/static/img/instagram.png
Normal file
BIN
caotek_mesavoirs/static/img/instagram.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
@@ -1,24 +1,26 @@
|
|||||||
<metal:block use-macro="main_template">
|
<metal:block use-macro="main_template">
|
||||||
<div metal:fill-slot="content">
|
<div metal:fill-slot="content">
|
||||||
|
|
||||||
<div align="center">
|
<div class="row">
|
||||||
|
<div class="col-sm-4">
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
<img src="${request.static_url('caotek_mesavoirs:static/img/cover_image_540max.jpg')}" alt="cover_image">
|
<img src="${request.static_url('caotek_mesavoirs:static/img/cover_image_540max.jpg')}" alt="cover_image">
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-sm-8">
|
||||||
<h3>Derniers posts</h3>
|
<h3>Derniers posts</h3>
|
||||||
<p tal:condition="not layout.isAnonymous()">
|
<p tal:condition="not layout.isAnonymous()">
|
||||||
<a href="${request.application_url}/archives/blog">Voir les archives</a> | <a href="${request.application_url}/doc_edit/0">Créer un nouveau post</a>
|
<a href="${request.application_url}/archives/blog">Voir les archives</a> | <a href="${request.application_url}/doc_edit/0">Créer un nouveau post</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<tr tal:repeat="ligne items">
|
<tr tal:repeat="ligne items">
|
||||||
<td>${ligne.cree_le.strftime("%Y")}</td>
|
|
||||||
<td>${ligne.cree_le.strftime("%d %b")}</td>
|
<td>${ligne.cree_le.strftime("%d %b")}</td>
|
||||||
<td><a href="/doc_view/${ligne.doc_id}"><b>${ligne.intitule}</b></a></td>
|
<td><a href="/doc_view/${ligne.doc_id}"><b>${ligne.intitule}</b></a></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="row well text-center" tal:condition="not layout.isAnonymous()">
|
<div class="row well text-center" tal:condition="not layout.isAnonymous()">
|
||||||
<div class="col-sm-3">
|
<div class="col-sm-3">
|
||||||
<a href="${request.application_url}/portfolio"><span class="glyphicon glyphicon-piggy-bank logo-primary"></span></a>
|
<a href="${request.application_url}/portfolio"><span class="glyphicon glyphicon-piggy-bank logo-primary"></span></a>
|
||||||
|
|||||||
@@ -91,6 +91,8 @@
|
|||||||
<p class="text-center">
|
<p class="text-center">
|
||||||
Restructured Text cheat sheet <a href="https://github.com/ralsina/rst-cheatsheet/blob/master/rst-cheatsheet.rst" target="_blank">(reST)</a><br />
|
Restructured Text cheat sheet <a href="https://github.com/ralsina/rst-cheatsheet/blob/master/rst-cheatsheet.rst" target="_blank">(reST)</a><br />
|
||||||
Markdown basic syntax <a href="https://www.markdownguide.org/basic-syntax/" target="_blank">(md)</a><br />
|
Markdown basic syntax <a href="https://www.markdownguide.org/basic-syntax/" target="_blank">(md)</a><br />
|
||||||
|
<a href="https://www.instagram.com/ctphuoc/" alt="instagram" target="_blank">
|
||||||
|
<img src="${request.static_url('caotek_mesavoirs:static/img/instagram.png')}" /></a><br />
|
||||||
</p>
|
</p>
|
||||||
<br />
|
<br />
|
||||||
<p class="text-center">© 2017 - Phuoc Cao |
|
<p class="text-center">© 2017 - Phuoc Cao |
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ def home(request):
|
|||||||
items = get_docs_bytheme(request, 'BLOG')
|
items = get_docs_bytheme(request, 'BLOG')
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'page_title': "Blog d'un ancien geek",
|
'page_title': "Un geek à la retraite",
|
||||||
'items': items,
|
'items': items,
|
||||||
'id_photo': id_photo,
|
'id_photo': id_photo,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user