Added a few files.
This commit is contained in:
parent
6997e7368a
commit
a8bace0591
|
@ -7,6 +7,7 @@
|
||||||
/static/*.css
|
/static/*.css
|
||||||
/static/*.js
|
/static/*.js
|
||||||
/template.html
|
/template.html
|
||||||
|
/extra/atom.xml
|
||||||
log.mege
|
log.mege
|
||||||
/mege/
|
/mege/
|
||||||
apache-config
|
apache-config
|
||||||
|
|
|
@ -9,4 +9,11 @@ except ImportError:
|
||||||
sys.path.insert(0, os.path.join(_filedir, 'mege'))
|
sys.path.insert(0, os.path.join(_filedir, 'mege'))
|
||||||
import mege.server as server
|
import mege.server as server
|
||||||
os.chdir(_filedir)
|
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)
|
||||||
|
|
|
@ -79,7 +79,7 @@ body {
|
||||||
border-style: dashed;
|
border-style: dashed;
|
||||||
border-color: #ccc;
|
border-color: #ccc;
|
||||||
border-width: 4px 0 0 0;
|
border-width: 4px 0 0 0;
|
||||||
background-color: #aaa;
|
background: #aaa url('/static/metadata.png') no-repeat right bottom;
|
||||||
padding: 2px 5px;
|
padding: 2px 5px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,6 +51,7 @@ if page.licenses:
|
||||||
less functional.
|
less functional.
|
||||||
-->
|
-->
|
||||||
<script type='text/javascript' src='/static/aesthetics.js'></script>
|
<script type='text/javascript' src='/static/aesthetics.js'></script>
|
||||||
|
<script type='text/javascript' src='/static/extra.js'></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<a id='minilogo' href='/'></a>
|
<a id='minilogo' href='/'></a>
|
||||||
|
@ -62,7 +63,7 @@ for x in('projects', 'writings', 'films', 'about'):
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id='body'<!--@exec if page.fullpage: print(" class='full'", end='')@-->>
|
<div id='body'<!--@exec if page.fullpage: print(" class='full'", end='')@-->>
|
||||||
<!--@eval page.body@-->
|
<!--@eval run_macros(page.body)@-->
|
||||||
<div id='metadata'>
|
<div id='metadata'>
|
||||||
<!--@eval page.metadata_info@-->
|
<!--@eval page.metadata_info@-->
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
#+title: Films
|
|
@ -1,3 +1,5 @@
|
||||||
#+title: Directory listing: <@eval page.core_url>
|
#+title: Directory listing: <@eval page.core_url@>
|
||||||
|
|
||||||
<@eval page.dirlist>
|
#@deval
|
||||||
|
page.dirlist
|
||||||
|
#@
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#+title: Error: Page not found
|
#+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
|
#@block
|
||||||
<@eval page.error>
|
<@deval page.error@>
|
||||||
#@
|
#@
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
|
|
||||||
There was an error, most likely due to sloppy programming:
|
There was an error, most likely due to sloppy programming:
|
||||||
|
|
||||||
#\block
|
#@block
|
||||||
<@eval page.error>
|
<@deval page.error@>
|
||||||
#@
|
#@
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 975 B |
Loading…
Reference in New Issue