aboutsummaryrefslogtreecommitdiffstats
path: root/root/$mmm/plugins/layout/converts: text$lua -> table.lua
diff options
context:
space:
mode:
authors-ol <s+removethis@s-ol.nu>2022-03-28 19:02:06 +0000
committers-ol <s+removethis@s-ol.nu>2022-03-28 19:02:06 +0000
commit89f670ba8b6aa094579b310b6ead7f1f5d69161d (patch)
tree862487e90955361094601c838083aa5ed4d3d714 /root/$mmm/plugins/layout/converts: text$lua -> table.lua
parentremove Editor remnants, fix inspector (diff)
downloadmmm-89f670ba8b6aa094579b310b6ead7f1f5d69161d.tar.gz
mmm-89f670ba8b6aa094579b310b6ead7f1f5d69161d.zip
de-personalize default layout
Diffstat (limited to 'root/$mmm/plugins/layout/converts: text$lua -> table.lua')
-rw-r--r--root/$mmm/plugins/layout/converts: text$lua -> table.lua26
1 files changed, 6 insertions, 20 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'
}),
'&#8203;',
'.s&#8209;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
}
}