Compare commits

...

2 commits

Author SHA1 Message Date
28dbcd6b07
💬 Lowercase all titles for consistency
All checks were successful
Deploy website / build-and-deploy (push) Successful in 5m0s
Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
2025-06-19 20:39:35 +02:00
2970e3043c
🐛 Fixed helmet not showing unique page-title
Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
2025-06-19 20:33:00 +02:00
56 changed files with 71 additions and 61 deletions

View file

@ -3,12 +3,18 @@ import BaseHead from '../components/BaseHead.astro';
import BlogHeader from '../components/BlogHeader.astro'; import BlogHeader from '../components/BlogHeader.astro';
import Footer from '../components/Footer.astro'; import Footer from '../components/Footer.astro';
import { SITE_TITLE, SITE_DESCRIPTION } from '../consts'; import { SITE_TITLE, SITE_DESCRIPTION } from '../consts';
interface Props {
title: string;
description: string;
}
const { title, description } = Astro.props;
--- ---
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} /> <BaseHead title={SITE_TITLE + " | " + title} description={description} />
</head> </head>
<body> <body>
<section class="mx-auto max-w-3xl px-4 sm:px-6 xl:max-w-2xl xl:px-0"> <section class="mx-auto max-w-3xl px-4 sm:px-6 xl:max-w-2xl xl:px-0">

View file

@ -3,13 +3,19 @@ import BaseHead from '../components/BaseHead.astro';
import Header from '../components/Header.astro'; import Header from '../components/Header.astro';
import Footer from '../components/Footer.astro'; import Footer from '../components/Footer.astro';
import { SITE_TITLE, SITE_DESCRIPTION } from '../consts'; import { SITE_TITLE, SITE_DESCRIPTION } from '../consts';
interface Props {
title: string;
description: string;
}
const { title, description } = Astro.props;
--- ---
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} /> <BaseHead title={SITE_TITLE + " | " + title} description={description} />
</head> </head>
<body> <body>
<section class="mx-auto max-w-3xl px-4 sm:px-6 xl:max-w-2xl xl:px-0"> <section class="mx-auto max-w-3xl px-4 sm:px-6 xl:max-w-2xl xl:px-0">
<div class="flex flex-col h-screen"> <div class="flex flex-col h-screen">

View file

@ -7,7 +7,7 @@ type Props = CollectionEntry<'blog'>['data'];
const { title, description, pubDate } = Astro.props; const { title, description, pubDate } = Astro.props;
--- ---
<BlogContainer> <BlogContainer title={title} description={description}>
<main class="flex flex-col flex-1 mb-auto break-words mt-4"> <main class="flex flex-col flex-1 mb-auto break-words mt-4">
<article class="flex flex-col gap-1"> <article class="flex flex-col gap-1">
<h1 class="text-4xl font-extrabold">{title}</h1> <h1 class="text-4xl font-extrabold">{title}</h1>

View file

@ -3,7 +3,7 @@ import SectionContainer from '../components/SectionContainer.astro';
const {frontmatter} = Astro.props; const {frontmatter} = Astro.props;
--- ---
<SectionContainer> <SectionContainer title={"gallery: " + frontmatter.title} description={frontmatter.description}>
<main class="flex flex-col flex-1 mb-auto break-words mt-4"> <main class="flex flex-col flex-1 mb-auto break-words mt-4">
<article> <article>
<h1 class="text-3xl font-extrabold">[ gallery: {frontmatter.title} ]</h1> <h1 class="text-3xl font-extrabold">[ gallery: {frontmatter.title} ]</h1>

View file

@ -3,7 +3,7 @@ import SectionContainer from '../components/SectionContainer.astro';
const {frontmatter} = Astro.props; const {frontmatter} = Astro.props;
--- ---
<SectionContainer> <SectionContainer title={frontmatter.title} description={frontmatter.description}>
<main class="flex flex-col flex-1 mb-auto break-words mt-4"> <main class="flex flex-col flex-1 mb-auto break-words mt-4">
<article> <article>
<h1 class="text-3xl font-bold">[ {frontmatter.title} ]</h1> <h1 class="text-3xl font-bold">[ {frontmatter.title} ]</h1>

View file

@ -3,7 +3,7 @@ import SectionContainer from "../components/SectionContainer.astro";
import appearances from "../data/appearances.json"; import appearances from "../data/appearances.json";
--- ---
<SectionContainer> <SectionContainer title="appearances" description="where ive shared insights or participated">
<main class="flex flex-col flex-1 gap-2 mt-4"> <main class="flex flex-col flex-1 gap-2 mt-4">
<h1 class="text-3xl font-extrabold">[ Appearances ]</h1> <h1 class="text-3xl font-extrabold">[ Appearances ]</h1>
<div class="blog"> <div class="blog">

View file

@ -20,7 +20,7 @@ const postsByYear = posts.reduce((acc:any, post) => {
// Sort the years // Sort the years
const sortedYears = Object.keys(postsByYear).sort((a:any, b:any) => b - a); const sortedYears = Object.keys(postsByYear).sort((a:any, b:any) => b - a);
--- ---
<SectionContainer> <SectionContainer title="blog" description="">
<main class="flex flex-col gap-4 mt-4"> <main class="flex flex-col gap-4 mt-4">
<h1 class="text-3xl font-extrabold">[ Blog ]</h1> <h1 class="text-3xl font-extrabold">[ Blog ]</h1>
<a href="/rss.xml">💥 Subscribe via RSS</a> <a href="/rss.xml">💥 Subscribe via RSS</a>

View file

@ -1,5 +1,5 @@
--- ---
title: "Bookmarks" title: "bookmarks"
description: "A collection of my favorite links to content around the web (blogs, podcasts, etc.)." description: "A collection of my favorite links to content around the web (blogs, podcasts, etc.)."
layout: "../layouts/Layout.astro" layout: "../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: "Contact" title: "contact"
description: "" description: ""
layout: "../layouts/Layout.astro" layout: "../layouts/Layout.astro"
--- ---

View file

@ -3,7 +3,7 @@ import SectionContainer from "../components/SectionContainer.astro";
import resume from "../data/resume.json"; import resume from "../data/resume.json";
--- ---
<SectionContainer> <SectionContainer title="cv" description="my resume">
<main class="flex flex-col gap-2 mt-4 cv"> <main class="flex flex-col gap-2 mt-4 cv">
<h1 class="text-3xl font-extrabold">{resume.basics.name}</h1> <h1 class="text-3xl font-extrabold">{resume.basics.name}</h1>

View file

@ -1,5 +1,5 @@
--- ---
title: "Feedroll" title: "feedroll"
description: "A list of other sites that I read/watch, are a follower of, or recommend." description: "A list of other sites that I read/watch, are a follower of, or recommend."
layout: "../layouts/Layout.astro" layout: "../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: "Garden" title: "garden"
description: "🪴 My personal digital garden. A wild garden, filled with drafts, ideas and more." description: "🪴 My personal digital garden. A wild garden, filled with drafts, ideas and more."
layout: "../../layouts/Layout.astro" layout: "../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'GPG' title: 'gpg'
description: '🌱 ~ Info around GPG' description: '🌱 ~ Info around GPG'
layout: "../../../layouts/Layout.astro" layout: "../../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Instructions' title: 'instructions'
description: '' description: ''
layout: "../../../layouts/Layout.astro" layout: "../../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Linux' title: 'linux'
description: '🌱 ~ Some info I keep forgetting on Linux lol' description: '🌱 ~ Some info I keep forgetting on Linux lol'
layout: "../../../layouts/Layout.astro" layout: "../../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Windows' title: 'windows'
description: '🌱 ~ Some info I keep forgetting on Windows lol' description: '🌱 ~ Some info I keep forgetting on Windows lol'
layout: "../../../layouts/Layout.astro" layout: "../../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Wireguard' title: 'wireguard'
description: '🌿 ~ Some info I keep forgetting lol' description: '🌿 ~ Some info I keep forgetting lol'
layout: "../../../layouts/Layout.astro" layout: "../../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Cleaning' title: 'cleaning'
description: '🌱 ~ Very rough notes about cleaning-related stuff' description: '🌱 ~ Very rough notes about cleaning-related stuff'
layout: "../../../layouts/Layout.astro" layout: "../../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Clothing' title: 'clothing'
description: '🌱 ~ Very rough notes about clothing-related stuff' description: '🌱 ~ Very rough notes about clothing-related stuff'
layout: "../../../layouts/Layout.astro" layout: "../../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Lifehacks' title: 'lifehacks'
description: '' description: ''
layout: "../../../layouts/Layout.astro" layout: "../../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'East Blue' title: 'eastblue'
description: '🌿 ~ Some notes about my server' description: '🌿 ~ Some notes about my server'
layout: "../../../layouts/Layout.astro" layout: "../../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Machines' title: 'machines'
description: '' description: ''
layout: "../../../layouts/Layout.astro" layout: "../../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Kanto' title: 'kanto'
description: '🌳 ~ My first "server" <3 (Out of prod )' description: '🌳 ~ My first "server" <3 (Out of prod )'
layout: "../../../layouts/Layout.astro" layout: "../../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Help for Nintendo Wii' title: 'nintendo wii'
description: '🌱 ~ Notes to remember for my modded Wii' description: '🌱 ~ Notes to remember for my modded Wii'
layout: "../../../layouts/Layout.astro" layout: "../../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: "Digital Security" title: "digital security"
description: "🌱 ~ Very rough notes I've found on digital security" description: "🌱 ~ Very rough notes I've found on digital security"
layout: "../../../layouts/Layout.astro" layout: "../../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: "Random Web-notes" title: "random web-notes"
description: "" description: ""
layout: "../../../layouts/Layout.astro" layout: "../../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Services' title: 'services'
description: '' description: ''
layout: "../../../layouts/Layout.astro" layout: "../../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'sidsIgloo ~ A Minecraft server' title: 'sidsIgloo ~ a minecraft server'
description: '🌿 ~ Some info about the server' description: '🌿 ~ Some info about the server'
layout: "../../../layouts/Layout.astro" layout: "../../../layouts/Layout.astro"
--- ---

View file

@ -2,7 +2,7 @@
import SectionContainer from '../components/SectionContainer.astro'; import SectionContainer from '../components/SectionContainer.astro';
--- ---
<SectionContainer> <SectionContainer title="guestbook" description="my websites guestbook">
<main> <main>
<iframe src="https://guestbooks.meadow.cafe/guestbook/593" width="100%" height="1500" frameborder="0"></iframe> <iframe src="https://guestbooks.meadow.cafe/guestbook/593" width="100%" height="1500" frameborder="0"></iframe>
</main> </main>

View file

@ -36,7 +36,7 @@ const booksByYear = booksRead.reduce((acc, book) => {
const sortedYears = Object.keys(booksByYear).sort((a: any, b: any) => b - a); const sortedYears = Object.keys(booksByYear).sort((a: any, b: any) => b - a);
--- ---
<SectionContainer> <SectionContainer title="bookshelf" description="stuff i read">
<main class="flex flex-col flex-1 gap-4 mt-4"> <main class="flex flex-col flex-1 gap-4 mt-4">
<h1 class="text-3xl font-extrabold">[ Bookshelf ]</h1> <h1 class="text-3xl font-extrabold">[ Bookshelf ]</h1>
<h2 class="text-xl font-semibold">on the shelf</h2> <h2 class="text-xl font-semibold">on the shelf</h2>

View file

@ -1,5 +1,5 @@
--- ---
title: 'Climbboard' title: 'climbboard'
description: '' description: ''
layout: "../../layouts/Layout.astro" layout: "../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Logs' title: 'logs'
description: '' description: ''
layout: "../../layouts/Layout.astro" layout: "../../layouts/Layout.astro"
--- ---

View file

@ -31,7 +31,7 @@ const tvByYear = watched.reduce((acc, tv) => {
const sortedYears = Object.keys(tvByYear).sort((a: any, b: any) => b - a); const sortedYears = Object.keys(tvByYear).sort((a: any, b: any) => b - a);
--- ---
<SectionContainer> <SectionContainer title="watchlist" description="stuff i watch">
<main class="flex flex-col flex-1 gap-4 mt-4"> <main class="flex flex-col flex-1 gap-4 mt-4">
<h1 class="text-3xl font-extrabold">[ Watchlist ]</h1> <h1 class="text-3xl font-extrabold">[ Watchlist ]</h1>

View file

@ -1,5 +1,5 @@
--- ---
title: "Now" title: "now"
description: "" description: ""
layout: "../layouts/Layout.astro" layout: "../layouts/Layout.astro"
--- ---

View file

@ -1,10 +1,9 @@
--- ---
import SectionContainer from '../components/SectionContainer.astro'; import SectionContainer from '../components/SectionContainer.astro';
import quotes from '../data/quotes.json' import quotes from '../data/quotes.json'
const today = new Date();
--- ---
<SectionContainer> <SectionContainer title="quotes" description="my favorite quotes">
<main class="flex flex-col gap-4 mt-4"> <main class="flex flex-col gap-4 mt-4">
<h1 class="text-3xl font-extrabold">[ Quotes ]</h1> <h1 class="text-3xl font-extrabold">[ Quotes ]</h1>
<section> <section>
<ul> <ul>

View file

@ -1,5 +1,5 @@
--- ---
title: 'Berry Compote' title: 'berry compote'
description: ' 07-06-2024' description: ' 07-06-2024'
layout: "../../layouts/Layout.astro" layout: "../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Celinas Stuffed Mushrooms' title: 'celinas stuffed mushrooms'
description: '10-07-2024' description: '10-07-2024'
layout: "../../layouts/Layout.astro" layout: "../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Chicken Teriyaki' title: 'chicken teriyaki'
description: ' 07-06-2024' description: ' 07-06-2024'
layout: "../../layouts/Layout.astro" layout: "../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Dynamite Harrys Tomato Soup' title: 'dynamite harrys tomato soup'
description: ' 10-07-2024' description: ' 10-07-2024'
layout: "../../layouts/Layout.astro" layout: "../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Homemade Salsa' title: 'homemade salsa'
description: ' 07-06-2024' description: ' 07-06-2024'
layout: "../../layouts/Layout.astro" layout: "../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Spicy Chicken Soup with Apple and Carrot' title: 'spicy chicken soup with apple and carrot'
description: '10-07-2024' description: '10-07-2024'
layout: "../../layouts/Layout.astro" layout: "../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Recipes I like' title: 'recipes'
description: 'Recent years I have gotten more into cooking and baking, so I thought why not share my favorite recipes!' description: 'Recent years I have gotten more into cooking and baking, so I thought why not share my favorite recipes!'
layout: "../../layouts/Layout.astro" layout: "../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Indonesisk' title: 'indonesisk'
description: '10-07-2024' description: '10-07-2024'
layout: "../../layouts/Layout.astro" layout: "../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Mongolian Beef' title: 'mongolian beef'
description: '13-09-2024' description: '13-09-2024'
layout: "../../layouts/Layout.astro" layout: "../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Noodle salad with Beef & Spicy chili sauce' title: 'noodle salad with beef & spicy chili sauce'
description: ' 07-06-2024' description: ' 07-06-2024'
layout: "../../layouts/Layout.astro" layout: "../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Sids Wok' title: 'sids wok'
description: '10-07-2024' description: '10-07-2024'
layout: "../../layouts/Layout.astro" layout: "../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Sweet Chicken' title: 'sweet chicken'
description: '10-07-2024' description: '10-07-2024'
layout: "../../layouts/Layout.astro" layout: "../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Vegan Chili' title: 'vegan chili'
description: ' 07-06-2024' description: ' 07-06-2024'
layout: "../../layouts/Layout.astro" layout: "../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Vegan Shawarma with Roasted Cauliflower and Chickpeas' title: 'vegan shawarma with roasted cauliflower and chickpeas'
description: ' 07-06-2024' description: ' 07-06-2024'
layout: "../../layouts/Layout.astro" layout: "../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: 'Waffles from "Trines Matblogg"' title: 'waffles from "trines matblogg"'
description: ' 07-06-2024' description: ' 07-06-2024'
layout: "../../layouts/Layout.astro" layout: "../../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: "Slashes" title: "slashes"
description: "" description: ""
layout: "../layouts/Layout.astro" layout: "../layouts/Layout.astro"
--- ---

View file

@ -1,16 +1,15 @@
--- ---
title: "TODOs" title: "todo list"
description: "" description: ""
layout: "../layouts/Layout.astro" layout: "../layouts/Layout.astro"
--- ---
> _Last update: June 02, 2025_ > _Last update: June 19, 2025_
List of changes and new features I plan for this website. List of changes and new features I plan for this website.
- Add log-page for wine/gin I like and have tried - Add log-page for wine/gin I like and have tried
- Add page dedicated to work I'm proud of - Add page dedicated to work I'm proud of
- Fix helmet to show individual site-titles instead of the same one
- Add `/concerts`-page (like [Kyrre](https://kyrremann.no/concert-vitae/) & [Wand3r](https://wand3r.net/concerts/)) - Add `/concerts`-page (like [Kyrre](https://kyrremann.no/concert-vitae/) & [Wand3r](https://wand3r.net/concerts/))
- Add changelog to website using `git cliff -o CHANGELOG.md` - Add changelog to website using `git cliff -o CHANGELOG.md`
- Redo [/gallery](/gallery) (CLS error - concrete height for images, compressed thumbnails instead of real one, hover start preload + zoom a bit out, spinner for loading?) or rewrite it to something like [rizaldys ig clone](https://ig.rizaldy.club/) - Redo [/gallery](/gallery) (CLS error - concrete height for images, compressed thumbnails instead of real one, hover start preload + zoom a bit out, spinner for loading?) or rewrite it to something like [rizaldys ig clone](https://ig.rizaldy.club/)

View file

@ -1,5 +1,5 @@
--- ---
title: "Uses" title: "uses"
description: "" description: ""
layout: "../layouts/Layout.astro" layout: "../layouts/Layout.astro"
--- ---

View file

@ -26,7 +26,7 @@ const vinylData = Object.keys(vinylByAlbumTitle).map(albumTitle => {
}); });
--- ---
<SectionContainer> <SectionContainer title="vinyl" description="my vinyl collection">
<main class="flex flex-col gap-4 mt-4"> <main class="flex flex-col gap-4 mt-4">
<h1 class="text-3xl font-extrabold">[ Vinyl collection ]</h1> <h1 class="text-3xl font-extrabold">[ Vinyl collection ]</h1>
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-6"> <div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-6">

View file

@ -1,5 +1,5 @@
--- ---
title: "Wishlist" title: "wishlist"
description: "" description: ""
layout: "../layouts/Layout.astro" layout: "../layouts/Layout.astro"
--- ---

View file

@ -1,5 +1,5 @@
--- ---
title: "Map of places I've been" title: "map of places i've been"
description: "" description: ""
layout: "../layouts/Layout.astro" layout: "../layouts/Layout.astro"
--- ---