aboutsummaryrefslogtreecommitdiffstats
path: root/root
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2018-11-23 06:25:09 +0000
committers-ol <s-ol@users.noreply.github.com>2018-11-23 06:25:09 +0000
commit05a92e841e36ff31010f52f29d42dfab8b24770f (patch)
tree0421a7837c8ef7b80f82f6af27290de4dd2af0f4 /root
parentclean-ish header (diff)
downloadmmm-05a92e841e36ff31010f52f29d42dfab8b24770f.tar.gz
mmm-05a92e841e36ff31010f52f29d42dfab8b24770f.zip
scss reorganize, add footer
Diffstat (limited to 'root')
-rw-r--r--root/text$moonscript -> fn -> mmm$dom.moon32
1 files changed, 4 insertions, 28 deletions
diff --git a/root/text$moonscript -> fn -> mmm$dom.moon b/root/text$moonscript -> fn -> mmm$dom.moon
index 7e346d8..5b4f3e0 100644
--- a/root/text$moonscript -> fn -> mmm$dom.moon
+++ b/root/text$moonscript -> fn -> mmm$dom.moon
@@ -8,28 +8,6 @@ import opairs from require 'mmm.ordered'
append = (stuff) -> table.insert content, stuff
append, -> article content
- moon = '\xe2\x98\xbd'
-
- iconlink = (href, src, alt, style) -> a {
- class: 'iconlink',
- :href,
- target: '_blank',
- img :src, :alt, :style
- }
-
- -- menu
- append h1 {
- style: { 'border-bottom': '1px solid #000' },
- 'mmm',
- div {
- class: 'icons',
- iconlink 'https://github.com/s-ol/mmm', 'https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/github.svg',
- iconlink 'https://twitter.com/S0lll0s', 'https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/twitter.svg',
- iconlink 'https://webring.xxiivv.com/#random', 'https://webring.xxiivv.com/icon.black.svg', 'webring',
- { height: '0.9em', 'margin-left': '.04em' }
- }
- }
-
append p {
tt 'mmm'
' is not the '
@@ -44,11 +22,9 @@ import opairs from require 'mmm.ordered'
}
for child in *@children
- append (child\get 'preview: mmm/dom') or child\get 'mmm/dom'
-
- append p {
- "made with #{moon} by "
- a { 's-ol', href: 'https://twitter.com/S0lll0s' }
- }
+ append div {
+ class: 'well'
+ (child\get 'preview: mmm/dom') or child\get 'mmm/dom'
+ }
finish!