Open versionzhang opened 8 years ago
I have already fixed this problem.
The newer jade syntax about javascript,should use .
to write javascript code.
line 50:
script(type="text/javascript")
script(type="text/javascript").
The other template should use the same syntax.
@ajdavis ,I am sorry to mention about you,But I find some syntax about jade templates which are different from newer version. I find another about the different syntax with it. base.jade line 37,
div(class='backgroundplaceholder' + str(i))
The space between with background placeholder
and str(i)
should be removed.
I am a newbie about web developing and I study your project within these three days. Could I ask some questions about your code and themes.Thanks.
/about
page,I get Page Not Found
error. Should I add AboutHandler
to handler.py
? I found your blog has about
page,I think whether my understanding is wrong.Thanks.
Hi, thanks for investigating this problem, would you like to submit a pull request with the jade syntax fixes?
Other answers:
OK, But I modify some code files and I am not good at using git
to manage my code, so maybe I will take some times to submit a pull request. I will do it after cleaning my code repo as soon as possible. :)
I almost have done to deploy to my vps.I use zc.buildout
to setup all depending package and modify nginx.conf
and supervisord.conf
to run the blog.
I just copy your themes to display blog because I do not know how to modify these css and jade file.
:)
I found some little things can be modified:
in README.md
file,
comand
python server.py --debug --conf=motor\_blog.conf --ensure-indexes
should be
python server.py --debug --config=motor_blog.conf --ensure-indexes
motor_blog.conf
about the define port
, otherwise only one thread will run.Understood. Learning how to use git to contribute clean pull requests to a project you use is a very useful skill!
Hello, I run the blog demo in my mac. But I visit
localhost:8888/blog
, I got some error.The message error: