diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2018-10-27 14:20:44 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2018-10-27 14:20:44 +0000 |
| commit | 15efea6c84b79189e31f1b8801dab56c91e53df0 (patch) | |
| tree | 7df1700059d128a22bc231e61bd46514b4fa4ca1 | |
| parent | default to main content (diff) | |
| download | mmm-15efea6c84b79189e31f1b8801dab56c91e53df0.tar.gz mmm-15efea6c84b79189e31f1b8801dab56c91e53df0.zip | |
add to webring
| -rw-r--r-- | app/init.moon | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/app/init.moon b/app/init.moon index 7d810cb..684c30a 100644 --- a/app/init.moon +++ b/app/init.moon @@ -60,7 +60,7 @@ table.insert routes, { route: '' dest: 'index.html' render: => - import h1, p, a, br, ul, tt, li from require 'lib.html' + import h1, p, a, br, ul, tt, li, img from require 'lib.html' import opairs from require 'lib.ordered' moon = '\xe2\x98\xbd' @@ -69,7 +69,21 @@ table.insert routes, { on_client patch_redirs -- menu - append h1 'mmm' + append h1 { + style: { position: 'relative' }, + 'mmm', + a { + style: { + position: 'absolute', + top: '2px', + right: '0', + }, + href: 'https://webring.xxiivv.com/#random', + target: '_blank', + img src: 'https://webring.xxiivv.com/icon.black.svg', alt: 'webring', style: { height: '1em' } + } + } + append p { tt 'mmm' ' is not the ' |
