Skip to content

Commit c279181

Browse files
committed
feat: add automatic redirection to latest documentation in index.md and create redirect.html
1 parent d3a60d4 commit c279181

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ hide:
55
- toc
66
---
77

8+
<script>
9+
if (window.location.pathname === '/' || window.location.pathname === '/index.html') {
10+
window.location.href = 'https://romm.app/latest';
11+
}
12+
</script>
13+
814
<img src="./resources/romm/logotype.png" alt="RomM Logo">
915
/// caption
1016
Welcome to the **RomM Project**, the premier self-hosted, open source ROM manager.
File renamed without changes.

0 commit comments

Comments
 (0)