summaryrefslogtreecommitdiff
path: root/amaryllis.cgi
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-12-19 05:27:50 -0600
committersanine <sanine.not@pm.me>2022-12-19 05:27:50 -0600
commite8328e437fccbaacd7c600631b879c699bdaaf18 (patch)
treec41669e3118da82f2596b6fadd78f3d37f5eff90 /amaryllis.cgi
parent4e006be646fba8dde7284cfe4c18f0222e8298ad (diff)
fix self-path
Diffstat (limited to 'amaryllis.cgi')
-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!