<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>日付に応じたリダイレクト</title>
</head>
<body>
<script>
// 現在の日付を取得
const currentDate = new Date();
// 日にちを取得(1-31)
const dayOfMonth = currentDate.getDate();
// 偶数日か奇数日かを判断し、適切なページにリダイレクト
if (dayOfMonth % 2 === 0) {
// 偶数日の場合
window.location.href = 'index1.html';
} else {
// 奇数日の場合
window.location.href = 'index2.html';
}
</script>
</body>
</html>