diff --git a/src/diary/entries/200808.tpl b/src/diary/entries/200808.tpl index 29b1d12..8779b61 100644 --- a/src/diary/entries/200808.tpl +++ b/src/diary/entries/200808.tpl @@ -1,4 +1,4 @@ -% rebase('frame.tpl') +% rebase('feature.tpl')
diff --git a/src/diary/entries/200810.tpl b/src/diary/entries/200810.tpl index e4561df..e649ea4 100644 --- a/src/diary/entries/200810.tpl +++ b/src/diary/entries/200810.tpl @@ -1,4 +1,4 @@ -% rebase('frame.tpl') +% rebase('feature.tpl')
diff --git a/src/diary/entries/200813.tpl b/src/diary/entries/200813.tpl index 3912602..370c53d 100644 --- a/src/diary/entries/200813.tpl +++ b/src/diary/entries/200813.tpl @@ -1,4 +1,4 @@ -% rebase('frame.tpl') +% rebase('feature.tpl')
diff --git a/src/diary/entries/200815.tpl b/src/diary/entries/200815.tpl index de5cbd4..40972ce 100644 --- a/src/diary/entries/200815.tpl +++ b/src/diary/entries/200815.tpl @@ -1,4 +1,4 @@ -% rebase('frame.tpl') +% rebase('feature.tpl')
diff --git a/src/diary/entries/200918.tpl b/src/diary/entries/200918.tpl index e120158..a5191fb 100644 --- a/src/diary/entries/200918.tpl +++ b/src/diary/entries/200918.tpl @@ -1,4 +1,4 @@ -% rebase('frame.tpl') +% rebase('feature.tpl')
diff --git a/src/diary/entries/200919.tpl b/src/diary/entries/200919.tpl index 9d5fd22..7679e7e 100644 --- a/src/diary/entries/200919.tpl +++ b/src/diary/entries/200919.tpl @@ -1,4 +1,4 @@ -% rebase('frame.tpl') +% rebase('feature.tpl')
diff --git a/src/diary/entries/200926.tpl b/src/diary/entries/200926.tpl index 0c4cfb2..b1e645f 100644 --- a/src/diary/entries/200926.tpl +++ b/src/diary/entries/200926.tpl @@ -1,4 +1,4 @@ -% rebase('frame.tpl') +% rebase('feature.tpl')
diff --git a/src/diary/entries/201001.tpl b/src/diary/entries/201001.tpl index e76f33d..4b6bb85 100644 --- a/src/diary/entries/201001.tpl +++ b/src/diary/entries/201001.tpl @@ -1,4 +1,4 @@ -% rebase('frame.tpl') +% rebase('feature.tpl')
diff --git a/src/diary/entries/201003.tpl b/src/diary/entries/201003.tpl index f753b30..ebdffeb 100644 --- a/src/diary/entries/201003.tpl +++ b/src/diary/entries/201003.tpl @@ -1,4 +1,4 @@ -% rebase('frame.tpl') +% rebase('feature.tpl')
diff --git a/src/diary/entries/raw/res/head.txt b/src/diary/entries/raw/res/head.txt index e2ff6ab..ea5c970 100644 --- a/src/diary/entries/raw/res/head.txt +++ b/src/diary/entries/raw/res/head.txt @@ -1,4 +1,4 @@ -% rebase('frame.tpl') +% rebase('feature.tpl')
diff --git a/src/index.py b/src/index.py index 9462f6f..2f303b5 100644 --- a/src/index.py +++ b/src/index.py @@ -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/') +@route('diary/entries/') 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} diff --git a/src/robots.txt b/src/robots.txt index 5b4ef77..617187a 100644 --- a/src/robots.txt +++ b/src/robots.txt @@ -2,7 +2,7 @@ User-agent: * Allow: / Disallow: /box/ -Disallow: /credits/ +Disallow: /diary/entries/raw/ # advertising User-agent: AdsBot-Google* diff --git a/src/views/feature.tpl b/src/views/feature.tpl index e69de29..bfd8e8f 100644 --- a/src/views/feature.tpl +++ b/src/views/feature.tpl @@ -0,0 +1,11 @@ +% rebase('frame.tpl') + + + +
+ + {{!base}} + +
+ +% include diary-boxes.tpl