diff --git a/dynamic.php b/dynamic.php new file mode 100644 index 0000000..a2bc8e3 --- /dev/null +++ b/dynamic.php @@ -0,0 +1,42 @@ +'); + $i = 0; + for (; $i < count($entries); $i++) { + if ($limit && $i > $limit - 1) { + break; + } + $file = $entries[$i][1]; + $age = $entries[$i][2]; + printf('%s%s', + $path, $file, str_replace("-", " ", $file), + $age ? $age : "¯\_(ツ)_/¯"); + } + printf('%s', + isset($_GET['all_blog']) ? "/" : "/?all_blog", + isset($_GET['all_blog']) ? "...less" : "more..."); + printf(''); +} +?> diff --git a/index.php b/index.php index 0a9c858..bb8c289 100644 --- a/index.php +++ b/index.php @@ -18,86 +18,37 @@ Welcome to my website. I do a bunch of coding, I try to lean towards lower level languages (mostly C) as I find it more fun when there's a challenge. As for the content of this website: I put blog posts up - when I've got something interesting to talk about. In addition to my - blog I host my own git server with stuff I make (you can find links - to the things I'm proud of below). + when I've got something interesting to talk about. In addition to my + blog I host my own git server with stuff I make (you can find links + to the things I'm proud of below).

Thank you for visiting, if you've got something you wanna say to me, feel free to contact me somewhere below: -

+

+ +

+ If you wanna see the vast majority of my code you can find it at my + very own forgejo instance. + The rest is just commits in other people's repos, which mostly happens + github.

- -
-

Pinned Git Repos

-

My best projects:

- -

more...

-
-
-

My Blog

- (rss btw) +

My Blog

+ (rss btw)

- '); - $i = 0; - for (; $i < count($entries); $i++) { - if ($limit && $i > $limit - 1) { - break; - } - $file = $entries[$i][1]; - $age = $entries[$i][2]; - printf('%s%s', - $path, $file, str_replace("-", " ", $file), - $age ? $age : "¯\_(ツ)_/¯"); - } - printf('%s', - isset($_GET['all_blog']) ? "/" : "/?all_blog", - isset($_GET['all_blog']) ? "...less" : "more..."); - printf(''); - ?> +
-

Interesting People

+

Interesting People

(nvim users)

diff --git a/style.css b/style.css index a5793c2..6693c7b 100644 --- a/style.css +++ b/style.css @@ -35,15 +35,15 @@ html, body { max-height: 100%; background-color: var(--site-bg); - max-width: 80ch; + max-width: 80ch; margin: auto; } @media (orientation: portrait) { - html, body { - max-width: 100% !important; - padding: 5px !important; - } + html, body { + max-width: 100% !important; + padding: 5px !important; + } } #font, p, ul, ol, h1, h2, h3, h4, h5, table { @@ -51,20 +51,14 @@ html, body { color: white; } pre { - color: white; + color: white; } h1 { font-size: 3em; } -iframe[src="/blog"] { - width: 100%; - border: none; -} table#bloglist { width: 100%; - td.date { - text-align: right; - } + td.date { text-align: right; } } a { font-family: sans-serif;