summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xamaryllis.cgi12
1 files changed, 6 insertions, 6 deletions
diff --git a/amaryllis.cgi b/amaryllis.cgi
index 12d2c15..c77b1b3 100755
--- a/amaryllis.cgi
+++ b/amaryllis.cgi
@@ -22,13 +22,13 @@ if not settings.help then
C=mnbdTLshzwrly
V=aeiou
T=1324
- ]]
+]]
settings.syllables = settings.syllables or [[
CVT
CVTl
CVTn
- ]]
+]]
settings.orthography = settings.orthography or [[
T=th
@@ -38,7 +38,7 @@ z=zh
(%V)2=%1%1́
(%V)3=%1
(%V)4=%1́%1
- ]]
+]]
settings.phonemes_decay = settings.phonemes_decay or 'Q'
settings.syllables_decay = settings.syllables_decay or 'Q'
@@ -162,12 +162,11 @@ z=zh
end
- local self_path = metavars.path_info .. '/' .. metavars.script_name
- self_path = string.gsub(self_path, '^//', '/')
+ local self_path = '#'
body = h('body', { h('div', { id="content",
h('a', '<- projects', { href='https://sanine.net/projects/' }),
- h('br'), h('br'),
+ h('br'),
form,
h('hr'),
syllable_html,
@@ -175,6 +174,7 @@ z=zh
href=self_path .. '?' .. metavars.query_string
}),
h('a', 'what the heck is this?', { href=self_path .. '?help=1' }),
+ h('a', 'source code', { href="https://sanine.net/git/amaryllis" }),
})})
else
-- help page!