diff --git a/.gitignore b/.gitignore index 71715a5..0e744d8 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ /static/*.css /static/*.js /template.html +/extra/atom.xml log.mege /mege/ apache-config diff --git a/nohi.wsgi b/nohi.wsgi index d43060f..ce201a5 100644 --- a/nohi.wsgi +++ b/nohi.wsgi @@ -9,4 +9,11 @@ except ImportError: sys.path.insert(0, os.path.join(_filedir, 'mege')) import mege.server as server os.chdir(_filedir) -application = server.MegeApplication() + +try: + application = server.MegeApplication() +except Exception as e: + import traceback + with open('.nohifinallog', 'w') as f: + print(e, file=f) + print(traceback.format_exc(), file=f) diff --git a/prestatic/screen.css b/prestatic/screen.css index a11d03d..8ac7378 100644 --- a/prestatic/screen.css +++ b/prestatic/screen.css @@ -79,7 +79,7 @@ body { border-style: dashed; border-color: #ccc; border-width: 4px 0 0 0; - background-color: #aaa; + background: #aaa url('/static/metadata.png') no-repeat right bottom; padding: 2px 5px; color: #fff; } diff --git a/prestatic/template.html b/prestatic/template.html index 45d2448..891d352 100644 --- a/prestatic/template.html +++ b/prestatic/template.html @@ -51,6 +51,7 @@ if page.licenses: less functional. --> +
@@ -62,7 +63,7 @@ for x in('projects', 'writings', 'films', 'about'):