Added a few files.

This commit is contained in:
Niels Serup committed 2011-07-09 00:47:30 +02:00
1 parent 6997e7368a
commit a8bace0591
9 files changed
+22 -10

No files matched your search

+1
View File
@@ -7,6 +7,7 @@
/static/*.css
/static/*.js
/template.html
/extra/atom.xml
log.mege
/mege/
apache-config
+8 -1
View File
@@ -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)
+1 -1
View File
@@ -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;
}
+2 -1
View File
@@ -51,6 +51,7 @@ if page.licenses:
less functional.
-->
<script type='text/javascript' src='/static/aesthetics.js'></script>
<script type='text/javascript' src='/static/extra.js'></script>
</head>
<body>
<a id='minilogo' href='/'></a>
@@ -62,7 +63,7 @@ for x in('projects', 'writings', 'films', 'about'):
</ul>
</div>
<div id='body'<!--@exec if page.fullpage: print(" class='full'", end='')@-->>
<!--@eval page.body@-->
<!--@eval run_macros(page.body)@-->
<div id='metadata'>
<!--@eval page.metadata_info@-->
</div>
+1
View File
@@ -0,0 +1 @@
#+title: Films
+4 -2
View File
@@ -1,3 +1,5 @@
#+title: Directory listing: <@eval page.core_url>
#+title: Directory listing: <@eval page.core_url@>
<@eval page.dirlist>
#@deval
page.dirlist
#@
+3 -3
View File
@@ -1,7 +1,7 @@
#+title: Error: Page not found
The page <@exec print(repr(page.core_url))> does not exist. The error was:
The page <@deval repr(page.core_url)@> does not exist. The error was:
#\block
<@eval page.error>
#@block
<@deval page.error@>
#@
+2 -2
View File
@@ -2,6 +2,6 @@
There was an error, most likely due to sloppy programming:
#\block
<@eval page.error>
#@block
<@deval page.error@>
#@
Binary file not shown.

After

Width:  |  Height:  |  Size: 975 B