diff options
| author | s-ol <s+removethis@s-ol.nu> | 2022-03-28 19:02:06 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2022-03-28 19:02:06 +0000 |
| commit | 89f670ba8b6aa094579b310b6ead7f1f5d69161d (patch) | |
| tree | 862487e90955361094601c838083aa5ed4d3d714 /root | |
| parent | remove Editor remnants, fix inspector (diff) | |
| download | mmm-89f670ba8b6aa094579b310b6ead7f1f5d69161d.tar.gz mmm-89f670ba8b6aa094579b310b6ead7f1f5d69161d.zip | |
de-personalize default layout
Diffstat (limited to 'root')
| -rw-r--r-- | root/$mmm/plugins/layout/converts: text$lua -> table.lua | 26 | ||||
| -rw-r--r-- | root/$mmm/plugins/layout/converts: text$moonscript -> table.moon | 28 |
2 files changed, 9 insertions, 45 deletions
diff --git a/root/$mmm/plugins/layout/converts: text$lua -> table.lua b/root/$mmm/plugins/layout/converts: text$lua -> table.lua index 196e39e..670f1c9 100644 --- a/root/$mmm/plugins/layout/converts: text$lua -> table.lua +++ b/root/$mmm/plugins/layout/converts: text$lua -> table.lua @@ -59,30 +59,14 @@ gen_header = function() h1({ navigate_to('', logo), span({ - span('mmm', { + span('mmmfs', { class = 'bold' }), '​', '.s‑ol.nu' }) }), - table.concat({ - pick('fun', 'cool', 'weird', 'interesting', 'new', 'pleasant'), - pick('stuff', 'things', 'projects', 'experiments', 'visuals', 'ideas'), - pick("with", 'and'), - pick('mostly code', 'code and wires', 'silicon', 'electronics', 'shaders', 'oscilloscopes', 'interfaces', 'hardware', 'FPGAs') - }, ' ') - }), - aside({ - navigate_to('/about', 'about me'), - navigate_to('/portfolio', 'portfolio'), - navigate_to('/games', 'games'), - navigate_to('/projects', 'other'), - a({ - href = 'mailto:s%20[removethis]%20[at]%20s-ol.nu', - 'contact', - script("\n var l = document.currentScript.parentElement;\n l.href = l.href.replace('%20[at]%20', '@');\n l.href = l.href.replace('%20[removethis]', '') + '?subject=Hey there :)';\n ") - }) + "a hypermedia information system." }) }) end @@ -90,7 +74,7 @@ footer = footer({ span({ 'made with \xe2\x98\xbd by ', a('s-ol', { - href = 'https://twitter.com/S0lll0s' + href = 'https://s-ol.nu' }), ", " .. tostring(os.date('%Y')) }), @@ -203,7 +187,9 @@ return { out = 'text/html', cost = 3, transform = function(self, html, fileder) - return render(html, fileder, { noview = true }) + return render(html, fileder, { + noview = true + }) end } } diff --git a/root/$mmm/plugins/layout/converts: text$moonscript -> table.moon b/root/$mmm/plugins/layout/converts: text$moonscript -> table.moon index 732f2ea..b3af5bd 100644 --- a/root/$mmm/plugins/layout/converts: text$moonscript -> table.moon +++ b/root/$mmm/plugins/layout/converts: text$moonscript -> table.moon @@ -36,41 +36,19 @@ gen_header = -> h1 { navigate_to '', logo span { - span 'mmm', class: 'bold' + span 'mmmfs', class: 'bold' '​' '.s‑ol.nu' } } - -- span "fun stuff with code and wires" - table.concat { - pick 'fun', 'cool', 'weird', 'interesting', 'new', 'pleasant' - pick 'stuff', 'things', 'projects', 'experiments', 'visuals', 'ideas' - pick "with", 'and' - pick 'mostly code', 'code and wires', 'silicon', 'electronics', 'shaders', - 'oscilloscopes', 'interfaces', 'hardware', 'FPGAs' - }, ' ' - } - aside { - navigate_to '/about', 'about me' - navigate_to '/portfolio', 'portfolio' - navigate_to '/games', 'games' - navigate_to '/projects', 'other' - a { - href: 'mailto:s%20[removethis]%20[at]%20s-ol.nu' - 'contact' - script " - var l = document.currentScript.parentElement; - l.href = l.href.replace('%20[at]%20', '@'); - l.href = l.href.replace('%20[removethis]', '') + '?subject=Hey there :)'; - " - } + "a hypermedia information system." } } footer = footer { span { 'made with \xe2\x98\xbd by ' - a 's-ol', href: 'https://twitter.com/S0lll0s' + a 's-ol', href: 'https://s-ol.nu' ", #{os.date '%Y'}" } div { |
