tried rebasing entry but entries still 404; tired

small-nav
chimchooree 4 years ago
parent 155f866cf8
commit bd7742c51e

@ -1,4 +1,4 @@
% rebase('frame.tpl')
% rebase('feature.tpl')
<div class="body-row"> </div>

@ -1,4 +1,4 @@
% rebase('frame.tpl')
% rebase('feature.tpl')
<div class="body-row"> </div>

@ -1,4 +1,4 @@
% rebase('frame.tpl')
% rebase('feature.tpl')
<div class="body-row"> </div>

@ -1,4 +1,4 @@
% rebase('frame.tpl')
% rebase('feature.tpl')
<div class="body-row"> </div>

@ -1,4 +1,4 @@
% rebase('frame.tpl')
% rebase('feature.tpl')
<div class="body-row"> </div>

@ -1,4 +1,4 @@
% rebase('frame.tpl')
% rebase('feature.tpl')
<div class="body-row"> </div>

@ -1,4 +1,4 @@
% rebase('frame.tpl')
% rebase('feature.tpl')
<div class="body-row"> </div>

@ -1,4 +1,4 @@
% rebase('frame.tpl')
% rebase('feature.tpl')
<div class="body-row"> </div>

@ -1,4 +1,4 @@
% rebase('frame.tpl')
% rebase('feature.tpl')
<div class="body-row"> </div>

@ -1,4 +1,4 @@
% rebase('frame.tpl')
% rebase('feature.tpl')
<div class="body-row"> </div>

@ -131,7 +131,7 @@ def diary(page):
info = {'css': 'diary', 'title': 'blessfrey - developer diary', 'year': datetime.datetime.now(), 'snippets': list_snippets(sort_files(gather_files())), 'latest': list_headlines(sort_files(gather_files())[0:5]), 'total': len(gather_files()), 'limit': 4, 'cluster': 3, 'page': page}
return template('diary.tpl', info)
@route('/entries/<page:int>')
@route('diary/entries/<page>')
def entry(page):
"""diary entry"""
info = {'css': 'diary', 'title': 'blessfrey - developer diary', 'year': datetime.datetime.now(), 'latest': list_headlines(sort_files(gather_files())[0:5]), 'page': page}

@ -2,7 +2,7 @@
User-agent: *
Allow: /
Disallow: /box/
Disallow: /credits/
Disallow: /diary/entries/raw/
# advertising
User-agent: AdsBot-Google*

@ -0,0 +1,11 @@
% rebase('frame.tpl')
<!--left column-->
<div class="entry">
{{!base}}
</div>
% include diary-boxes.tpl
Loading…
Cancel
Save