git.s-ol.nu mmm / 89f670b
de-personalize default layout s-ol 1 year, 5 months ago
2 changed file(s) with 9 addition(s) and 45 deletion(s). Raw diff Collapse all Expand all
5858 h1({
5959 navigate_to('', logo),
6060 span({
61 span('mmm', {
61 span('mmmfs', {
6262 class = 'bold'
6363 }),
6464 '​',
6565 '.s‑ol.nu'
6666 })
6767 }),
68 table.concat({
69 pick('fun', 'cool', 'weird', 'interesting', 'new', 'pleasant'),
70 pick('stuff', 'things', 'projects', 'experiments', 'visuals', 'ideas'),
71 pick("with", 'and'),
72 pick('mostly code', 'code and wires', 'silicon', 'electronics', 'shaders', 'oscilloscopes', 'interfaces', 'hardware', 'FPGAs')
73 }, ' ')
74 }),
75 aside({
76 navigate_to('/about', 'about me'),
77 navigate_to('/portfolio', 'portfolio'),
78 navigate_to('/games', 'games'),
79 navigate_to('/projects', 'other'),
80 a({
81 href = 'mailto:s%20[removethis]%20[at]%20s-ol.nu',
82 'contact',
83 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 ")
84 })
68 "a hypermedia information system."
8569 })
8670 })
8771 end
8973 span({
9074 'made with \xe2\x98\xbd by ',
9175 a('s-ol', {
92 href = 'https://twitter.com/S0lll0s'
76 href = 'https://s-ol.nu'
9377 }),
9478 ", " .. tostring(os.date('%Y'))
9579 }),
202186 out = 'text/html',
203187 cost = 3,
204188 transform = function(self, html, fileder)
205 return render(html, fileder, { noview = true })
189 return render(html, fileder, {
190 noview = true
191 })
206192 end
207193 }
208194 }
3535 h1 {
3636 navigate_to '', logo
3737 span {
38 span 'mmm', class: 'bold'
38 span 'mmmfs', class: 'bold'
3939 '​'
4040 '.s‑ol.nu'
4141 }
4242 }
43 -- span "fun stuff with code and wires"
44 table.concat {
45 pick 'fun', 'cool', 'weird', 'interesting', 'new', 'pleasant'
46 pick 'stuff', 'things', 'projects', 'experiments', 'visuals', 'ideas'
47 pick "with", 'and'
48 pick 'mostly code', 'code and wires', 'silicon', 'electronics', 'shaders',
49 'oscilloscopes', 'interfaces', 'hardware', 'FPGAs'
50 }, ' '
51 }
52 aside {
53 navigate_to '/about', 'about me'
54 navigate_to '/portfolio', 'portfolio'
55 navigate_to '/games', 'games'
56 navigate_to '/projects', 'other'
57 a {
58 href: 'mailto:s%20[removethis]%20[at]%20s-ol.nu'
59 'contact'
60 script "
61 var l = document.currentScript.parentElement;
62 l.href = l.href.replace('%20[at]%20', '@');
63 l.href = l.href.replace('%20[removethis]', '') + '?subject=Hey there :)';
64 "
65 }
43 "a hypermedia information system."
6644 }
6745 }
6846
6947 footer = footer {
7048 span {
7149 'made with \xe2\x98\xbd by '
72 a 's-ol', href: 'https://twitter.com/S0lll0s'
50 a 's-ol', href: 'https://s-ol.nu'
7351 ", #{os.date '%Y'}"
7452 }
7553 div {