Skip to content

Commit 67fcd59

Browse files
authored
Changelog link opener (windmill-labs#515)
1 parent 58f6061 commit 67fcd59

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

changelog/2024-01-23-ag-charts/index.md renamed to changelog/2024-01-11-ag-charts/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
slug: ag-charts
3-
version: v1.251
3+
version: v1.239.0
44
title: Ag Charts
55
tags: ['App Editor', 'Postgres']
66
image: ./ag-charts.png

src/theme/BlogPostItem/Container/index.js

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,19 @@ export default function BlogPostItemContainer({ children, className }) {
6565
)}
6666
</span>
6767
))}
68-
<span
69-
className={twMerge(
68+
<a
69+
href={`https://github.com/windmill-labs/windmill/releases/tag/${frontMatter.version}`}
70+
target="_blank"
71+
>
72+
<span
73+
className={twMerge(
7074
'inline-flex items-center px-3 py-0.5 rounded-full text-sm font-medium',
71-
'bg-gray-100 text-gray-800'
72-
)}
73-
>
74-
{frontMatter.version}
75-
</span>
75+
'bg-gray-100 hover:bg-gray-200 text-gray-800'
76+
)}
77+
>
78+
{frontMatter.version}
79+
</span>
80+
</a>
7681
</div>
7782
<div className="mb-6">
7883
<div className="flex items-center">

0 commit comments

Comments
 (0)