Skip to content

Commit

Permalink
fix: fully render .1 release Changelog entries in LTS Changelog arc…
Browse files Browse the repository at this point in the history
…hive page (#7891)

* fixed arhieve page bug

* modification

* fixed changes since issue
  • Loading branch information
biru-codeastromer authored Feb 17, 2025
1 parent ee75238 commit 0fd4f1a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions content/changelog-stable-old/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,24 @@ actions:
---

.ratings
- # Load older changelogs (all except the most recent 25, ordered correctly)
- # Load older changelogs (all except the most recent 25, ordered correctly with full entries list)
- archived_changelogs = site.changelogs[:lts].reverse.drop(25)
- archived_changelogs.each do |release|
%div
= partial('../_partials/release-header.html.haml', :release => release, :url => 'changelog-stable-old')
- if release.changes
- if release.version.end_with?('.1') && release.lts_baseline
.app-releases__notable-changes{:style => "margin-top: 15px"}
= "Changes since #{release.lts_baseline}"
%div.app-releases__list__items
= partial('../_partials/changelog-changes.html.haml', :changes => release.changes)
- else
- if release.lts_changes
.app-releases__notable-changes
- if release.lts_predecessor
= "Notable changes since #{release.lts_predecessor}"
%div.app-releases__list__items
= partial('../_partials/changelog-changes.html.haml', :changes => release.lts_changes)
- unless release.changes || release.lts_changes
%p No notable changes for this release.

.app-banner
Expand Down

0 comments on commit 0fd4f1a

Please sign in to comment.