From eaf4f36f012e5e1f1dbe4a00fca4f52cb3f2ea52 Mon Sep 17 00:00:00 2001 From: messense Date: Sun, 30 Dec 2012 22:23:21 +0800 Subject: [PATCH 1/2] remove uimodules.py, because I found that UIModule cannot be used in catsup.deploy yet --- catsup/uimodules.py | 11 ----------- config.py | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 catsup/uimodules.py diff --git a/catsup/uimodules.py b/catsup/uimodules.py deleted file mode 100644 index b33b88d..0000000 --- a/catsup/uimodules.py +++ /dev/null @@ -1,11 +0,0 @@ -#coding=utf-8 -from tornado.web import UIModule -from tornado.options import options - -class CommentModule(UIModule): - def render(self, tpl="%s/comment.html" % options.ui_modules_path): - return self.render(tpl) - -ui_modules = { - 'CommentModule' : CommentModule, -} \ No newline at end of file diff --git a/config.py b/config.py index c46de35..b91c294 100644 --- a/config.py +++ b/config.py @@ -1,7 +1,7 @@ #coding=utf-8 site_title = 'catsup' site_description = 'a blog' -site_url = '/' +site_url = '' # Home page display full content or excerpt excerpt_index = False From ded9010721f80fdf821cd0bb1f147aa3798f9b5b Mon Sep 17 00:00:00 2001 From: messense Date: Sun, 30 Dec 2012 22:32:50 +0800 Subject: [PATCH 2/2] release version 0.0.5 --- catsup/__init__.py | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/catsup/__init__.py b/catsup/__init__.py index f34fdc9..e70c279 100644 --- a/catsup/__init__.py +++ b/catsup/__init__.py @@ -2,4 +2,4 @@ Catsup, a lightweight static blog generator """ -__version__ = '0.0.4' +__version__ = '0.0.5' diff --git a/setup.py b/setup.py index 814bcd2..a9915a8 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name='catsup', - version='0.0.4', + version='0.0.5', author='whtsky, messense', author_email='whtsky@me.com, wapdevelop@gmail.com', url='https://github.com/whtsky/catsup', @@ -13,7 +13,7 @@ description='Catsup: a lightweight static blog generator', entry_points={ 'console_scripts': ['catsup= catsup.app:main'], - }, + }, install_requires=[ 'tornado', 'misaka',