Skip to content

Commit b2859cf

Browse files
committed
Fixed image paths
1 parent 8a35a1d commit b2859cf

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

.eleventy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ module.exports = function (eleventyConfig) {
4747
outputDir: "public/img/",
4848
filenameFormat: (id, src, width, format) => {
4949
const imgName = path.parse(src).name;
50-
`${imgName}-${width}.${format}`
50+
return `${imgName}-${width}.${format}`
5151
}
5252
});
5353

src/_includes/base.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
<meta name="description" content="Marcin Anforowicz's website">
99
<meta name="keywords" content="blog, computer science, math, programming, competitive programming, Rust">
1010
<meta name="author" content="Marcin Anforowicz">
11-
<meta property="og:title" content="{{ title }}">
12-
<meta property="og:description" content="Marcin Anforowicz's website">
13-
<meta property="og:type" content="article">
14-
<meta property="og:image" content="/assets/window.jpg">
1511
<link rel="stylesheet" href="/assets/style.css">
1612
<link rel="stylesheet" href="/assets/prism.css">
1713
<link rel="stylesheet" media="print" href="/assets/print.css">
1814
<link rel="icon" href="/assets/icon.ico">
1915
<link rel="icon" href="/assets/icon.svg">
16+
<meta property="og:title" content="{{ title }}">
17+
<meta property="og:description" content="Marcin Anforowicz's website">
18+
<meta property="og:type" content="article">
19+
<meta property="og:image" content="/assets/marcin_mountain_2025.jpg">
2020
</head>
2121

2222
<body>

src/posts/calendar_habits/calendar_habits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: A way to build habits
3-
date: 2026-12-31
3+
date: 2026-01-01
44
---
55

66
As 2025 was starting, I decided to exercise more.

src/posts/stock_price_mechanism/stock_price_mechanism.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ To do this, you can tell the company to brag about rising profits.
100100
You can also convince investors that dividend and buyback levels are sustainable in the long term.
101101

102102

103-
# Summary
103+
## Summary
104104

105105
The majority shareholders can force the board to spend profits on dividends and buybacks, which are mechanisms of giving money to shareholders.
106106
The higher the profits, the more can be spent on future dividends or buybacks.

0 commit comments

Comments
 (0)