mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Fix latest-release-notes redirect (#11936)
This commit is contained in:
parent
792a18b9a8
commit
e2802fdb72
@ -1,7 +1,8 @@
|
||||
---
|
||||
---
|
||||
|
||||
{% assign recent_release_post = site.categories['Release-Notes'].first %}
|
||||
{% assign posts = site.categories['Release-Notes'] | where_exp: "post", "post.title contains site.current_minor_version" %}
|
||||
{% assign recent_release_post = posts.first %}
|
||||
|
||||
<script>
|
||||
document.location = '{{ recent_release_post.url }}{{ site.patch_version_notes }}';
|
||||
|
Loading…
x
Reference in New Issue
Block a user