Add tags support

Set slugify to be global
Update modification date only if text has been changed
Fix a bug in preview (post_id was passed instead of blog_id)
Add Home, Category and Tag links in blog area instead of global area (dynastie template)
Fix a bug in Have_I_right
This commit is contained in:
2012-11-08 21:23:30 +01:00
parent a2f091a0f5
commit 85488e0838
24 changed files with 289 additions and 67 deletions

View File

@@ -6,6 +6,7 @@
<div class="post_sub_header">
<dyn:date/> | <div class="author_icon"> Écrit par <dyn:author/> </div>
</div>
<dyn:tags link="1"/>
</div>
<dyn:post_content/>
</dyn:posts>

View File

@@ -6,6 +6,7 @@
<div class="post_sub_header">
<dyn:date/> | <div class="author_icon"> Écrit par <dyn:author/> </div>
</div>
<dyn:tags link="1"/>
</div>
<dyn:post_content/>
</dyn:posts>

View File

@@ -5,6 +5,7 @@
<div class="post_sub_header">
<dyn:date/> | <div class="author_icon"> Écrit par <dyn:author/> </div>
</div>
<dyn:tags link="1"/>
</div>
<dyn:post_content/>
</dyn:posts>

View File

@@ -6,6 +6,7 @@
<div class="post_sub_header">
<dyn:date/> | <div class="author_icon"> Écrit par <dyn:author/> </div>
</div>
<dyn:tags link="1"/>
</div>
<dyn:post_content> </dyn:post_content>
<dyn:comments>

View File

@@ -0,0 +1,14 @@
<dyn:base file="_base.html" block="content" xmlns:dyn="http://indefero.soutade.fr/p/dynastie">
<div id="tag_name"><dyn:tag name="1"/></div>
<dyn:posts limit="5">
<div class="post_header">
<dyn:title/>
<div class="post_sub_header">
<dyn:date/> | <div class="author_icon"> Écrit par <dyn:author/> </div>
</div>
<dyn:tags link="1"/>
</div>
<dyn:post_content/>
</dyn:posts>
<dyn:navigation/>
</dyn:base>

View File

@@ -257,7 +257,7 @@ div.recents
margin-left:20px;
}
#archive_year, #category_name
#archive_year, #category_name, #tag_name
{
font-size:50;
padding-bottom:20px;
@@ -363,4 +363,14 @@ ul li
{
display:none;
padding:5px;
}
.tags, .tag
{
display:inline;
}
.tag
{
margin-left:10px;
}