Beispiel #1
0
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import codecs
import sys
import os
from build import buildPosts, buildBackwardsCompatibilityLinks
from settings import *

sys.stdout = codecs.getwriter('utf-8')(sys.stdout)
buildPosts("posts", "post", "post", os.path.join(blog_dir, "posts"))
buildBackwardsCompatibilityLinks("posts")
Beispiel #2
0
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import codecs
import sys
from build import buildPosts

sys.stdout = codecs.getwriter('utf-8')(sys.stdout)
buildPosts("static", "static", "static", "")