more cleanup and new og image

This commit is contained in:
Samuel Philipp 2024-04-01 14:13:57 +02:00
parent 7331e63d4e
commit 3c4944bacb
7 changed files with 3 additions and 4 deletions

View file

@ -69,7 +69,6 @@ module.exports = function (eleventyConfig) {
.reduce((series, post) => {
series[post.data.series] = series[post.data.series] ?? [];
series[post.data.series].push(post);
console.log(series);
return series;
}, {});
});

View file

@ -23,12 +23,12 @@
<meta property="og:title" content="{{ site.title }} - {{ title }}">
<meta property="og:description" content="{{ summary }}">
<meta property="og:site_name" content="{{ site.title }} - {{ title }}">
<meta property="og:image" content="https://sp-codes.de/img/sp-codes.jpg">
<meta property="og:image" content="https://sp-codes.de/img/og.png">
<meta property="og:updated_time" content="{{ site.buildTime }}">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="{{ site.title }} - {{ title }}">
<meta name="twitter:description" content="{{ summary }}">
<meta name="twitter:image" content="https://sp-codes.de/img/sp-codes.jpg">
<meta name="twitter:image" content="https://sp-codes.de/img/og.png">
<link rel="shortcut icon" href="favicon.ico">
<link rel="icon" type="image/png" href="favicon.png">
<link rel="stylesheet" href="{{ '/css/main.css' | rev }}">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

BIN
src/img/og.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 179 KiB

View file

@ -26,7 +26,7 @@ html, body {
body {
background-color: #222;
background-image: url("../img/bg2.jpg");
background-image: url("../img/bg.jpg");
color: #fff;
min-height: 100vh;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);