Commits

wuhan88 committed df23349

modify banner and fixed unicode bug

  • Participants
  • Parent commits 9b8bf3e

Comments (0)

Files changed (3)

File tinkerer/cmdline.py

 import locale
 from tinkerer import draft, page, paths, post, writer
 
-
+reload(sys)
+sys.setdefaultencoding('utf8')
 
 def setup(quiet=False, filename_only=False):
     '''
     # copy some extra files to the output directory
     if os.path.exists("_copy"):
         shutil.copytree("_copy/", paths.html)
-        
+
     return sphinx.main(flags)
 
 

File tinkerer/themes/modern5/static/header.jpg

Added
New image

File tinkerer/themes/modern5/static/modern5.css_t

 aside.sidebar { border-top: 1px solid #cfd5da; }
 
 @media only screen and (min-width: 480px) {
-    header { background-image: url('header.png'); background-repeat: repeat; }
+    header { background-image: url('header.jpg'); }
 
     nav, footer {
         background: -moz-linear-gradient(top, #354550 0%, #021520 50%, #02121d 51%, #011019 100%);