Skip to content

Commit

Permalink
change theme
Browse files Browse the repository at this point in the history
  • Loading branch information
acgotaku committed Jun 19, 2015
1 parent ec79e46 commit 779b59b
Show file tree
Hide file tree
Showing 58 changed files with 9,681 additions and 3,682 deletions.
2 changes: 1 addition & 1 deletion handlers/base.py
Expand Up @@ -12,7 +12,7 @@
from tornado.template import Loader
site_config = {
"title" : "IceHoney!",
"url" : """http://blog.icehoney.me""",
"url" : """https://blog.icehoney.me""",
"post_dir": os.getcwd() + os.sep + 'posts',
}
__ALL__ = ['HTTPError', 'BaseHandler', 'BaseWebSocket', 'BaseUIModule', ]
Expand Down
6 changes: 3 additions & 3 deletions handlers/index.py
Expand Up @@ -83,7 +83,7 @@ def get(self,id):
else:
raise HTTPError(404)
return
self.render("article.html", url=site_config["url"], article = article)
self.render("article.html", url=site_config["url"], article = article, prev=False, next=False)
class RSSOutput(BaseHandler):
def get(self):
articles = []
Expand Down Expand Up @@ -115,7 +115,7 @@ def get(self,id):
for single_file in file_list:
article = SingleFileHandler(single_file)
if article: articles.append(article)
self.render("archives.html",title=site_config['title'], articles = articles)
self.render("archives.html",title=site_config['title'], articles = articles, prev=False, next=False)
class TagsHandler(BaseHandler):
def get(self,tag):
articles = []
Expand All @@ -142,7 +142,7 @@ def get(self):
else:
raise HTTPError(404)
return
self.render("article.html", url=site_config["url"], article = article)
self.render("article.html", url=site_config["url"], article = article, prev=False, next=False)

handlers = [
(r"/", IndexHandler),
Expand Down

0 comments on commit 779b59b

Please sign in to comment.