diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 7cc026c..67c45a4 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -19,8 +19,7 @@ const today = new Date(); diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro index d287a33..ae2ed28 100644 --- a/src/pages/blog/index.astro +++ b/src/pages/blog/index.astro @@ -9,6 +9,9 @@ import FormattedDate from '../../components/FormattedDate.astro'; const posts = (await getCollection('blog')).sort( (a, b) => a.data.pubDate.valueOf() - b.data.pubDate.valueOf() ); +const homelab_posts = (await getCollection('homelab')).sort( + (a, b) => a.data.pubDate.valueOf() - b.data.pubDate.valueOf() +); --- @@ -54,12 +57,12 @@ const posts = (await getCollection('blog')).sort( } .title { margin: 0; - color: rgb(var(--black)); + color: rgb(0,255,159); line-height: 1; } .date { margin: 0; - color: rgb(var(--gray)); + color: rgb(white); } ul li a:hover h4, ul li a:hover .date { @@ -98,9 +101,6 @@ const posts = (await getCollection('blog')).sort( I will probably post mostly random stuff or opinion pieces. What it will be about i have no idea. So stay tuned!

- -

Click here to read posts about my homelab!

-
diff --git a/src/pages/homelab/index.astro b/src/pages/homelab/index.astro index 5fe98ff..ab53ea0 100644 --- a/src/pages/homelab/index.astro +++ b/src/pages/homelab/index.astro @@ -8,9 +8,7 @@ import { SITE_TITLE, SITE_DESCRIPTION } from "../../consts"; -const posts = (await getCollection('homelab')).sort( - (a, b) => a.data.pubDate.valueOf() - b.data.pubDate.valueOf() -); + const servers = (await getCollection('servers')); --- @@ -20,31 +18,9 @@ const servers = (await getCollection('servers')); @@ -107,11 +49,9 @@ const servers = (await getCollection('servers'));
-

All bout the homelab!

+

What is in my homelab now?

- -

What is in my homelab now?

So my current homelab has gotten quite extensive, which honestly is a pain because electricity is expensive as hell.

@@ -120,44 +60,16 @@ const servers = (await getCollection('servers')); let me explain each server, and what it is currently being used for.

As you can probably tell, i use greek mythology for the naming scheme of physical machines :P

-
- -
- -
- -

Homelab blog:

-
-
    - { - posts.length == 0 ?

    Wow, such empty

    : - posts.sort((a,b) => { - return b.data.pubDate.getTime() - a.data.pubDate.getTime() - }).map((post) => ( -
  • - -
    {post.data.title}
    -

    - -

    -
    -
  • - )) - } -
-
-
-
+ +