Closed luckypoem closed 8 years ago
Try commenting out some hooks in hooks/hooks.py if you don't need the gallery stuff.
hooks = {
# 'page.meta.post': [gallery.get_images],
# 'page.template.pre': [gallery.get_albums, gallery.set_images],
'site.output.post': [compile_sass],
}
hi.
as3:~/ngokevin-site# cd content as3:~/ngokevin-site/content# ls about.mkd blog blog.mkd contact.mkd gallery gallery.mkd resume.mkd as3:~/ngokevin-site/content# rm -rf gallery gallery.mkd as3:~/ngokevin-site/content# ls about.mkd blog blog.mkd contact.mkd resume.mkd as3:~/ngokevin-site/content# cd .. as3:~/ngokevin-site# wok as3:~/ngokevin-site#
i published a post: http://as3.brite.biz:34762/blog/test1/,but why the post's superlink didn't appear in the homepage?
sorry,it does.maybe this is caused by browser's cache.
So everything's okay?
I'm actually migrating my blog to Octopress (with the same theme) right now, if you don't run to run Wok (sort of an inactive project now).
hi.
why cannot publish chinese post?
as3:~/ngokevin-site# nano content/blog/20140114_test-chinese.mkd
as3:~/ngokevin-site# wok
Traceback (most recent call last):
File "/usr/local/bin/wok", line 4, in
how to fix it?
You may have to convert your Chinese input for web publishing. Try looking for a tool.
it seems useless.can u try to publish a chinese post in ur site?(u are a chinese?)
Not Chinese, but it sounds difficult since Markdown might not support it.
I'm actually converting my site to Octopress right now, it probably has better support for Chinese. You should hold off on using Wok or start off with Octopress (or wait for me to release my current theme as an Octopress theme).
hi. it's really a headache.can u try to use ur native language to publish a post in ur site to check wether u will also meet the error? i asked the question here: http://stackoverflow.com/questions/21129020/how-to-fix-unicodedecodeerror-ascii-codec-cant-decode-byte,but i still can't grasp the solution.
hi. as per this: http://shirley-ren.iteye.com/blog/1018750,i solved it
hi. i clone ur site,but in the cloned dir,i run "wok",i met error: 'dict object' has no attribute 'albums'. how to fix it ? tks