This commit is contained in:
parent
772c46f77b
commit
d3d9145610
10 changed files with 73 additions and 8 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -30,3 +30,5 @@ _build
|
||||||
.pnpm-store
|
.pnpm-store
|
||||||
|
|
||||||
/public/generated
|
/public/generated
|
||||||
|
|
||||||
|
.frontmatter
|
||||||
|
|
5
.vscode/extensions.json
vendored
5
.vscode/extensions.json
vendored
|
@ -1,4 +1,7 @@
|
||||||
{
|
{
|
||||||
"recommendations": ["astro-build.astro-vscode"],
|
"recommendations": [
|
||||||
|
"astro-build.astro-vscode",
|
||||||
|
"eliostruyf.vscode-front-matter"
|
||||||
|
],
|
||||||
"unwantedRecommendations": []
|
"unwantedRecommendations": []
|
||||||
}
|
}
|
||||||
|
|
47
frontmatter.json
Normal file
47
frontmatter.json
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://frontmatter.codes/frontmatter.schema.json",
|
||||||
|
"frontMatter.framework.id": "astro",
|
||||||
|
"frontMatter.preview.host": "http://localhost:4321",
|
||||||
|
"frontMatter.content.publicFolder": "public",
|
||||||
|
"frontMatter.content.pageFolders": [
|
||||||
|
{
|
||||||
|
"title": "posts",
|
||||||
|
"path": "[[workspace]]/src/content/posts"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"frontMatter.taxonomy.contentTypes": [
|
||||||
|
{
|
||||||
|
"name": "default",
|
||||||
|
"pageBundle": false,
|
||||||
|
"previewPath": "",
|
||||||
|
"filePrefix": null,
|
||||||
|
"clearEmpty": true,
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"title": "Title",
|
||||||
|
"name": "title",
|
||||||
|
"type": "string",
|
||||||
|
"single": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Description",
|
||||||
|
"name": "description",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Publishing date",
|
||||||
|
"name": "date",
|
||||||
|
"type": "datetime",
|
||||||
|
"default": "{{now}}",
|
||||||
|
"isPublishDate": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Content preview",
|
||||||
|
"name": "heroImage",
|
||||||
|
"type": "image",
|
||||||
|
"isPreviewImage": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -79,7 +79,7 @@ const sortedPosts = sortBy(allPosts, (post) => -post.data.date);
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.postListing {
|
.postListing {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-spacing: 6px 16px;
|
border-spacing: 6px 24px;
|
||||||
|
|
||||||
:global(.timestamp) {
|
:global(.timestamp) {
|
||||||
font-family: var(--monofont);
|
font-family: var(--monofont);
|
||||||
|
@ -88,7 +88,7 @@ const sortedPosts = sortBy(allPosts, (post) => -post.data.date);
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(.tags) {
|
:global(.tags) {
|
||||||
gap: 4px;
|
gap: 8px;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
|
|
||||||
:global(.tag) {
|
:global(.tag) {
|
||||||
|
@ -99,6 +99,9 @@ const sortedPosts = sortBy(allPosts, (post) => -post.data.date);
|
||||||
|
|
||||||
td {
|
td {
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 4px;
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-size: 12pt;
|
font-size: 12pt;
|
||||||
|
|
|
@ -4,7 +4,7 @@ date: 2023-03-29
|
||||||
tags: ["docker", "linux"]
|
tags: ["docker", "linux"]
|
||||||
---
|
---
|
||||||
|
|
||||||
First (published) blog post of the year! :raising_hands:
|
First (published) blog post of the year! :raised_hands:
|
||||||
|
|
||||||
Here is a rather dumb way of entering a Docker Compose container that didn't
|
Here is a rather dumb way of entering a Docker Compose container that didn't
|
||||||
have a shell. In this specific case, I was trying to enter a Woodpecker CI
|
have a shell. In this specific case, I was trying to enter a Woodpecker CI
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
title: "Path induction: a GADT perspective"
|
title: "Path induction: a GADT perspective"
|
||||||
slug: 2023-10-23-path-induction-gadt-perspective
|
slug: 2023-10-23-path-induction-gadt-perspective
|
||||||
date: 2023-10-23
|
date: 2023-10-23
|
||||||
tags: ["type-theory", "programming-languages"]
|
tags: ["type-theory", "pl-theory"]
|
||||||
---
|
---
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: Lambda calculus part 1
|
||||||
|
date: 2024-09-10T10:16:12.486Z
|
||||||
|
type: default
|
||||||
|
draft: true
|
||||||
|
tags: [pl-theory]
|
||||||
|
---
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
import PostList from "../components/PostList.astro";
|
import PostList from "../components/PostList.astro";
|
||||||
import BaseLayout from "../layouts/BaseLayout.astro";
|
import BaseLayout from "../layouts/BaseLayout.astro";
|
||||||
import { join, dirname } from "path";
|
import { join, dirname } from "node:path";
|
||||||
|
|
||||||
const currentUrl = Astro.url;
|
const currentUrl = Astro.url;
|
||||||
---
|
---
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
gap: 6px;
|
||||||
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
|
@ -225,6 +226,8 @@
|
||||||
|
|
||||||
>p {
|
>p {
|
||||||
line-height: 1.25;
|
line-height: 1.25;
|
||||||
|
margin-bottom: 1.25rem;
|
||||||
|
margin-top: 1.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
>p>img {
|
>p>img {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
.tags {
|
.tags {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 6px;
|
gap: 8px;
|
||||||
// margin-bottom: 6px;
|
// margin-bottom: 6px;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|
||||||
|
@ -24,4 +24,4 @@
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue