Remove recents and posts hooks in post generator
This commit is contained in:
parent
ede64026d6
commit
c8d9d367c6
|
@ -147,6 +147,8 @@ class Post(Index):
|
|||
self.hooks['comments'] = self.createComments
|
||||
self.hooks['replace'] = self.createReplace
|
||||
del self.hooks['navigation']
|
||||
del self.hooks['recents']
|
||||
del self.hooks['posts']
|
||||
|
||||
self.blog = blog
|
||||
name = 'post'
|
||||
|
|
|
@ -74,6 +74,7 @@
|
|||
<div class="menu_content_header">Archives</div>
|
||||
<div class="menu_content_content">
|
||||
<ul>
|
||||
<li><a href="/archive/2012">2012</a></li>
|
||||
<li><a href="/archive/2011">2011</a></li>
|
||||
<li><a href="/archive/2010">2010</a></li>
|
||||
</ul>
|
||||
|
@ -83,7 +84,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
Copyright © 2010-2012 Grégory Soutadé.<br/>
|
||||
Copyright © 2010-2013 Grégory Soutadé.<br/>
|
||||
All Rights Reserved.
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user