Compare commits

..

4 Commits

Author SHA1 Message Date
68759887c0 Correct deployment...
All checks were successful
Deploy Stable Website / Build and Deploy (push) Successful in 56s
2026-03-23 18:56:17 +01:00
ce958e93fb Caret color
All checks were successful
Deploy Stable Website / Build and Deploy (push) Successful in 53s
2026-03-23 17:46:05 +01:00
17dc8342cb Fix typo
All checks were successful
Deploy Stable Website / Build and Deploy (push) Successful in 40s
2026-03-23 15:55:59 +01:00
a88e284c1e Remove artifacts and set language of markdown sites
All checks were successful
Deploy Stable Website / Build and Deploy (push) Successful in 46s
Deploy Dev Website / Build and Deploy (push) Successful in 42s
2026-03-22 22:19:42 +01:00
5 changed files with 7 additions and 27 deletions

2
.gitattributes vendored Normal file
View File

@@ -0,0 +1,2 @@
*.md linguist-language=Astro
*.mdx linguist-language=Astro

View File

@@ -41,6 +41,6 @@ jobs:
username: ${{ secrets.SSH_USERNAME }} username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }} key: ${{ secrets.SSH_KEY }}
source: "dist/*" source: "dist/*"
target: /srv/website/dev target: /srv/website/stable
overwrite: true overwrite: true
strip_components: 1 strip_components: 1

View File

@@ -42,7 +42,7 @@
.welcome-typewriter-nostyle { .welcome-typewriter-nostyle {
min-height: 1em; min-height: 1em;
border-right: 2px solid orange; border-right: 2px solid rgb(var(--accent-base));
margin: 0 auto; margin: 0 auto;
display: block; display: block;
overflow-x: hidden; overflow-x: hidden;
@@ -70,7 +70,7 @@
display: inline-block; display: inline-block;
height: 1em; height: 1em;
width: 0px; width: 0px;
border-right: 2px solid orange; border-right: 2px solid rgb(var(--accent-base));
animation: blink-caret 1s step-end infinite; animation: blink-caret 1s step-end infinite;
} }
@@ -79,7 +79,7 @@
} }
@keyframes blink-caret { @keyframes blink-caret {
from, to { border-color: orange } from, to { border-color: rgb(var(--accent-base)) }
50% { border-color: transparent; } 50% { border-color: transparent; }
} }

View File

@@ -21,7 +21,7 @@ Beides Ok.
Achso, außer dass `app` dann deprecated wurde. Achso, außer dass `app` dann deprecated wurde.
Next.js war für mich die erste Berührung mit dem JavaScript Ökosystem und plötzlich verstand ich die ganzen Memes. Next.js war für mich die erste Berührung mit dem JavaScript Ökosystem und plötzlich verstand ich die ganzen Memes.
Dann kam auch plötzlich die Nacht vom dependebot und ich hatte plötzlich 20 PRs, die alle Next.js Updates waren. Dann kam auch plötzlich die Nachricht vom dependebot und ich hatte plötzlich 20 PRs, die alle Next.js Updates waren.
Nur, dass ab irgendeinem Punkt man plötzlich sich mit komplizierteren Updates rumschlagen musste und nicht einfach nur `npm audit fix` machen konnte. Nur, dass ab irgendeinem Punkt man plötzlich sich mit komplizierteren Updates rumschlagen musste und nicht einfach nur `npm audit fix` machen konnte.
Also brauchte es eine Alternative. Also brauchte es eine Alternative.

View File

@@ -1,22 +0,0 @@
import { execSync } from "child_process";
import { statSync } from "fs";
export function remarkModifiedTime() {
return function (tree, file) {
const filepath = file.history[0];
try {
const result = execSync(`git log -1 --pretty="format:%cI" "${filepath}"`);
// If result is empty or undefined, fallback to fs stat
if (!result || !result.toString().trim()) {
throw new Error("No git history");
}
file.data.astro.frontmatter.lastModified = result.toString();
return;
} catch (e) {
// Ignore, fallback to fs stat
const result = statSync(filepath);
file.data.astro.frontmatter.lastModified = result.mtime.toISOString();
return;
}
};
}