Skip to content

Commit c03cdd8

Browse files
committed
fix for new changelog
1 parent 75847bf commit c03cdd8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

assets/css/changelog.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ ul ul {
3939
padding-right: .5rem;
4040
}
4141

42-
.Added {
42+
.Neu {
4343
background-color: #32b643;
4444
color: white;
4545
}
4646

47-
.Changed {
47+
.Anders {
4848
background-color: #ffb700;
4949
}
5050

51-
.Removed {
51+
.Entfernt {
5252
background-color: #9c2703;
5353
color: white;
5454
}

layouts/_default/changelog.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{{ $url := "https://raw.githubusercontent.com/DDP-Projekt/Kompilierer/refs/heads/master/CHANGELOG.md" }}
77
{{ with resources.GetRemote $url }}
88
{{ .Content
9-
| replaceRE `\[(\w+)] ` "<span class='tag $1'>$1</span> "
9+
| replaceRE `- \[([^\]]+)] ` "- <span class='tag $1'>$1</span> "
1010
| markdownify
1111
}}
1212
{{ else }}

0 commit comments

Comments
 (0)