This commit is contained in:
parent
970c92c8b8
commit
7640a74595
15
index.php
15
index.php
@ -16,6 +16,7 @@ $router->map('GET', '/rss/blog', function() {}, 'rss-blog');
|
|||||||
$router->map('GET', '/rss/notes', function() {}, 'rss-notes');
|
$router->map('GET', '/rss/notes', function() {}, 'rss-notes');
|
||||||
$router->map('GET', '/about', function() {}, 'about');
|
$router->map('GET', '/about', function() {}, 'about');
|
||||||
$router->map('GET', '/feeds', function() {}, 'feeds');
|
$router->map('GET', '/feeds', function() {}, 'feeds');
|
||||||
|
$router->map('GET', '/uses', function() {}, 'uses');
|
||||||
$router->map('GET', '/blog', function() {}, 'blog');
|
$router->map('GET', '/blog', function() {}, 'blog');
|
||||||
$router->map('GET', '/blog/[*:slug]', function() {}, 'blog_post');
|
$router->map('GET', '/blog/[*:slug]', function() {}, 'blog_post');
|
||||||
$router->map('GET', '/notes', function() {}, 'notes');
|
$router->map('GET', '/notes', function() {}, 'notes');
|
||||||
@ -93,6 +94,11 @@ if ($match['name'] == 'feeds') {
|
|||||||
$variables['title'] = 'Feeds — Yarmo Mackenbach';
|
$variables['title'] = 'Feeds — Yarmo Mackenbach';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If we are dealing with the uses
|
||||||
|
if ($match['name'] == 'uses') {
|
||||||
|
$variables['title'] = 'Uses — Yarmo Mackenbach';
|
||||||
|
}
|
||||||
|
|
||||||
// If we are dealing with the blog
|
// If we are dealing with the blog
|
||||||
if ($match['name'] == 'blog') {
|
if ($match['name'] == 'blog') {
|
||||||
$variables['posts'] = getBlogPosts($variables['params']);
|
$variables['posts'] = getBlogPosts($variables['params']);
|
||||||
@ -200,6 +206,10 @@ if ($environment === 'production') {
|
|||||||
\Phug\Optimizer::call('displayFile', ['feeds', $variables], $options);
|
\Phug\Optimizer::call('displayFile', ['feeds', $variables], $options);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'uses':
|
||||||
|
\Phug\Optimizer::call('displayFile', ['uses', $variables], $options);
|
||||||
|
break;
|
||||||
|
|
||||||
case 'blog':
|
case 'blog':
|
||||||
\Phug\Optimizer::call('displayFile', ['blog', $variables], $options);
|
\Phug\Optimizer::call('displayFile', ['blog', $variables], $options);
|
||||||
break;
|
break;
|
||||||
@ -285,6 +295,11 @@ if(is_array($match) && is_callable($match['target'])) {
|
|||||||
break;
|
break;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'uses':
|
||||||
|
Phug::displayFile('uses', $variables, $options);
|
||||||
|
break;
|
||||||
|
break;
|
||||||
|
|
||||||
case 'blog':
|
case 'blog':
|
||||||
Phug::displayFile('blog', $variables, $options);
|
Phug::displayFile('blog', $variables, $options);
|
||||||
break;
|
break;
|
||||||
|
|||||||
@ -14,6 +14,8 @@ block content
|
|||||||
| |
|
| |
|
||||||
a(href="/feeds") feeds
|
a(href="/feeds") feeds
|
||||||
| |
|
| |
|
||||||
|
a(href="/uses") uses
|
||||||
|
| |
|
||||||
a(href="/foss") FOSS
|
a(href="/foss") FOSS
|
||||||
| |
|
| |
|
||||||
a(href="/projects") projects
|
a(href="/projects") projects
|
||||||
|
|||||||
95
views/uses.pug
Normal file
95
views/uses.pug
Normal file
@ -0,0 +1,95 @@
|
|||||||
|
extends layout
|
||||||
|
|
||||||
|
block content
|
||||||
|
header
|
||||||
|
nav
|
||||||
|
a(href="/about") about me
|
||||||
|
| > uses
|
||||||
|
h1
|
||||||
|
| Uses
|
||||||
|
|
||||||
|
main
|
||||||
|
h2 Hardware
|
||||||
|
|
||||||
|
ul
|
||||||
|
li Main dev computer
|
||||||
|
ul
|
||||||
|
li MODEL: custom built
|
||||||
|
li CPU: AMD Ryzen 5 3600
|
||||||
|
li GPU: AMD RX580
|
||||||
|
li RAM: 16GB
|
||||||
|
li OS: Solus & W10
|
||||||
|
li Homelab
|
||||||
|
ul
|
||||||
|
li MODEL: Intel NUC8i5BEK
|
||||||
|
li CPU: Intel Core i5-8259U
|
||||||
|
li RAM: 16GB
|
||||||
|
li OS: Ubuntu 18.04
|
||||||
|
li Laptop
|
||||||
|
ul
|
||||||
|
li MODEL: Lenovo Thinkpad x201i
|
||||||
|
li OS: Solus
|
||||||
|
li Phone
|
||||||
|
ul
|
||||||
|
li MODEL: OnePlus 5T
|
||||||
|
li OS: LineageOS
|
||||||
|
li Music instruments
|
||||||
|
ul
|
||||||
|
li
|
||||||
|
a(href="https://www.nordkeyboards.com/products/nord-electro-5") Nord Electro 5D
|
||||||
|
li
|
||||||
|
a(href="https://www.arturia.com/microbrute-se/overview") Arturia Minibrute SE Pastel Orange
|
||||||
|
li Custom modular synth
|
||||||
|
ul
|
||||||
|
li VCO:
|
||||||
|
a(href="https://www.roland.com/global/products/system-500_512/") Roland System-500 512
|
||||||
|
li VCF-VCA:
|
||||||
|
a(href="https://www.dreadbox-fx.com/eudemonia/") Dreadbox Eudemonia
|
||||||
|
li LFO-MOD:
|
||||||
|
a(href="https://www.dreadbox-fx.com/ataxia/") Dreadbox Ataxia
|
||||||
|
li CV PROC:
|
||||||
|
a(href="https://www.dreadbox-fx.com/utopia/") Dreadbox Utopia
|
||||||
|
li NOISE:
|
||||||
|
a(href="https://www.dreadbox-fx.com/dystopia/") Dreadbox Dystopia
|
||||||
|
li DELAY:
|
||||||
|
a(href="https://www.dreadbox-fx.com/nostalgia/") Dreadbox Nostalgia
|
||||||
|
li LFO:
|
||||||
|
a(href="http://www.doepfer.de/a146.htm") Doepfer A146
|
||||||
|
li CLK DIVIDER:
|
||||||
|
a(href="http://www.doepfer.de/a160.htm") Doepfer A160-1
|
||||||
|
li RM-S&H-SLEW:
|
||||||
|
a(href="http://www.doepfer.de/a1841.htm") Doepfer A184-1
|
||||||
|
|
||||||
|
h2 Software
|
||||||
|
|
||||||
|
ul
|
||||||
|
li General
|
||||||
|
ul
|
||||||
|
li
|
||||||
|
a(href="https://pandoc.org/") Pandoc
|
||||||
|
li Dev
|
||||||
|
ul
|
||||||
|
li
|
||||||
|
a(href="https://atom.io/") Atom
|
||||||
|
li nano
|
||||||
|
li Homelab & selfhosting
|
||||||
|
ul
|
||||||
|
li
|
||||||
|
a(href="https://www.docker.com/") Docker
|
||||||
|
li
|
||||||
|
a(href="https://containo.us/traefik/") Traefik v2
|
||||||
|
li
|
||||||
|
a(href="https://caddyserver.com/") Caddy v2
|
||||||
|
li
|
||||||
|
a(href="https://www.plex.tv/") Plex
|
||||||
|
li
|
||||||
|
a(href="https://mailcow.email/") Mailcow
|
||||||
|
li Science
|
||||||
|
ul
|
||||||
|
li
|
||||||
|
a(href="https://www.mathworks.com/products/matlab.html") Matlab R2010B
|
||||||
|
li Music
|
||||||
|
ul
|
||||||
|
li
|
||||||
|
a(href="https://new.steinberg.net/cubase/") Cubase
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user